March 23, 2001, 1:02 PM —
Should you learn PHP? Probably so, if:
- You're responsible for a Website
- Others in your organization like using PHP
- You want something "lighter" and easier to learn than Perl or Python
- You favor free software
- You need access to data locked in databases
- You want to exploit Java
- You already use PHP in one way, and have been wondering what else it can do for you
Humble beginnings
Rasmus Lerdorf wrote a rudimentary version of the PHP scripting language in late 1994 as an aid to managing his personal homepage. (Originally the name PHP stood for Personal Home Page Tools; it eventually became a recursive abbreviation for PHP: Hypertext Preprocessor). Several languages -- Perl, Python, and even exotica like Scheme and Icon -- can do what PHP does: compute HTML pages on the server side of a Web application. PHP is unique, though, in that it is specifically designed to simplify that one task. You might reasonably expect, then, that PHP does it best. That certainly seems to be the belief of the few hundred thousand developers worldwide who are now enjoying the fourth major PHP release.
Take a moment to understand clearly what server-side computation means for a Web application. A minimal Webpage might have source that looks like this:
<HTML>
<HEAD>
<TITLE>
Home page for John Smith
</TITLE>
</HEAD>
<BODY>
This is John Smith's first home page.
</BODY>
</HTML>
Suppose now, that John wants to replace
This is John Smith's first homepage.
with
This is John Smith's first homepage.
John has completed XXXX Webpages.













