The History of PHP


PHP, like many great things, arose out of necessity. Rasmus Lerdorf wrote the initial version of PHP in an afternoon, during a period between contracts when he needed a quick tool to track users who were reading his online resume. However, the initial PHP, a Perl/CGI wrapper, was experiencing growing pains on the Web server where his resume was located. So, Rasmus decided to rewrite the Perl wrapper in C to eliminate the overhead of forking Perl each time his resume was accessed.

After some time, people who were on the same Web server noticed Rasmus' wrapper and asked him if they could use it, and the rest is history. As more people used his wrapper, they asked for more features, which made more people want to use the wrapper.

Finally, Rasmus decided to put together a somewhat complete distribution along with documentation, a mailing list, and a FAQ. This first distribution was called Personal Home Page Tools, which later transformed into the Personal Home Page Construction Kit.

While Rasmus was working on PHP, he also was working on a tool to embed SQL queries easily into a Web page. In the most basic sense, it was another CGI wrapper that parsed SQL queries and made it easy to create forms and tables based on those queries. The name of this tool just happened to be FI (Form Interpreter).

PHP/FI 2.0 was a rebirth of both PHP and FI rewritten into one program. PHP/FI was an easy programming language rather than a simple CGI wrapper. It enabled programmers to embed simple scripts directly into a Web page.

PHP/FI became quite popular among developers, and it caught the eye of Andi Gutmans and Zeev Suraski, who ”although they liked the fundamental idea of PHP/FI ”disagreed on the implementation. Andi and Zeev rewrote PHP/FI and PHP 3 was born.

PHP 3 was a huge improvement over PHP/FI. It featured better performance, cleaner syntax, object-oriented support, the for loop, and many other improvements. PHP 3 has enjoyed incredible success. According to the latest Netcraft survey, PHP 3 is by far the most popular Apache server module, installed on more than 1.5 million Web servers.



PHP Developer's Cookbook
PHP Developers Cookbook (2nd Edition)
ISBN: 0672323257
EAN: 2147483647
Year: 2000
Pages: 351

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net