Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: php vs asp

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    161

    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.

    Thanks

  2. #2
    Senior Member
    Join Date
    Nov 2002
    Posts
    606
    johnnymier,

    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).

    Bye.

  3. #3
    GreekGoddess
    Guest
    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.

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    461
    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,

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Posts
    143
    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.

    Regards,
    Wizeman
    \"It\'s only arrogrance if you can\'t back it up, otherwise it is confidence.\" - Me

  6. #6
    Senior Member
    Join Date
    Jul 2001
    Posts
    461
    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.

  7. #7
    Senior Member
    Join Date
    Oct 2002
    Posts
    4,055
    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
    Space For Rent.. =]

  8. #8
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    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

  9. #9
    Senior Member
    Join Date
    Nov 2002
    Posts
    393
    \"I have a 386 Pentium.\"

  10. #10
    Senior Member
    Join Date
    Apr 2002
    Posts
    161
    Thanks everyone for your opinions and feedback. They have certainly cleared many of my doubts. Your links were helpful also.


    thanks


    johnny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •