| YOU ARE HERE: HOME > WEB DESIGN ESSAYS > ASP VS PHP |
ASP vs. PHP - Which one is right for youby Charles E. Brown Too many acronyms! ASP stands for Active Server Pages and PHP formerly stood for Personal Home Pages and is now known as PHP Hypertext Preprocessor.
The breakdown!
Rasmus Lerdorf originally designed the PHP parsing language during 1994/1995. Some other major contributors were Zeev Suraski and Andi Gutmans who rewrote the parsing engine to create PHP version 3. The major NT and UNIX Web servers support it and it is widely used with the mySQL database. Small and medium Web developers use it religiously.
Do you need either one?
Server Side Scripting is the way today's Web pages are run. Static Web sites (no dynamics) that just have information and no interactivity with server programs are becoming less of the norm. It is no longer a huge financial burden to pull off dynamic content. There are many free servers that allow you to write scripts to the server and you can run a full throttle business class site with just a small financial contribution each month using some of the more sophisticated Web hosting packages offered by today's Web space hosts. The real question is, which dynamic program do you want to use.
The learning Curve! ASP
ASP is not a straightforward program that can be picked up from scratch easily. However this is typical of a Microsoft application. The major reasons that large companies are running it instead of PHP include the following 3 important factors.
There are many small and medium business that choose to run ASP as well. Most of these already were using NT, Excel and Access. Using IIS (Internet Information Server) to access their spreadsheet, database and word-processor applications to incorporate data into Web content is an easy transition. Trying to incorporate existing Microsoft application data into a PHP run Web site would require starting from scratch with a great deal of headaches including purchasing new programs. Therefore some small and medium sized businesses that already are hooked on Microsoft products may opt for ASP as well. However PHP is the developers tool that has gained the most respect amongst Web gurus and aficionados. Most describe it as an easy to use and feature packed program that allows you to create dynamic and database driven Web sites effortlessly. It is a free program that is open source so it can be modified to fit developers needs. Most developers who like Linux and mySQL are also fans of PHP.
The learning Curve! PHP
Independent Web developers as well as a growing number of small and medium sized businesses love PHP. They have jumped onboard the PHP bandwagon and love every trail they blaze. What are the secrets behind the rapid growth of PHP and what are the advantages to using this highly regarded program?
What else separates the two? ASP makes use of a language that was dying before Microsoft managed to breathe new life into it. Visual Basic Script is the language used in ASP and was formerly used (and still is used by some developers) as a client side scripting language that was in direct competitions with JavaScript. This was back when Internet Explorer was still the #2 browser behind Netscape Navigator. During this era, JavaScript was whooping the pants off of Visual Basic Script with its wide acceptance amongst Web developers. However client side scripting languages were an invention of necessity and thrived in an era when Web hosting was an expensive operation and paying for server script access usually meant writing in CGI (Common Gateway Interface) languages like Perl that were difficult to learn. But these obstacles no longer exist. Today it's far too cheap and too easy to use ASP or PHP to create a dynamic site. There's no reason to be limited to only client side scripting. Nevertheless, Microsoft was able to keep yet another product afloat by ingeniously (cough...cough) using it as the language catalyst for getting the IIS to generate dynamic web pages. Are there any other alternatives? JSP (Java Server Page) is an extension to the Java servlet technology pioneered by Sun. Like ASP and PHP it provides a simple programming vehicle for displaying dynamic Web content. JSP is the Sun/Java attempt to compete with Microsoft's ASP. JSP is not widely used however it has a small core of enthusiasts who are claiming it to be as powerful and dynamic as ASP. These patrons usually fail to even acknowledge the PHP genres existence (probably because PHP is far more popular than JSP). ColdFusion: ColdFusion is an application development tool created by Allaire Corporation. It is used for writing Web pages that interact with databases. ColdFusion Markup Language (CFML) makes use of HTML-like tags that are embedded in the Web pages. ColdFusion uses an engine (like PHP), which interfaces with a Windows-based Web server (obviously an attempt to make good use of the huge client base afforded to Microsoft). However this would explain the reason it's not as popular as PHP amongst the anti Microsoft genre.
The verdict!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ About the author... |