Saturday, April 14, 2012

How Perl and PHP became popular languages

Disclaimer: This is completely my imagination, and may be far from true.

Perl

First there were cgi programs. You had a web server, and you named one directory as 'cgi-bin'. Any programs in this directory were executed, and the results were sent back to the browser.

If a company wanted to have a website, they would speak to their sysadmins, who would just have to create a simple script and put it in the cgi-bin directory. Perl was already available, and it was easy to learn for someone who knew bash or awk. So, they chose Perl.

And that was how Perl first became popular.


PHP

If someone has learnt some HTML, and is able to make a website. But now wants to add some features which need a backend. Then, the easiest way to do it, especially if you are already using apache, is to use PHP.

Since there are a lot of such people, PHP became popular.

And since there are a lot more people who come from a HTML background, than from a programming background, PHP is more popular than Perl.


Perl was the king of open source web programming, but now PHP has taken its place.

2 comments:

Unknown said...

Even the most skeptical readers will come away from your work Nitish, feeling less gloomy. There’s a significant idea embedded within a range of possible goals we may achieve if we have the imagination and the will.
edit my essay online

Jason Adams said...

This is love, thanks for the share. Also, visit our website if you are looking for assistance with your nursing assignment:

Nursing Assignment Help