• 29th June 2010 - By Don De

    When building web sites, ASP and PHP are very popular languages. Here’s my opinion on whether ASP or PHP is best

    ASP v. PHP

    Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers. PHP (Personal Home Pages) is from Rasmus Lerdorf, who originally designed this parsing language which was later modified by different people. It runs on Unix and Linux servers and it also has an NT server version.

    There are a lot of differences between ASP and PHP.

    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.

    Conclusion

    Both languages have their advantages specific to users. Some would argue that both the languages have their own importance and depending on the user’s requirements the language and the platform can be chosen. If we talk about developing a discussion board then ASP is equally capable but many feel the best discussion boards are developed in PHP. If a user is looking for some e-commerce application development then many would call ASP the ideal choice. This does not mean that PHP cannot provide e-commerce solutions, only that many people choose ASP.

    From my perspective, PHP is an all around better choice than ASP.

  • 13 Responses to “ASP vs. PHP”

    • Obdulia VanNo Gravatar on July 7, 2010

      Its so refreashing to find a website with substantive comment and value added to my reading. I appreciate the indepth articles and other input more than you know! I spend a great deal of time browsing .edu, .org, and .com sites for information relevant to my customers needs. I am a freelance information broker. I am usually contracted to verify opinion, popular trends, or augment and facilitate colaborative information sharing among businesses and institutions of higher learning. Your site is a pearl! Thanks ever so much!

    • My Realty DealNo Gravatar on July 8, 2010

      Hi webmaster, commenters and everybody else !!! The blog was absolutely fantastic! Lots of great information and inspiration, both of which we all need!

    • Kaley McdermondNo Gravatar on July 8, 2010

      I am a frequent reader of your blog posts. I liked the recent one and other posts on your blog so much that I have subscribed to the blog’s RSS feed in Thunderbird. Even thinking of stealing some ideas and put them to work. Keep all the good work going by posting more informative posts. Thank you. Time well spent on this post.

    • Jonnie GeltzNo Gravatar on July 10, 2010

      thanks !! very helpful post!

    • Lorena ToureNo Gravatar on July 11, 2010

      I appreciate you sharing this blog.Really thank you! Awesome.

    • seller financingNo Gravatar on July 14, 2010

      Dear admin, thnx for sharing this blog post. I found it wonderful. Best regards, Victoria…

    • Farm Ville faqNo Gravatar on July 15, 2010

      This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

    • map of evonyNo Gravatar on July 16, 2010

      Usually I do not post on blogs, but I would like to say that this article really forced me to do so! Thanks, really nice article.

    • aion blogNo Gravatar on July 16, 2010

      Dear admin, thnx for sharing this blog post. I found it wonderful. Best regards, Victoria…

    • drive from chicago to florida how to find gas stationsNo Gravatar on July 16, 2010

      I truly loved this brilliant article. Please continue this awesome work. Regards, Duyq.

    • The EconomyNo Gravatar on July 16, 2010

      Hey admin, very informative blog post! Pleasee continue this awesome work..

    • female stomach fatNo Gravatar on July 18, 2010

      Please tell me it worked right? I dont want to sumit it again if i do not have to! Either the blog glitced out or i am an idiot, the second option doesnt surprise me lol. thanks for a great blog!

    • nij body armorNo Gravatar on July 28, 2010

      That was exactly what I was looking for. You have done a wonderful job communicating your message. Keep up the good work.

    Leave a Reply


SEO Powered by Platinum SEO from Techblissonline PHVsPjxsaT48c3Ryb25nPndvb3RoZW1lc19zZXR0aW5nczwvc3Ryb25nPiAtIGE6MDp7fTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2Zvb3Rlcjwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fYWRfZm9vdGVyX2Fkc2Vuc2U8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXJfaW1hZ2U8L3N0cm9uZz4gLSBodHRwOi8vd3d3Lndvb3RoZW1lcy5jb20vYWRzL3dvb3RoZW1lcy00Njh4NjAtMi5naWY8L2xpPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXJfdXJsPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53b290aGVtZXMuY29tPC9saT48bGk+PHN0cm9uZz53b29fYWx0X3N0eWxlc2hlZXQ8L3N0cm9uZz4gLSBkZWZhdWx0LmNzczwvbGk+PGxpPjxzdHJvbmc+d29vX2F1dG9faW1nPC9zdHJvbmc+IC0gZmFsc2U8L2xpPjxsaT48c3Ryb25nPndvb19jYXRfY29sb3JfMTwvc3Ryb25nPiAtIDZFRUQzQjwvbGk+PGxpPjxzdHJvbmc+d29vX2NhdF9jb2xvcl8xMDwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2NhdF9jb2xvcl8xMTwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2NhdF9jb2xvcl8zPC9zdHJvbmc+IC0gRUQwRTZGPC9saT48bGk+PHN0cm9uZz53b29fY2F0X2NvbG9yXzQ8L3N0cm9uZz4gLSBFRENGMEU8L2xpPjxsaT48c3Ryb25nPndvb19jYXRfY29sb3JfNTwvc3Ryb25nPiAtIEVEM0IzQjwvbGk+PGxpPjxzdHJvbmc+d29vX2NhdF9jb2xvcl82PC9zdHJvbmc+IC0gPC9saT48bGk+PH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