1 Answer - Sort by: Date | Rating
There are many advantages of using PHP over ASP.
Cost
------
To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. Even the connectivity of the database is expensive in the case of ASP as MS-SQL is a product of Microsoft that needs to be purchased. PHP generally uses MySQL, which is freely available.
Speed
--------
If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.
Platform Compatibility
---------------------------
PHP programs can run on various platforms like Linux, Unix, Windows and Solaris whereas ASP is mainly associated with Windows platforms. However, ASP can run on a Linux platform with ASP-Apache installed on the server.
Additional Costs
---------------------
Many of the tools used in PHP are free of cost and since PHP is open source a lot of code can be found in open source forums. PHP has inbuilt features like ftp, email from a web page or even encryption mechanisms but in ASP such features are not built in and some additional components are required. Therefore an additional cost is incurred for such components.
Base Language
--------------------
PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products. So, it depends on a person-to-person which language he or she is comfortable
Database Connectivity
-----------------------------
PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.
Cost
------
To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. Even the connectivity of the database is expensive in the case of ASP as MS-SQL is a product of Microsoft that needs to be purchased. PHP generally uses MySQL, which is freely available.
Speed
--------
If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.
Platform Compatibility
---------------------------
PHP programs can run on various platforms like Linux, Unix, Windows and Solaris whereas ASP is mainly associated with Windows platforms. However, ASP can run on a Linux platform with ASP-Apache installed on the server.
Additional Costs
---------------------
Many of the tools used in PHP are free of cost and since PHP is open source a lot of code can be found in open source forums. PHP has inbuilt features like ftp, email from a web page or even encryption mechanisms but in ASP such features are not built in and some additional components are required. Therefore an additional cost is incurred for such components.
Base Language
--------------------
PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products. So, it depends on a person-to-person which language he or she is comfortable
Database Connectivity
-----------------------------
PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.
0
0
- How Can I Get Value Of Temp From Using Php DOMDocument()?
- What Feature Of PHP 5.3 Does Appulous Make The Most Use Of?
- Why Is Php Better Than DOT NET?
- What Is The Difference Between Php And Common Gateway Interface?
- Critics Argued That The Publication Did Not Take Into Account The Full Breadth Of Catholic Social Teaching, Including Economic, Social Justice, Or Other Life Issues. ,?
- What Is The Important Difference Between Php And Asp?
- Why We Use Php?
- How We Can Replace The .NET Site With PHP?
- Is Php Replace The Dot Net Technology?
- Is There An Alternative Solution To The Ruby On Rails Unvlogit Plugin?
- Olve This Errormailing Request Came From An Unauthorized Domain?
- What Is Differance B/w Asp And Php?
- C# To PHP Converter,Can You Help Me?
- PHP Website SRS. Can You Help?
- We Want A Software Requirement Specification For Php Website Would You Going To Help Us?
- Which Is Better PHP Or ASP.NET?
- What Is The Difference Between Asp.net And Php?
- Which Is Better Technology PHP Or ASP.net?
- Php And Asp.net Correct Different?
- Why It Is Easy To Make Website From Asp.net Rather Than Php?
- In Terms Of Searching For A Job, What Is Difference Between Asp.net And Php?
- What Are The Similarities Between Asp And Php?
- What Are The Differences Between Asp Version 3 And Asp.net?
- What Is The Difference Between Asp And Asp.net (i Am Confused)?
- Can We Run The Asp.net Project Without .Net Software In A System, If We Can, How?

New Comment - Comments are editable for 5 min.