|
CGI programming is actually rather trivial, and some could question whether a 451 page book on the subject is really needed. However, the authors show that when combined with Perl, the "duct tape of the Internet", CGI actually has a lot of tricks. The reader is guided through forms, templates, security, email, and server-side includes, and there are chapters on the CGI.pm module, searching, graphics, and integrating with SQL databases, and a chapter on JavaScript and "bookmarklets". For readers with programming experience who have never gotten around to learning Perl, this book is an easy way of learning it. Another reason to use the Perl scripts in this book is security. It is easy for novice programmers to create gaping security holes by writing bad CGI scripts. Chapter 8 discusses techniques for writing safe CGI scripts.
The book is well organized and readable. It is oriented toward the Apache server, and like most O'Reilly books, is slanted toward Unix. However, a few of the Perl scripts contain syntax errors that would prevent them from running. Thus, unless you are familiar with Perl programming, you will need a copy of Programming Perl in order to use this book. The reader should also take a couple of minutes to learn HTML first.