 |
|
|
01-23-2008, 05:45 AM
|
|
#1
|
 |
|
Paladin (Level 15)
Join Date: Jan 2008
Posts: 403
|
PHP or .Net ?
the everlasting question
there is a public poll plz vote, & elaborate WHY?!
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-23-2008, 05:26 PM
|
|
#2
|
 |
|
Catapulted
Join Date: Dec 2005
Location: Within the division of zero
Posts: 5,859
|
Assuming you mean ASP.NET?
I choose PHP because it is A) free, B) strong community, C) awesome documentation, D) runs on *nix, E) embedded, F) easy... and more reasons.
I have never programmed anything myself in ASP.NET. However, I have seen ASP.NET code and I disfavour it. I prefer languages that use punctuation over words.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-29-2008, 08:42 PM
|
|
#4
|
 |
|
Catapulted
Join Date: Dec 2005
Location: Within the division of zero
Posts: 5,859
|
I read those articles ngaisteve1. From what I have seen out of ASP.NET, all the hype seems to be over things that already exist. In the particular article they brag about ASP.NET having better templating. All I see is some simple, and over-glorified, DOM manipulation that has been wrapped in a nice little object. It isn't anything new, just stated differently.
Web Matrix is, in my opinion, more glorified solutions that have already existed. It takes me a few commands in a terminal to download and install a complete web development environment, so by using Web Matrix I haven't gained any simplicity.
When they said "5. It's Cheaper to Develop for" it amused me. The costs for PHP involved closed source, proprietary, and completely unnecessary software. Ultraedit? Bullet Proof FTP? Please... In the same paragraph they also say ASP.NET applications are much more expensive to host. How many months do you think it would take to pay off the software they needlessly bought for their PHP environment?
"6. It's Cross-Platform" Uh, no, it isn't. The article even immediately contradicts this bullet in the following sentence. There may be potential for it to become cross platform, but that is arguing a reason that doesn't even exist yet. You cannot argue that .NET is equal or better than PHP because it has the potential to be cross platform... PHP already is. The best .NET can do is catch up.
This is just my take on the ASP.NET article. I did also read the PHP one.
Last edited by erisco : 01-29-2008 at 08:45 PM.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-30-2008, 04:44 AM
|
|
#5
|
 |
|
Member
Join Date: Nov 2002
Location: Kuala Lumpur, Malaysia (Boleh!)
Posts: 1,972
|
Actually both are two different thing.
PHP is a server-side HTML embedded scripting language while .NET is a framework.
__________________
My Personal Home Page - www.findingsteve.net
... with God all things are possible (Matthew 19: 26)
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-30-2008, 10:43 AM
|
|
#6
|
 |
|
Catapulted
Join Date: Dec 2005
Location: Within the division of zero
Posts: 5,859
|
I am well aware that .NET is a framework. ASP.NET is a language that runs under the framework, and that is what I was talking about. So I do not understand your point.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-30-2008, 07:27 PM
|
|
#7
|
 |
|
Member
Join Date: Nov 2002
Location: Kuala Lumpur, Malaysia (Boleh!)
Posts: 1,972
|
Actually, I'm refering to the original post as you can see from the title.
But, just to clarify the term, I think ASP.NET is also the framework while the languages of .NET can be like VB.NET, C# and etc.
__________________
My Personal Home Page - www.findingsteve.net
... with God all things are possible (Matthew 19: 26)
|
|
Add to del.icio.us
Can you digg it?
|
|
|
01-31-2008, 09:28 AM
|
|
#8
|
 |
|
Catapulted
Join Date: Dec 2005
Location: Within the division of zero
Posts: 5,859
|
In my first post I clarified that I believed he meant ASP.NET. You are right, there is nothing to compare between PHP and .NET. However, ASP.NET is not a framework, it is a language that can take advantage of the .NET framework. For all the reasons I have stated I still do not like it.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-11-2008, 07:42 AM
|
|
#9
|
 |
|
Can't say much here
Join Date: May 2004
Posts: 2,851
|
Erisco; You are completely incorrect about it being cross-platform already. It runs on Mac OSX, Free BSD and windows using the MS framework. The mono framework makes it work on Linux.
It doesn't do everyting in DOM based structure either. it does it in a OOP manner, that has nothing to do with DOM. Although it can construct DOM documents, that is not it's intention.
.net is compiled code, there for a simular application will run faster than any scripting lanaguage.
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-26-2008, 11:58 AM
|
|
#10
|
 |
|
Fighter (Level 4)
Join Date: Feb 2008
Posts: 38
|
PHP is a well-structured language. I vote for it as I don't understand the correlation with .NET
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-26-2008, 12:49 PM
|
|
#11
|
 |
|
SELECT MINE FROM TITLES
Join Date: Nov 2002
Location: Frankenmuth, MI
Posts: 4,930
|
Are you looking to learn something as a means of a long-term career? Then go .NET.
If you want something cheap, easy that you can play around with then go with PHP.
On a technical level, PHP can not run with .NET Back in the day of ASP vs. PHP, it was really personal preference as either did pretty much everything that the other could do and it just came down to which one you liked best or which one's strengths played more toward what you do.
I remember when .NET first came out, all the PHP guys were in a tizzy of "wait for PHP 5, then we'll compare".....then PHP 5 came and they all just sorta faded out of the argument. You can create a page in .NET to connect to a database (of your choice), get records from a table, display them to the screen, make them editable to the user, allow for paging and many other options in about a dozen clicks of the mouse. PHP cannot compare to that.
PHP is a good, solid web programming language but there's a reason that almost every company with a very serious Intranet applications division uses .NET
__________________
Signature Image Rotator will return when I have time to fix it
Running Scoreboard
Anthony : 3 points
|
|
Add to del.icio.us
Can you digg it?
|
|
|
04-19-2008, 06:43 AM
|
|
#12
|
 |
|
Duke of MacGyvering
Join Date: Mar 2003
Location: Denver, Colorado, USA
Posts: 870
|
now dont try to kill me over this one because im not saying that i want this to happen buuuuuut this thread got me thinking:
"i think that if microsoft would buy out php then we would almost immediately see php.NET "
again; please dont kill me over this one, it just poped in there...
i prefer php myself and find that i enjoy using it for all of my server-side coding so i am voting for php for the win...
on the .NET system... i've only used the .NET framework that was available during the inital release of vb.net back in 2001 or 2002 or something...
i went through the ADO.NET and explored a little of ASP.NET... i found that ASP.NET did not offer as much of an ease of integration as i first assumed...
ASP.NET provided several advantages by allowing full access to the .NET framework with includes many things that i could use for making awesome applications but i found that there was a lot of nessicary code to make it all work that i, myself, do not feel is needed...
plus you have to learm a bit about xml which at the time i wasnt ready to do what with working a full time job all the time and all...
i suppose in the end you have to decide which is going to work out better for you in the long run just as putts was mentioning
i'm sure that in the future i will probably be using BOTH accross multiple servers to achieve some awesome things i have in mind.... but for me, both now and in the foreseeable future, php is definately the way to go...
__________________
"Code can fail to provide you with an easy way to achieve your goal. When this happens; try changing the process/approach. If you change the process/approach that you devised; often you may find another way of achieving that underlined goal..."
"Technology is Life, Life is Code..."
-ucm >-)
Last edited by ucm : 05-25-2008 at 07:08 AM.
Reason: spell checking
|
|
Add to del.icio.us
Can you digg it?
|
|
|
05-25-2008, 05:02 AM
|
|
#13
|
 |
|
Soldier (Level 11)
Join Date: May 2008
Posts: 114
|
I prefer PHP because
- It's easier to learn
- It's open source
- Runs on windows xp home
- Great documentation
- Nice variety of books
ASP only works on Windows XP pro which I don't have and ASP.NET requires .NET framework which doesn't work on my computer very well.
PHP only needs a server, ASP needs a working .net framework and a server.
__________________
"Peace cannot be achieved through violence, it can only be attained through understanding." - Ralph Waldo Emerson.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
05-30-2008, 02:27 PM
|
|
#14
|
 |
|
master of bloody obvious
Join Date: Sep 2004
Location: Finland
Posts: 3,550
|
Voted .NET simply to even the score, there is no comparison between those two so why bother.
There are professional jobs in both categories, just n+1 more in .NET .
To get PHP as a day job you really need to know beond the basics including html,css,js,ajax and different databases.
And the Projects still might not be as good as in .NET enviromens.
To get started with .NET as a profession you need to know allot less as .NET knowhow is really needed atm.
Basic knowledge of .NET VB or #C will get you a job IMHO.
Still ALLOT of goverment servers atleast here in Finland are build on Nix and PHP among JAVA is the nro1 choice.
JAVA vs .NET would be more interesting imho.
Quote:
|
PHP is a well-structured language.
|
If you mean the C type syntax your correct, if you mean something else, your mistaken.
Quote:
|
What is significantly different is "Language.NET" will force you into an object oriented approach from the start, while PHP won't.
|
This is the most important point in those two ngaisteve1:s articles and this alone makes maintainability allot easier.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
06-10-2008, 11:19 AM
|
|
#15
|
 |
|
Hero (Level 10)
Join Date: Jun 2007
Posts: 92
|
Let's face it, MS developed .NET for the large IT organizations who cannot bring in any software not stamped MS. Too many corp policies and hoops to jump thru to get PHP into their shops. For them it's much easier to buy more MS software and do web development that way than to use PHP or J2EE.
|
|
Add to del.icio.us
Can you digg it?
|
|
 |
|
|
KEEP TABS |
|
SPONSORS |
| |


|
| |
|
|
| |
|