|
Perl @ Web Programming
Programming Shed : Programmer Store & Resources |
|
|
|
Perl Index - Perl Book : The Cgi/Perl Cookbook
by Craig Patchett, Matthew Wright (Contributor), Peter Holfelder (Contributor) Paperback: 656 pages Dimensions (in inches): 1.48 x 9.18 x 7.47 Publisher: John Wiley & Sons ISBN: 0471168963; Bk&Cd-Rom edition (October 14, 1997) Designed to teach the basics of CGI programming necessary for highly interactive web sites, this volume offers line-by-line breakdowns of seven CGI programs including a search engine, password protection, advanced form processing, a shopping cart, customized bulk e-mail, and advanced visitor feedback. Also included is a library of 13 sub routines for e-mail support, file encoding, error handling and other purposes. CD-ROM includes code and ready to run CGI programs from the book; the contents of "Matt's Script Archive" Web site; the Perl programming manual; and recent Windows, UNIX, and MacOS versions of Perl. Book News, Inc.®, Portland, OR Book Description: Custom subroutine library for developing your own CGI programs • Line-by-line explanations of 20 of the most popular CGI programs and subroutines that are essential to your Web site • Compatible with Perl 4 and 5 • Tested under WindowsR(r), UNIXR(r), and MacOSR(r) If you want to make your Web site as interactive as possible, as soon as possible, you've come to the right place! This book/CD powerhouse arms you with 20 of today's most-demanded CGI programs and subroutines, designed and written especially... Customer Reviews Reviewer: A reader from Wellington, NZ I almost didn't buy this book after reading some of the negative reviews, but decided to take a look at it after noticing that none of the negative reviews went into much detail...making me wonder if the reviews were accurate or just the result of some kind of grudge against Mr. Patchett or Mr. Wright. I'm glad I took the time to look at, and subsequently buy, the book. With a few exceptions, I think most of the other reviews for this book do a good job of pointing out its imperfections. There are some inevitable bugs (corrected at the book's Web site), I wouldn't recommend it to someone who doesn't have any interest in learning at least a little bit about Perl, and it could use some additional detail on the installation process for the scripts in some places. That's the bad news. The good news, on the other hand, is that it is an invaluable resource for learning CGI scripting with Perl, especially for anyone who, like me, likes to learn by looking at actual code and having someone explain it. I've already used several of the scripts as is, modified one other, and borrowed code from several places to start building a custom script of my own. I think I got my $40 worth the first day I had it! Having spent some time with the book, I feel that somebody should address some of the issues brought up in some of the other "hit and run" reviews posted here. While it's true that the scripts are written in Perl 4 (which is backwards compatible with Perl 4), the authors have pointed out that this was a conscious choice on their part because Perl 4 is easier for the beginner to learn. I agree. As for the comments about security issues, I am familiar with the problems that were inherent with Mr. Wright's older scripts and these problems, as far as I can see, do not exist in the scripts presented in the book. Either Mr. Wright has learned from his previous mistakes or Mr. Patchett had a hand in removing security holes. Searching through the archives for the book's mailing list, I only came across one reported security problem in the last two years of posts to the list and a solution to that problem was promptly posted by the authors. One last thing that I really like about this book is the support for it that the authors provided by setting up a private mailing list for book owners. Not only do members of the list help each other out with any questions about the book's scripts (whether simple or complex), but there are also some great discussions on enhancing the scripts and adding additional features to them. How often have you bought a book and been stranded without any support? That the book's mailing list is going strong two years after the book's release is a testimony to its value. In short, I feel that this book makes a great addition to any Web developer's library, and is particularly useful to anyone developing CGI scripts of their own. Reviewer: A reader from USA I can't help but wonder, as I read some of the other reviews here, whether everyone's talking about the same book! While this book is not without its flaws, which I'll get to in a second, the scripts are wonderful in their diverseness, their utility, and the fact that each line truly is explained. Contrary to what one reviewer claims, I haven't found any of these scripts available on the Web for free (some have similar ones available, but not with all the features these ones offer) and I have no idea what the reviewer who complained about the lack of descriptions was talking about...the authors do an excellent job of breaking each script down, line by line, and explaining what's going on. Whether or not you end up using any of the scripts (and you will), these explanations alone are worth their weight in gold as far as helping you to understand how to write CGI scripts. As far as flaws are concerned, it's true that the book could do with a few more examples of how to configure some of the scripts, and the beginner also needs to look elsewhere for instructions on how to upload the files to their server (a process that varies from platform to platform and server to server, making it almost impossible to explain in a way that applies to everyone). There are definitely bugs in several of the scripts, but the authors have posted fixes on the accompanying Web site and have also set up an extremely helpful mailing list for readers to help each other get the scripts up and running (I found it to be very useful and got some great ideas from other readers...thanks everyone!). I have yet to buy a computer book that is perfect as it comes, and I have also yet to buy a computer book that comes with as much support as this one. So while it may not live up to all the promises the authors make, I do think it belongs on every Web developer's desk, if for no other reason than as a "cookbook" for your own CGI development. Reviewer: Mark Ledford from Kings Mt., NC USA The programs are not really "ready-to-run." They are not "Ready-to-use." Programming is required, because there are bugs in html documents and scripts that must be corrected. The book is a good resource of information for people who want to study and learn and troubleshoot and learn Perl, because it is possible to get the scripts to work if the troubleshooter does not give up until they get things to work satisfactorily. I believe that it is practically impossible for a person to use these scripts without having some experience with Perl and CGI and HTML. The book has a lot of good explanations of code, which I find helpful and useful. I can't blame anyone for selling the book in the way it is sold. Salesmen sell the book. Programmers who successfully learn, don't give up when things don't work easily. This is book for beginning programmers. Reviewer: Mark Ledford from Kings Mt., NC USA This book is basically a poor product that has been successfully sold. It is terrible. It is a lie! On the back of my book it says "Jazz up your site with 20 exclusive, ready-to-use professional CGI scripts and subroutines--no programming required!" It is sold as if it will satisfy the needs of people who do not understand Perl, while it is almost impossible for it to satisfy anyone, as it is. Hours and hours of troubleshooting and trying to figure out what is wrong is part of what you will get from this book. If you survive through that part of it, you will probably learn that it would be easier for you to learn Perl enough to do things in your own way. Buy another book. Find another way! |
|
|
© 2005-2006, Programming Shed
|