The first edition of CGI Programming on the World Wide
Web was published in early 1996. The Web was very
different then: the number of web hosts was 100,000, Netscape
Navigator 2.0 (the first JavaScript-enabled browser) was
released, and Java
was less than a year old and was used
primarily for applets. The Web was still young, but it was developing
quickly.
In 1996, CGI was the only stable and well-understood method for creating dynamic content on the Web. However, very few sites exploited its full potential. In the first edition, Shishir wrote:
Today's computer users expect custom answers to particular questions. Gone are the days when people were satisfied by the computing center staff passing out a single, general report to all users. Instead, each salesperson, manager, and engineer wants to enter specific queries and get up-to-date responses. And if a single computer can do that, why not the Web?
This is the promise of CGI. You can display sales figures for particular products month by month, as requested by your staff, using beautiful pie charts or plots. You can let customers enter keywords in order to find information on your products.
In 1996, these were bold claims. Today, they describe business as usual. That promise of CGI has certainly been fulfilled.
This book is about more than writing CGI scripts. It is about programming for the Web. Although we focus on CGI programming with Perl (thus the title change for this edition), many of the concepts we cover are common to all server-side web development. Even if you find yourself working with alternative technologies down the road, the effort you invest learning CGI now will continue to yield value later.
Copyright © 2001 O'Reilly & Associates. All rights reserved.