Saturday, December 24, 2005

Which is best ASP.Net or PHP

Nowadays, there are lot of options to develop Web application, but selecting the right language is important.
Comparing
ASP with MSSQL 2000
PHP 5 with MYSQL
ASP.Net with MSSQL 2000

For small applications
PHP is much faster than ASP.NET, beacuse PHP interprets all of its code inside the PHP program itself, and since it is not accessing any other outside sources like COM objects, etc. It can produce a page in about 1/8 the time as a ASP.NET page can.

For Large applications
ASP.Net with SQL server is much faster than PHP with MYSQL and PHP and Oracle. More over the source code written for ASP.Net can be ported to windows application with minimal changes, but it is not possible with PHP.

Writing code to connect retrive data from a table is much complex in ASP or ASP.Net when compared to PHP but, People developing ASP.Net through Visual Studio, it is as easy as button click.Though PHP has Cross-platform ability even from the beginning. .Net will soon get Cross-platform ability (Mono for Apache).

Applications develped in ASP.Net is much secure than PHP.

So ASP.Net is suitable for Enterpise appliactions and not to small appliactions.

For more imformation: http://www.oracle.com/technology/pub/articles/hull_asp.html

No comments: