Categorized | News

Oracle Recommends PHP over ASP.NET

Posted on 01 April 2004 by Demian Turner

I know it’s not in Oracle’s interest to recommend anything to do with Microsoft, but this recent article all-out advocates PHP as the better choice of the two technologies.  The article compares the price, speed & efficiency, security, cross-platform applicability and open source opportunity of both platforms. 

The main criticism against PHP was its weaker object model, which as we all know has been addressed in v.5.  The review of ASP.NET, in fairness, I thought was a bit superficial, it used a VB.NET example instead of C#, and didn’t acknowledge the platform’s obvious strengths such as its class library and ‘framework’ features like form controls, datagrids, xml/web service integration, etc.

Nevertheless an interesting article.

Bookmark and Share

2 Comments For This Post

  1. godbrain Says:

    This is the most biased review I\’ve ever read. This is the exact thing Microsoft gets blamed for. I am a huge fan of PHP use it for many sites and am waiting for 5 to come out. (Which is another thing, it is not out yet and is way behind schedule where as ASP.net has been usable for a while now.) I also write ASP.net sites with C#. I agree PHP will run on more platforms but that is about all I agree on from this article. ASP.Net is so much more powerful it is silly. The user controls, datasets,third party controls, etc are nice to use. And speed? Are there any facts to back up his article? ASP.net is compiled and cached whereas PHP is compiled at each hit. Maybe with Zend\’s cache it is faster but not out of the box. PHP is also known to be very unstable under load on Windows. Zend has a new product to remedy this but I didn\’t see that shortcoming mentioned in the article. Seeing where this guy is a senior consultant with this as his goal: \"He focuses on integrating open source technologies with commercial technologies such as Oracle\" the bias is obvious!

  2. harryf Says:

    Agree that the article is somewhat superficial but think it\’s aimed more at management types. Some of the facts may be demonstrable. Kind of amusing to see some FUD flowing the other direction though.

    On the question of .NET \"overhead\", if they\’re referring to memory use (as opposed to raw speed) this may be a valid point. As PHP (normally) ditches it\’s memory between requests, it makes it very easy to scale across servers and typically won\’t be the cause \"out of resources\" type problems.

    ADO.NET, for example, offers the \"disconnected dataset\", where a database record set it stored in memory until some point where it is synched again with the database. Initially that provides better performance than calling a DB on each request but I imagine this could easily be a problem if you need to balance servers plus you need adequate memory to store the dataset in the first place.

    It\’s almost an Apples and Pear comparison. .NET is architectured more like Java and scalability issues in Java app servers have taken an age to sort out – it\’s probably only recently where you could find an app server that did a decent job of load balancing. I doubt MS have solved that one overnight. Meanwhile PHP is dead easy to load balance.

    As to all the great controls ASP.NET provides, this can be done in PHP as well. In fact we\’re doing it @ WACT (http://wact.sourceforge.net)

Leave a Reply

Categories

Books

Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists

Facebook