Results 1 to 7 of 7

Thread: Asp .NET vs PHP

  1. #1
    Join Date
    Apr 2003
    Location
    Tunisia
    Posts
    192

    Angry Unanswered: Asp .NET vs PHP

    http://msdn.microsoft.com/library/en...hpvsaspnet.asp
    Just focus on , you'll see how much the test suck !!!!
    Open up
    Take a look to my Blog http://www.rundom.com/karim2k

  2. #2
    Join Date
    Feb 2002
    Location
    San Francisco, CA
    Posts
    441
    Most of the points seem fair in that article....

  3. #3
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    test? what test?

    actually, i thought the article was really well written


    rudy

  4. #4
    Join Date
    Apr 2003
    Location
    Tunisia
    Posts
    192

    Cool No way

    PHP is the best ,ASP is nothing ,

    PHP 10 - ASP 0 !!
    Open up
    Take a look to my Blog http://www.rundom.com/karim2k

  5. #5
    Join Date
    Feb 2002
    Location
    San Francisco, CA
    Posts
    441
    PHP is not as nice (subjective), or as fast as ASP .NET (objective)...but hey you are allowed your opinion I suppose

  6. #6
    Join Date
    Sep 2003
    Posts
    1

    Talking re: PHP vs. ASP article

    fortunately for PHP, this article does itself in with each negative example it tries to give for PHP.

    -- PHP is open source. this should end the argument right here. There are far more open source utilities available for PHP then there are for .Net and they are generally cheaper Take for example database abstraction tools: you can choose between ADODB, Pear DB, Metabase, just to name a few. Or how about a free shopping cart system? OSCommerce.

    -- PHP not fully OO. Funny that microsoft's most stunning reason for this is the lack of private variables. While this is a drawback for PHP it is easily accomplished though the development implementation itself. Since scripts aren't compiled in PHP and code source is available, this is almost irrelevant, since you can see how the object works anyway. The nice thing about PHP compared to .Net is you aren't forced to work objectively if you don't want to.

    -- PHP is not strongly typed. it is if you want it to be, like using === operator. And the option explicit equivalent is error_reporting(E_ALL) in PHP. I guess the author of this article wasn't aware of that.

    -- PHP objects are copied rather then referenced. This is a problem. But any developer who is aware of the problem knows to pass the object by reference to a function. like function(&$Object) { }. This will be fixed in PHP 5 anyway.

    -- the error handling argument is funny because the author says you *can* handle errors by declaring an error_handler function but then he says it is not as easy as using try ... catch? I'm confused. If you declare one function to handle all your errors it's actually a little easier then declaring a try every time. If you want to catch program logic errors you can use trigger_error() as well.

  7. #7
    Join Date
    Apr 2003
    Location
    Tunisia
    Posts
    192

    Thumbs up cool

    oh, thnaks god some peapole got faith in the truth , thank you man !
    Open up
    Take a look to my Blog http://www.rundom.com/karim2k

Posting Permissions

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