Because successful Web-site development often straddles multiple standards, tools, and programming languages, it's hard for books on the subject to deliver everything beginners need to get started. This problem often occurs with books on Common Gateway Interface (CGI) development; however, Rafe Colburn's Teach Yourself CGI Programming in a Week does a fine job of providing all the required basics for creating your own CGI scripts.
Written with Unix in mind, the book is careful to show that CGI runs on all of today's server platforms. Early chapters include simple tutorials on HTML and HTTP and show how to invoke CGI scripts. These chapters also consider various languages for CGI development, from industry-standard Perl to C/C++. From there the author moves to the basics of parsing CGI environment variables and building Web-page content dynamically, with discussions on how to use server-side includes and even dynamic graphics.
The author consistently adopts a practical, real-world approach to showing the best of CGI and demonstrating other tools that help CGI work. (His short demonstration on how to use JavaScript to validate user input on the client and leave real processing to server-side CGI is one example of this approach.) In addition, this tutorial is a compendium of the author's helpful hints on CGI security and how to use CGI effectively to create better Web sites. All Webmasters should read his guide to providing custom error pages for broken links.
Later chapters show how to use CGI with databases, which the author admits is not a particularly strong suit of CGI.(The tutorial on the basics of SQL is as good as any.) He surveys the growing field of alternatives to CGI, including active server pages (ASPs), Java Servlets, and NSAPI/ISAPI. The book closes with a listing of Perl basics, from language syntax to regular expressions, making this book a complete tutorial for getting started with the powerful capabilities of CGI.
From Library Journal
SAMs Publishing has four time-linked series letting the reader choose between 14 days, a week, 24 hours, or ten minutes. The times are more a guide to depth of information than a realistic measure of length of study?anyone ever try to read a 200-page book in 10 minutes? Still, the series provides good material for all sorts of beginners. Whether patrons are new to computers, new to a category (e.g., networking), or just new to program upgrade, they will welcome these well-illustrated introductions. If you have a beginner's technology section in your library, any of these books will find welcoming hands. Generally, the "10 Minutes" and "24 Hours" titles on popular topics are the first choice, and you should realize that even the "14 Days" titles are not substitutes for substantial references.
Copyright 1998 Reed Business Information, Inc.
See all Editorial Reviews







