tags:

views:

94

answers:

3

From what I've read (I've probably misread, that would be so typical...) PHP and ASP have almost the same features and are pretty equal when it comes to difficulty level.

I would like to learn one of them to start with - then I can always learn both...

My question is:

PHP or ASP? Why (example) PHP instead of ASP? What features does (again, example) PHP have that ASP doesn't have?

Thanks :)

Ps.: I've heard someplace PHP is somewhat more supported? Is that true?

A: 

Definitely PHP. ASP is pre-history and is soooo much deprecated. If you want to learn Microsoft technology then go directly to .NET.

Darin Dimitrov
A: 

There are probably more cheap webhosts that support PHP than ASP.

(If you haven't started much with web programming, I would suggest Python or Ruby instead of both.)

Echo
+3  A: 

If you're talking about classic ASP with vbscript as the scripting engine, learn PHP. For sure. 100% confidence with that answer. Classic ASP is dead. Its been replaced by ASP.Net and your job prospects for classic ASP will be dismal at best. You'll wind up working on legacy code that's not very fun to work with (trust me, I maintain some classic ASP stuff in my current job...).

PHP is much better supported and much more widely used. You can have religious arguments about whether its a good language, but no one can argue about how popular it is. I would suggest for learning PHP that you do NOT start with the "Webmaster 101" type books that just show you how to print variables and hack together code. Find a more advanced book and just dive all the way in. You don't want to learn all the bad ways to do things with PHP because you'll just have to unlearn them in the future.

Tim Coker