|
PHP vs ASP
Overview: Comparison between ASP and PHP Active Server Pages (ASP) is Microsoft's scripting technology for displaying dynamic web pages, ASP programmes mostly use VBScript, JScript. PHP on the other hand PHP is the open source alternative to ASP that runs on multiple operating systems, incuding Linux, Windows solaris and other OS.
Speed PHP is relatively much more faster and stable than ASP, ASP is built on a COM-based architecture so when ever a program tries to connect to a database or he calls a COM object there is an overhead on the server, All this COM overhead adds up and slows things down.
Under PHP, everything runs in PHP's memory space. This means that PHP code will run faster because there is no overhead of communicating with different COM objects in different processes. Again ASP is slower and more memory intensive applications than PHP's model because each ASP language compiler runs in its own process.
Price PHP installtions are definetly cheaper to install, PHP runs great on Linux which is free, on the other hand ASP runs on the IIS Server (Internet Information Server) which need's Windows N.T/2000/2003 Servers.
Apart from that ASP mostly uses MS-SQL Server as the back end which again is expensive, Where as PHP programmes mostly use MySQL which is again FREE!
 | Editor: I have built sites both with ASP and PHP One of our sites (Funtoosh.com was built on ASP and had been converted to PHP) I had to pay 3 times more for hosting my ASP site than what I pay for my PHP sites and the PHP site is much faster more faster than the ASP! |
|
No Hidden Cost With ASP if you need to upload files, then you would need a third party component like ASPuplod, similarly if you need to send mail you need another component and so on.
In PHP common tasks like ftp, encrypt passwords in MD5, or send email from a web page all are built in no hidden cost, and as PHP is Open source there is a lot of free code available for PHP.
Cross Platform compatablily As stated earlier PHP programms run on Unix, Linux, Solaris and Window's with ASP you are mostly stuck with Windows.
Editor: This article just tries to differentiate between ASP and PHP. ASP is also a very good scripting language and I have personally used it for over 3 year's, I have built several popular site's with ASP, the most popular being funtoosh.com which get over 2 million page views per month. I think ASP is a good and useful technology, but in the long run I feel PHP is better.
Next: Your first PHP Code
Home |
Privacy Policy |
Contact Us
| Terms of Service
| Submit Articles
(c) 2002 - 2010 PHPbuddy.com Unauthorized reproduction/replication of any part of this site is prohibited.
|
|