PHP STORY
PHP set its roots in 1995, when an
independent software development contractor named Rasmus Lerdorf developed
a Perl/CGI script that enabled him to know how many visitors were reading
his online resume. His script performed two duties: logging visitor
information and displaying the count of visitors to the Web page. Because
the WWW as we know it today was still so young at that time, tools such as
these were nonexistent, and they prompted emails inquiring about Lerdorf’s
scripts. Lerdorf thus began giving away his toolset, dubbed
Personal Home Page
(PHP), or
Hypertext Preprocessor.
The clamor for the PHP toolset
prompted Lerdorf to begin developing additions to PHP, one of which
converted data entered in an HTML form into symbolic variables that
allowed for their export to other systems. To accomplish this, he opted to
continue development in C code rather than Perl. This addition to the
existing PHP toolset resulted in PHP 2.0, or PHP-FI (Personal Home
Page—Form
Interpreter). This 2.0 release was
accompanied by a number of enhancements and improvements from programmers
worldwide.
The new PHP release was extremely
popular, and a core team of developers soon formed. They kept the original
concept of incorporating code directly alongside HTML and rewrote the
parsing engine, giving birth to PHP 3.0. By the 1997 release of version
3.0, over 50,000 users were using PHP to enhance their Web pages.
Development continued at a hectic pace over the next two years, with
hundreds of functions being added and the user count growing in leaps and
bounds. At the onset of 1999, Netcraft (http://www.netcraft.com) reported
a conservative estimate of a user base surpassing 1,000,000, making PHP
one of the most popular scripting languages in the world.
Early 1999 saw the announcement of
the upcoming PHP 4.0. Although one of PHP’s strongest features was its
proficiency at executing scripts, the developers had not intended that
large-scale applications were going to be built using PHP. Thus they set
out to build an even-more robust parsing engine, better known as Zend
(http://www.zend.com). Development continued rapidly, culminating in the
May 22, 2000, release of PHP 4.0.
In addition to the Zend processor,
Zend technologies, based in Israel, offers the Zend optimizer, which
increases even further the performance benefits of the Zend parsing
engine. Available for download free of charge, the benchmarks have shown
that the optimizer can result in a 40 to 100 percent overall performance
gain. Check out the Zend site for more information.
PHP is best summarized as an
embedded server-side Web-scripting language that provides developers with
the capability to quickly and efficiently build dynamic Web applications.
PHP bears a close resemblance, both syntactically and grammatically, to
the C programming language, although developers haven’t been shy to
integrate features from a multitude of languages, including Perl, Java,
and C++. Several of these valuable borrowed features include regular
expression parsing, powerful array-handling capabilities, an
object-oriented methodology, and vast database support.
For writing applications that
extend beyond the traditional, static methodology of Web page development
(that is, HTML), PHP can also serve as a valuable tool for creating and
managing dynamic content, embedded directly beside the likes of
JavaScript, Stylesheets, WML (Wireless Markup Language) and many other
useful languages. Providing hundreds of predefined functions, PHP is
capable of handling just about anything a developer can dream of.
Extensive support is offered for graphic creation and manipulation,
mathematical calculations, ecommerce, and burgeoning technologies such as
Extensible Markup Language (XML), open database connectivity (ODBC), and
Macromedia Shockwave. This vast range of capabilities eliminates the need
for the tedious and costly integration of several third-party modules,
making PHP the tool of choice for developers worldwide.
NOTE
1997 also saw the change of the
words underlying the PHP abbreviation from Personal Home Page to Hypertext
Preprocessor.
Free
The open source development
strategy has gained considerable notoriety in the software industry. The
prospect of releasing source code to the masses has resulted in undeniably
positive outcomes for many projects, perhaps most notably Linux, although
the success of the Apache project has certainly been a major contributor
in proving the validity of the open source ideal. The same holds true for
the developmental history of PHP, as users worldwide have been a huge
factor in the advancement of the PHP project. PHP’s embracing of this open
source strategy result in great performance gains for users, and the code
is available free of charge. Additionally, an extremely receptive user
community numbering in the thousands acts as “customer support,” providing
answers to even the most arcane questions in popular online discussion
groups.
HOME
At the time of this writing, according to Netcraft (http://www.netcraft.com),
PHP is installed on over 3.6 million domains, making it one of the most
popular scripting languages in the world. The future of PHP indeed looks
bright, as major Web sites and personal users alike continue to embrace
the product.