PHP and ASP.NET - Making the right choice

Feb 25, 2009

If the past debate between PHP and ASP.NET was thought of as a biased comparison, due to the fact that the first was a scripting language, and the latter a fully developed web application framework, now the issue is a bit easier to discuss, since PHP has finally added a few OOP capabilities (still not a fully grown platform, but anyway an improved one).

ASP.NET is a web application framework developed by Microsoft into the basic CLR of .NET, which allows programmers to build dynamic web sites, web apps, and web services, by writing ASP.NET code using any supported .NET language. PHP, on the other hand, does basically the same thing, but in a different way. While there are similarities, it's the differences between the two that matter - but when things lack simplicity and clarity, a lot of myths and misconceptions are likely to show up, and this is what happened with both these technologies over the years. Like if it's free, it's just the same as good (or even better) to build a website. Or, if it costs, then it's just a capitalist instrument.

Set naïve opinions aside, the basic questions that a manager should ask concern the licensing issues, the cost-effectiveness of the servers, the availability of skilled workforce, and the security level provided for the company infrastructure.

Read the following sections of this article to find out more about the technical features of both PHP and ASP.NET technologies, and how ASP.NET can improve the efficiency rate and standards of a dynamic website.

Introduction - PHP and ASP.NET - Making the right choice
1. The new OOP additions in PHP 5
2. What ASP.NET provides on top of that
3. PHP features
4. ASP.NET features