RDN Express Blog

Blog archive

The LAMP Attack

The debate about using an object-oriented framework for Web development versus the Linux-Apache-MySQL-PHP stack anchored by a scripting language rages on. Last week, Microsoft Senior Program Manager Joe Stagner, who writes PHP and ASP.NET code and claims to love them both, blogged about his unofficial (non-Microsoft sanctioned) findings:

“ASP.NET is universally faster than PHP (on Windows and on Linux) with the exceptions of File Copy and Attribute operations.

MySQL Access from PHP on Linux is a TINY bit faster than SQL Server access on Windows (assuming common data types and SELECT statements) but probably not enough to matter.

ASP.NET (C#) operations, object use, library calls, etc. are SIGNIFICANTLY faster that the PHP equivalents.”

What?!!!! Our news editor, Jeffrey Schwartz, investigated these claims further, getting Zend’s Andi Gutmans and Stagner himself to weigh in. You can read his article, “PHP Versus ASP.NET Benchmarks Drive Debate,” here.

After the backlash, Stagner clarified his findings today, back-peddling a bit in his blog, “PHP Linux Windows ASP.NET Performance – Redux !”

There have also been some interesting developments on the model-view-controller front. ASP.NET MVC 1.0, released in April, did not make it into Visual Studio 2010 Beta 1. After all the fanfare about the potential successor to WebForms, this raised some concern, but the Microsoft team released an out of band installer on CodePlex in early June.

Late last month, the team introduced ASP.NET MVC 2 Preview 1. Preview 1 added some features that are similar to concepts in ASP.NET Dynamic Data, namely support for data annotations and templated helpers, which is largely the same as field templates in ASP.NET Dynamic Data, according to Microsoft. The team also introduced an “areas” concept that enables developers to divide large Web applications into isolated projects.

ASP.NET MVC 2 Preview 2 will be in Visual Studio 2010 Beta 2, according to project lead Phil Haack. On the to-do-list are client validation, strongly typed input and link helpers and asynchronous controller actions. Microsoft is not committing to a timeframe for these features, but ASP.NET MVC 2 will RTM along with the Visual Studio 2010 RTM, according to Haack.

In case you missed it, Rob Conery, hired by Microsoft to work on the ASP.NET team and creator of data access tooling SubSonic 3 for ASP.NET MVC (T4 templates), is leaving Microsoft. Conery blogged earlier this week:

“I’ve made the tough decision to leave Microsoft and go back to working for myself. My last day is August 28th.”

With the push for Entity Framework and effort to get ASP.NET Dynamic Data and ASP.NET MVC enterprise ready, did Microsoft’s interest in SubSonic subside along with LINQ to SQL? What’s your take on the ASP.NET versus PHP debate? Express your thoughts below or drop me a line at [email protected]

Posted by Kathleen Richards on 08/13/2009 at 1:15 PM

comments powered by Disqus


  • VS Code Python Tool Does Multiple Interactive Windows

    Code cells from Python scripts by default will still be executed in a same interactive window, but developers can now configure the Python extension to run separate files in separate interactive windows.

  • VS Code Java Team Improves 'Getting Started' Experience

    Microsoft's dev team responsible for the Java on Visual Studio Code extensions released a new update that eases the "getting started" experience, addressing feedback from new users who want an easier onramp.

  • Data Prep for Machine Learning: Encoding

    Dr. James McCaffrey of Microsoft Research uses a full code program and screenshots to explain how to programmatically encode categorical data for use with a machine learning prediction model such as a neural network classification or regression system.

  • Surface Duo Debut Presents Dual-Screen Dev Challenges

    Microsoft officially launched its new dual-screen Android device, Surface Duo, presenting new challenges -- and opportunities -- for developers to leverage the new form factor.

  • What's New in Blazor Tooling Updates

    Here's a quick look at what four major third-party Blazor tooling vendors have offered lately for Microsoft's red-hot project that allows for web development with C# instead of JavaScript.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events