CGI Programming with Perl

CGI Programming with Perl
by Gunther Birznieks, Scott Guelich, Shishir Gundavaram

CGI Programming with Perl
List Price: $34.95
Our Price: $9.99
You Save: $24.96 (71%)
Availability: Usually ships in 1-2 business days
Buy Used: from $3.99 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Gunther Birznieks, Scott Guelich, Shishir Gundavaram
Edition: Paperback
Audio: English (Original Language); English (Unknown); English (Published)
Format: Illustrated
Published: 2000-01-15
ISBN: 1565924193
Number of pages: 451
Publisher: O'Reilly Media, Inc.

Book Reviews of CGI Programming with Perl

Book Review: Write an outline before you start writing a book
Summary: 2 Stars

Fairly good content, but hideously organized. The book jumps all over the place and really lacks the coherence I've come to expect from O'Reilly books. I used "Learning Perl" to get pretty good with Perl in two weeks. The book on HTML is terrific as well. A good "Learning CGI" book to lead into this one would be nice I think.

Summary of CGI Programming with Perl

Programming on the Web today can involve any of several technologies, but the Common Gateway Interface (CGI) has held its ground as the most mature method--and one of the most powerful ones--of providing dynamic web content. CGI is a generic interface for calling external programs to crunch numbers, query databases, generate customized graphics, or perform any other server-side task. There was a time when CGI was the only game in town for server-side programming; today, although we have ASP, PHP, Java servlets, and ColdFusion (among others), CGI continues to be the most ubiquitous server-side technology on the Web.

CGI programs can be written in any programming language, but Perl is by far the most popular language for CGI. Initially developed over a decade ago for text processing, Perl has evolved into a powerful object-oriented language, while retaining its simplicity of use. CGI programmers appreciate Perl's text manipulation features and its CGI.pm module, which gives a well-integrated object-oriented interface to practically all CGI-related tasks. While other languages might be more elegant or more efficient, Perl is still considered the primary language for CGI.

"CGI Programming with Perl," Second Edition, offers a comprehensive explanation of using CGI to serve dynamic web content. Based on the best-selling "CGI Programming on the World Wide Web," this edition has been completely rewritten to demonstrate current techniques available with the CGI.pm module and the latest versions of Perl. The book starts at the beginning, by explaining how CGI works, and then moves swiftly into the subtle details of developing CGI programs.

Topics include:

IncorporatingJavaScript for form validation

Controlling browser caching

Making CGI scripts secure in Perl

Working with databases

Creating simple search engines

Maintaining state between multiple sessions

Generating graphics dynamically

Improving performance of your CGI scripts


The appearance of the second edition of CGI Programming with Perl heralds the beginning of the neoclassical era of Web service. CGI--or common gateway interface--is the original back end for client-driven, dynamic Web-page service and deserves consideration as the Romulus of the Internet Empire. But, where first-edition author Gundavaram described the lonely Romulus laying the brick foundation of dynamic Web-page service in 1996, second-edition collaborators Guelich and Birznieks have pitched in to resurrect Romulus amid the crowded streets of modern Rome. Why bother? Surely four years have brought technological revolutions (Java, PHP, ASP, ColdFusion) that render CGI's original brick-by-brick approach as obsolete as, say, Roman mythology--or bricks and mortar.

And yet not. It is an ambiguous blessing that the original CGI persists, adhering to the underside of Web service by the duct tape that is Perl. This point is not missed by Guelich, Gundavaram, and Birznieks, whose advocacy of CGI is both bolstered by the growing applications module base of Perl and tempered by their awareness of CGI's structural limitations. Both new and returning readers of CGI Programming with Perl should browse the last chapter first in order to appreciate the proposed solutions to CGI's greatest sin: its impractical slowness in a world of a million-hits-per-day Web service. The chapter describes CGI-compatible FastCGI and mod_perl technologies that circumvent the process-spawning slowness of the simple CGI. Advanced users might want to skip directly to O'Reilly's fine mod_perl tome, Writing Apache Modules with Perl and C, by Lincoln Stein and Doug MacEachern.

The authors' second pass at CGI pedagogy is a lucid, honest, and expanded account that develops functionality of dynamic Web pages in a rational progression--from HTML client-server and CGI syntax basics to general input/output, forms, e-mail, graphics, and simple database applications, including maintaining client state and data persistence under the otherwise stateless HTTP protocol. The authors offer synopses of cookies, JavaScripting, server security, and XML, all of which are described in detail in other books.

Whether or not neoclassical CGI is fast enough for your purposes--perhaps for guarded intranets--bear in mind that CGI is the standard to which every other Web server has had to respond. The second edition of CGI Programming with Perl is still the best introduction to the classics. --Peter Leopold

General Books

Book Subjects
Most talked about in Perl Programmers Bookshelf
CGI Programming with Perl ImageCGI Programming with Perl
by Gunther Birznieks, Scott Guelich, Shishir Gundavaram
O'Reilly Media, Inc.; Published: 2000-01-15; Paperback; Book
Best price: $9.99
Price in other shops: $34.95
Mastering Regular Expressions, Second Edition ImageMastering Regular Expressions, Second Edition
by Jeffrey Friedl
O'Reilly Media, Inc.; Published: 2002-07-15; Paperback; Book
Best price: $19.73
Price in other shops: $39.95
Learning Perl, Third Edition ImageLearning Perl, Third Edition
by Randal L. Schwartz, Tom Phoenix
O'Reilly; Published: 2001-07-15; Paperback; Book
Best price: $7.99
Price in other shops: $34.95
Object Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques ImageObject Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques
by Damian Conway
Manning Publications; Published: 2000-01-01; Paperback; Book
Best price: $23.95
Price in other shops: $42.95
Perl Cookbook, Second Edition ImagePerl Cookbook, Second Edition
by Tom Christiansen, Nathan Torkington
O'Reilly Media, Inc.; Published: 2003-08-25; Paperback; Book
Best price: $24.29
Price in other shops: $49.95
Similar Books and other products
CGI Programming 101: Programming Perl for the World Wide Web, Second Edition ImageCGI Programming 101: Programming Perl for the World Wide Web, Second Edition
by Jacqueline D. Hamilton
CGI101.com; Published: 2004-03-01; Paperback; Book
Best price: $29.95
Official Guide to Programming with CGI.pm ImageOfficial Guide to Programming with CGI.pm
by Lincoln Stein
Wiley; Published: 1998-04-03; Paperback; Book
Best price: $6.00
Price in other shops: $49.99
Intermediate Perl ImageIntermediate Perl
by Randal L. Schwartz, Tom Phoenix, brian d foy
O'Reilly Media, Inc.; Published: 2006-03-08; Paperback; Book
Best price: $22.39
Price in other shops: $39.99
Perl and CGI for the World Wide Web, Second Edition (Visual QuickStart Guide) ImagePerl and CGI for the World Wide Web, Second Edition (Visual QuickStart Guide)
by Elizabeth Castro
Peachpit Press; Published: 2001-06-08; Paperback; Book
Best price: $6.77
Price in other shops: $24.99
Programming PHP ImageProgramming PHP
by Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
O'Reilly Media, Inc.; Published: 2006-04-28; Paperback; Book
Best price: $10.00
Price in other shops: $39.99
Writing CGI Applications with Perl ImageWriting CGI Applications with Perl
by Kevin Meltzer, Brent Michalski
Addison-Wesley Professional; Published: 2001-02-25; Paperback; Book
Best price: $19.00
Price in other shops: $44.99
Perl Cookbook, Second Edition ImagePerl Cookbook, Second Edition
by Tom Christiansen, Nathan Torkington
O'Reilly Media, Inc.; Published: 2003-08-25; Paperback; Book
Best price: $23.29
Price in other shops: $49.95
Programming Perl (3rd Edition) ImageProgramming Perl (3rd Edition)
by Larry Wall, Tom Christiansen, Jon Orwant
O'Reilly Media, Inc.; Published: 2000-07-14; Paperback; Book
Best price: $20.00
Price in other shops: $49.95
Learning Perl, 5th Edition ImageLearning Perl, 5th Edition
by Randal Schwartz, Tom Phoenix, brian d foy
O'Reilly Media, Inc.; Published: 2008-07-07; Paperback; Book
Best price: $21.08
Price in other shops: $39.99
Programming the Perl DBI ImageProgramming the Perl DBI
by Tim Bunce, Alligator Descartes
O'Reilly Media, Inc.; Published: 2000-02-04; Paperback; Book
Best price: $17.77
Price in other shops: $34.95
Book store. Illustrated catalog of books on different categories