Quote:
1. Speed
Just like all .NET applications, ASP.NET applications are compiled. This makes them much faster than PHP, whose applications are interpreted. To achieve the same effect with PHP, Zend and PHP accelerator must be installed on the server, and this is rarely the case at most Web hosting companies. Also, OO is much faster in ASP.NET than it is in PHP.
|
Wrong. Zend (the php compiler) is installed by default in PHP 4. PHP accelerator and Zend Optimizer are both free and easy to install, and mosts hosts can do this. And given that most web applications are database driven and the performance are 99% related to the database, the speed of the OO is mute, assuming it's true (I've seen no benchmarks).
Quote:
ASP.NET is written using "real" OO (Object Oriented) programming languages of your choice. PHP is just a simple scripting language in comparison to .NET languages like C++, VB.NET or C# -- languages that give you more control, and more reusability.
|
PHP 4 has very strong object orieted tools for reuse. Unless you're working on a major web application with a large team of programmers, the difference between PHP and the others is almost mute.
Quote:
What's nice about this is that you can mix the code. can instantiate an object in C# from a class written in C++ or VB.NET. This increases the programmer hiring pool for companies, and improves your chances of finding a suitable pre-written class for your project on the Web.
|
PHP makes it very easy to attach C/C++ libraies and code to the PHP module. PHP has a huge numbers of 3rd party libraies that it can use for support ranging from Flash genearation to database drivers to zip file compression
Quote:
4. It's Part of .NET
ASP.NET is a part of .NET, and that benefit is too large to simply ignore.
|
Given the security issues Microsoft has with it's software, I'm not sure how this is a benifit.
Quote:
5. It's Cheaper to Develop for
Didn't expect that one, did ya? It even surprised me! Due to the fact that ASP.NET is such a powerful application, and it's offered for free (including the code editor, Web server, and FTP client), I actually ended up paying less ($0) than I did for my PHP Development Environment composed of UltraEdit ($35), Bullet Proof FTP ($30) and mySQLfront ($0). With that said, hosting ASP.NET is still more expensive than PHP.
|
$65 vs. $0, whoop-de-doo... Plus you can get free versions of good editors and ftp programs as well. I use ssh to the server and use vi, myself, like all real programmers
Quote:
6. It's Cross-Platform
.NET is currently pretty much tied to the Windows platform. This is a bad thing, but I'm quite confident that .NET will become very cross-platform in a few years.
|
The chances of Microsoft allowing .NET being cross-platform is about 0. Their whole business model is to get people to use Windows servers for all web applications.