PHP versus ASP: Worth the Argument?

PHP: The Overview

PHP stands for Hypertext Preprocessor. Reading the title alone can alert you to the fact that this is a server-side processing language that reveals itself in the form of HTML. The most common use of this is web forms. Data is sent from the client to the web server. Information is processed and returns results.

This versatile language is not restricted to web access in the least. PHP also can be used in command-line processing and also installed as an extension to your own operating system. This will cause the PHP files to open with the PHP executable.

The use of databases is one of PHP's strengths. MySQL, SQL, Microsoft Access, Oracle, and InterBase are just a few of the many possibilities to work with.

ASP: The Overview

ASP is short for Active Server Pages. This too is a server-side scripting language. Microsoft has incorporated this language into their servers for more dynamic built-in objects. These are known as Component Object Models (COM).

Although not restricted only to being run on an IIS (Internet Information Services) server, its only full functionality can come through IIS. This first came with Windows 2000 and the NT4 Option Pack. ASP was not restricted to IIS. PWS (Personal Web Server) also was able to interpret ASP code on Windows NT, 95, and 98. However, it was limited in its functionality.

Cost issues

Many people like to argue the cost of ASP versus PHP. I would agree that this can be a concern for some, but really is not a major concern. Most buy IIS for the Microsoft integration. This being the case, IIS is worth the extra money for those expenses.

PHP is free to the extent of the Apache Web Server. The Apache Software Foundation offers a rather secure—but best of all, free—web server. With this, PHP can be installed for free. The only true costs expended are the server to run it, and the time to install it.

Speed questions

Here is where the most arguing is spent for loyalists of both sides of the server-side scripting world. This has been a large debate since both languages came into existence. This is an area that I do believe is greatly significant.

When an Operating System (OS) delegates memory to applications, the application will usually give back the memory. Operating Systems do not ask for that memory back so long as the application is still in use. PHP has a unique way of using this memory usage to its advantage. PHP grabs a memory block and holds it. When it frees up, it is not returned, but held for whatever processing that might take place in the future. This can be edited in the configuration file.

ASP is a little slower due to its COM-based architecture. Because it is calling object models, the machine must load those. This is similar to a programming language referencing a control. The memory usage, however, is not all that different from a standard application.

Truly, the main distinguishing factor will always be the computer on which the web server is run. If the machines are not similar, the language on the faster machine will indeed be faster than the other no matter what the strengths of memory or processor usage.

Compatibility Thoughts

When referring to the "C" word, many questions are quickly raised. No two computers are the same and for this reason people want to be assured that what they have will operate with what they already have obtained.

I would say that PHP has the ball in this category. Its winning card is Open Source. This means that PHP has a potential of unlimited developers behind it, greater resources, and a larger library of documentation. Due to all of these factors, much more is developed in addition and more is able to be learned by the programmer.

ASP is commonly thought to only run on IIS. As I mentioned earlier, this is not exactly the case. ASP can, in fact, run on Apache. Apache ASP is a port that enables limited ASP functionality on any Apache web server. The only requirement is mod_perl being enabled.

Always remember that PHP can run on any platform. Mac OS X, Windows, Linux, and Solaris all are among its possible Operating Systems.

Security Considerations

Anything can be hacked, no matter how strong the security. The only thing lacking is the time and the resources of how to do it.

Apache's security options make it more secure than Windows Server Operating Systems. IIS is known for many security holes and constant patching. However, I will not be one to say that Apache is security foolproof.

Programming Heritage

ASP has its roots in Microsoft's most commonly known language, Visual Basic. For this reason, it is very simple to learn and incorporate. PHP has more of a C++ language base. I believe that this also contributes to its speed abilities.

ASP's Common Misconception

ASP.NET and ASP are not the same. ASP.NET is a complete rewrite of the ASP programming language and, for this reason, most of it is not backwards compatible. .NET was written to fit more into the newer Microsoft architecture.


Personally, I would say that PHP is faster, easier, more compatible, more secure, and even cheaper to work with. This is not to say that ASP will never be part of my projects. I just prefer to use PHP because of its abilities over ASP; but it's not really worth arguing over. Just use what is most compatible with what you have, and fits what you desire most.

About the Author

Paul Avery


  • Hvis man mister sine følelser, han eller hun synes acceptable Beats by Dr. Dre hovedtelefoner

    Posted by wanzixiao on 06/04/2013 07:39pm

    [url=]beats by dre danmark[/url] If you don’t abuse your headphones, this shouldn’t be a problem. However, it’s worth noting since the headphone line after which these are styled—the Beats by Dr. Dre—doesn’t suffer from this issue. Simply put, the comparisons of the Beats line with the Zoro are only skin deep—they don’t sound similar and they aren’t built for the same type of usage.Despite the minor distortion at top volumes and the delicate nature of the drivers, the Noontec Zoro is a pretty solid audio performer at normal listening levels. The detachable cable adds a bit of value to the purchase, even if doesn’t feature an inline remote. [url=]Nye beats by dr dre[/url] One caveat: The Zoro does not hold up well to repeated high volume usage on deep bass tracks that cause distortion. As with many pairs in the $100-range, this eventually seems to lead to some permanent driver damage. It doesn’t mean the headphones will be unusable, but they might suffer from a bit of rattling or fuzziness on certain frequencies, regardless of the volume—at the end of our testing, a third deep bass, high volume test ended up doing some damage to the right ear’s drivers. [url=]beats høretelefoner[/url] Den særlige er bedre end headset er ideelle til ipods på markedet, Apple iPhones og bærbare forskellige modeller af iPods. Disse mennesker giver den komplette lyd du rigtig skal lytte til. Opholder drevne øretelefoner derudover du erhverver øget volumen. De høre briller er meget godt polstret, der leverer en avanceret forbundet med komfort og lethed i forhold til extented lytning. Den rette hørelse kop har en stilhed option skjult kraftoverførsel din “b” emblem, selvom rygestop headset cup egenskaber selve lyden slette swap.

  • Nike Air Max 1 FB liberating, have a piquant color grain, the brand-new shoes

    Posted by Geozyoceada on 04/25/2013 08:38am

    In the summer in a tumbler guts the serene sprite seems to be a godlike creme de la creme, but if the sprite "feet"? Longing also give you a frisk, bring a invigorating! This summer, Nike and Sprite [url=]air max 90[/url] and his sneakers to a graduate of outstanding example snow spread of unripened, drained and dejected color system in the time-honoured Nike Superciliousness Max 1 shoes let slip a food chill scent.[url=]nike huarache free[/url] Summer is the time to pick a clean shoe, shoes should be a creditable choice. Qualifying series Nike Publicize Max HomeTurf borough recently at the end of the day comes up, this series in the masterpiece Melody Max shoes to London, Paris and Milan the three paid tribute to the iconic metropolis of Europe, combined with the characteristics of the three cities, Air Max 1 HYP,Make public Max 90 HYP,Air Max 1 and shoes such as Make public Max 95, combined [url=]nike air max 90[/url] with the Hyperfuse, as kind-heartedly as a variety of materials, such as suede, Whether you after functional or retro-everything.

  • Клиника Илая - инновационный медицинский центр

    Posted by HeepsyMed on 04/21/2013 07:15pm Новейшие методики лечения ilaya - упрощение и удешевление сложных операций Ультрасовременный эндоскоп PENTAX (Япония) экспертного класса имеет уникальную мочь ранней диагностики новообразований желудочно-кишечного тракта с помощью программы «i-scan» (виртуальная хромоэндоскопии) без введения контрастного вещества (1-й аппарат в СНГ). Трескать возможность одновременного с диагностикой выполнения эндоскопических операций. Диагностика и лечение почечно-каменной болезни биполярным резектоскопом Richard Wolf (Германия) и лазерной установкой Lumenis (США) позволяет фрагментировать утес с любой локализации (почка, мочеточник, мочевой пузырь и мочеиспускательный канал) и восстановить уродинамику за нераздельно визит. В ilaya возможно устройство эндоскопических операций по лечению доброкачественной гиперплазии предстательной железы (аденома), включая ТУРП (Трансуретральная резекция простаты) и лазерную энуклеацию простаты с помощью Lumenis (США). Мы перевели тяжелые хирургические операции в величина «Хирургии одного дня».

  • cheap snapbacks online

    Posted by xxds2py on 04/01/2013 05:59am

    [url=]snapback hats cheap[/url] snapback hats cheap z nrqd [url=]cheap snapbacks online[/url] cheap snapbacks online f hxwo[url=]cheap snapbacks free shipping[/url] cheap snapbacks free shipping j yyku[url=]snapback wholesale[/url] snapback wholesale u kctj[url=]snapback wholesale[/url] snapback wholesale d clrw[url=]snapback hats cheap[/url] snapback hats cheap p duqm [url=]hats wholesale[/url] hats wholesale a iyhf [url=]cheap snapbacks online[/url] cheap snapbacks online n wqga[url=]cheap snapbacks[/url] cheap snapbacks l wocp[url=]snapback wholesale[/url] snapback wholesale k quoj[url=]cheap hats[/url] cheap hats o opbu[url=]snapback hats cheap[/url] snapback hats cheap m iygb [url=]wholesale snapbacks[/url] wholesale snapbacks e bmmu [url=]wholesale fitted hats[/url] wholesale fitted hats h zqhw[url=]cheap snapback hats[/url] cheap snapback hats a bwdy[url=]snapback hats cheap[/url] snapback hats cheap a qmyy[url=]cheap snapback hats[/url] cheap snapback hats y njpa[url=]hats wholesale[/url] hats wholesale j riiv

  • hats wholesale

    Posted by xxds9sk on 04/01/2013 05:58am

    [url=]cheap snapbacks online[/url] cheap snapbacks online j brqb [url=]snapback hats cheap[/url] snapback hats cheap u ycdn[url=]cheap snapbacks hats[/url] cheap snapbacks hats b mvxw[url=]snapback hats wholesale[/url] snapback hats wholesale y kcdf[url=]snapback hats cheap[/url] snapback hats cheap x jcbd[url=]snapbacks for cheap[/url] snapbacks for cheap l tdjd [url=]fitted hats wholesale[/url] fitted hats wholesale p swjg [url=]cheap snapbacks[/url] cheap snapbacks i nkbc[url=]snapback hats cheap[/url] snapback hats cheap c vxxv[url=]cheap snapbacks free shipping[/url] cheap snapbacks free shipping p fdaq[url=]cheap snapbacks free shipping[/url] cheap snapbacks free shipping g xksh[url=]snapback hats wholesale[/url] snapback hats wholesale u reux [url=]wholesale hats[/url] wholesale hats x giea [url=]hats wholesale[/url] hats wholesale i evre[url=]snapback hats cheap[/url] snapback hats cheap a iama[url=]snapbacks for cheap[/url] snapbacks for cheap l svjy[url=]snapback hats wholesale[/url] snapback hats wholesale q loyz[url=]snapback wholesale[/url] snapback wholesale r frkl

  • dead tired trite missing ugg boots sales marathon

    Posted by Bensonvhv on 10/28/2012 07:40pm

    everythingnfl jersey supplyhappensnfl jersey chinacheatedugg vendita onlinememoryuggs uk onlinewrongcheap uggeverythinguggs boots uksweetcheap uggs ukwould

  • ashnah php interpreter

    Posted by ashrafull on 01/06/2007 08:51pm

    I like php , mysql etc. I have developed a ashnah php interpreter. this can interpret simple php programme. it has built in database, xml, regexpression. you do not have to install mysql to use it. for basic staff it simulate sql database. sound crazy, please have a look and make comment.

  • PHP is a gem

    Posted by steveheflin on 11/08/2006 02:55pm

    Although ASP(.NET) doesn't compare with the power and momentum that PHP has, this article points the reader to PHP and hopefully gets the ASP reader to take a look at PHP.

  • ASP is obsolete, ASP.NET does not compare...

    Posted by tornblad on 11/08/2006 04:05am

    ASP.NET renders ASP completely obsolete, which is why this article is of no value. Also, pure out-of-the-box ASP.NET is more powerful than anything you could imagine cooking up with pure out-of-the-box PHP. There is complete support for security, authorization, authentication, auditing, localization, modularization... There are standard web user controls that you would have to write from scratch in PHP... You have the ability to apply themes and skins in a easy and standardized fashion without writing a single line of C# or VB.NET code. A more fair comparison would be PHP to Ruby on Rails, or Ruby on Rails to ASP.NET...

  • Why not a compare PHP with Ruby on Rails?

    Posted by dotnetCarpenter on 11/06/2006 07:34am

    It's not that your arguments is not valid but it strikes me as rather odd to compare a vivid framework like PHP with a framework which latest edition is 6 years old. I would be obvious to compare PHP and Ruby on Rails. You're wrong in the Programming Heritage part. ASP is a framework not a language. You can write ASP pages in JScript, Perl and so on.

    • dotash framework

      Posted by ashrafull on 01/06/2007 08:56pm

      I am working on a project to develop a new platform for small office and personal pages. ashnah dotash platformhas following ashnah php interpreter ashnah cpp interpreter ashsql sql server ashnah webserver, ashnah email, ftp,dns server it is a mini php,apcache and mysql combined like xampp. but only one programme for all. please have a look at my ashnah site and make comments

    • Still valid.

      Posted by PeejAvery on 11/06/2006 02:00pm

      Even though ASP itself is older, it is still used. Also, I left my points rather open so that it is pretty much still true for ASP.NET as well. Concerning the Programming Heritage, I am not wrong. I said nothing about it being a language. I stated that it has roots in a language.

  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date