December 22nd, 2002, 09:03 PM
php vs asp
What scripting language do you recommend learning first, or wich one do you like better, php or asp?
I am trying to decide which should I start learning first.
December 22nd, 2002, 09:10 PM
You can look at this link (http://php.weblogs.com/php_vs_asp) and the rest of the links inside like (http://php.weblogs.com/php_asp_7_reasons).
December 22nd, 2002, 09:28 PM
I think as a first language PHP would be your better bet. You're going to find a lot more support, especially if you decide to utilize anything that's open source. I find that the PHP community is a lot larger and there are forums everywhere to help you with any problems you may incounter. The open source community is growing and if you're looking at the cost of scripts or whatnot for PHP, you're going to find that most of what you'll need or want will be free compared to ASP.
Check out the links above...hopefully some ASP people will post a reply to the thread.
December 22nd, 2002, 09:50 PM
Well, Im not a web developer, but some of my ASP developer co-workers, think that most of the advanced code samples for php available on the web are canditates to win an obfuscated code contest. They think that php developers actively try to create the most confusing code possible,
December 22nd, 2002, 10:57 PM
I've programmed both in PHP and in ASP w/ VBScript (as ASP is really either done with Perl or VbScript, mostly vbscript). And I can safely say ASP is very obfuscated as there aren't functions to do everything like there are in PHP. For example, in PHP you can use the MySQL functions and such to connect to your MySQL database without having to create any database DSN on your system, to sent queries and to go through results quickly, whereas in ASP you have to create a DB object, use DSNs, and then create objects for the record sets that hold the SQL results. It is kind of rediculous, and annoying. I like how everything you want to do has a quick function call and you are done.
Just my opinion.
\"It\'s only arrogrance if you can\'t back it up, otherwise it is confidence.\" - Me
December 23rd, 2002, 12:22 AM
Well, that is probably their problem then, all the more advanced code samples have lots of "shortcuts" for lack of a better word, and they just haven't learned about them all yet.
December 23rd, 2002, 12:57 AM
PHP is a little more advanced if you ask me, but like GG said, their are alot of PHP communities that can help you if any coding errors occur while working on scripts. I'm partial to PHP, but ASP isn't that bad. If I were to design a site however, I'd either use PHP or HTML/CSS. JMHO
December 23rd, 2002, 03:38 AM
Neither is really more advanced than the other. Both have their good and bad points as well.
It is easy enough to pick up asp, just remember that asp is not a language, it is the platform. With asp you can use any com enabled scripting language you have installed on the machine (vbscript and jscript by default). If you want perl just go get the win32 perl goodies from www.activestate.com. Asp is nice since you can use ado to talk to your databases (only 3 objects to learn....woo woo) and you can use the com objects installed on your machine and build more with vb, java, c++. If you use asp I'd highly reccomend you pick one of those and learn COM.
PHP is well....php. It's nice too.
"When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
"There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
"Mischief my ass, you are an unethical moron." - chsh
Blog of X
December 23rd, 2002, 07:03 AM
\"I have a 386 Pentium.\"
December 23rd, 2002, 07:16 PM
Thanks everyone for your opinions and feedback. They have certainly cleared many of my doubts. Your links were helpful also.