Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
CGI Programming 101: Programming Perl for the World Wide Web, Second Edition Paperback – March 1, 2004
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Customers who bought this item also bought
What other items do customers buy after viewing this item?
CGI Programming 101: Programming Perl for the World Wide Web is a concise presentation of the key elements of Perl CGI, which makes it perfect for programmers who are under the gun. If you need to get up to speed on text strings, for example, you can read that chapter and be a pro within about 10 minutes.
Form processing is addressed early on, followed by searching and sorting techniques, illustrations of how to use server-side includes (SSI), and other critical issues. There's also a chapter on using MySQL--an open-source SQL database. In general, if you want to get the most out of this book, you'll be better off having some programming experience, be it in BASIC or C++.
The only element missing from this introductory course is an appendix containing Perl's reserved characters, operators, and functions; instead, this material is presented throughout the book. But CGI Programming 101 is still one of the most efficient ways to get up to speed with Perl CGI. --Stephen W. Plain
Topics covered: Perl variables, CGI environment variables, form processing, data file I/O, searching/sorting, server-side includes (SSI), random number generation, strings, date and time manipulation, HTTP cookies, e-mail processing, securing scripts, Perl modules, database programming, and custom Perl modules.
About the Author
Jackie Hamilton has been programming Perl since the "early" days of the web (since 1992). She's tackled CGI projects for many companies, including Texas Metronet, Tenagra, Cybersight, GTE, EDS, and Texas Instruments, to name a few. She's currently the webmaster for Steve Jackson Games.
Top customer reviews
If I had to make any criticism at all, it would be that some of the examples on the book's website are no longer running correctly. As well, the instructions for setting up your own computer as a CGI server have become somewhat outdated with the latest releases of the required software. Still, the examples work great in actual use and fixing the errors that have arisen in the live code over the years is almost like a real-world lesson on how you will have to maintain your own code in the future.
All in all, I have nothing but high praise for this book--I highly recommend this to anyone new to CGI or Perl!
To increase the appeal of our website and increase the hit rate, I wanted to create some interactive web pages so the browsing public can generate specific information about our products, and to give them some useful applications to use which normally would cost significant money to buy. (We gain because they have to come to our website to use the application.)
A little research on Google revealed that Perl fitted the bill as the program of choice to use. Now I needed to learn Perl. A little more research came up with this book. I specifically wanted to work with numbers, creating and solving equations, and this book had a chapter on "Working with Numbers" (Chapter 9) so I bought it.
It took a little while to get the Apache version of Perl for Windows set up on my computer (the author's website could be a little clearer on how to do this)and get the "Hello World!" to come up on the screen. The big breakthrough was to create a little program to add two numbers together via the Internet on my browser. At that point, the main principles had clicked into place and I was away.
Within weeks, I was creating scripts two and three thousand lines long, taking full advantage of the range and power of Perl to draw graphs, create line drawings and solve complex equations. I created a full blown ordering system and database, which uses the web as a common network for my staff who need to access the database from different buildings on the factory site.
Throughout this process, when I needed a solution to a particular programming problem, I usually found it in my well thumbed copy of Jacqueline Hamilton's book. If I found that there was a bug somewhere in a particular routine, a careful re-read of the relevant part in the book usually came up with the reason why it was not working.
The more I programmed with Perl, the more I realised what a great book this is. I unreservedly recommend it for anyone wanting to learn Perl.
That is exactly what I did with this book. I read the first edition, some six, maybe seven years ago, and then went on to build whatever I wanted. A year or so after reading it, I made a content management system replete with a gui interface that my employers could use. This book was the inspiration for years of Perl code creation, and employment.
Now, you won't learn as much as you would with any of the standard Perl books (such as Programming Perl, by the O'Reilly publishing world), as it's a project based approach to Perl learning. You aren't inundated with theoretics and syntax that you could then apply; instead, you receive the fundamentals, with some useful code snippets that you can put into your own code, and go forth to create.
In short, it is a delightful read, and I highly recommend it to any user who prefers a practical approach to learning, versus a theoretical one. If your aim is to go directly into a Perl programming job, then you may want to look elsewhere, but if you want to be able to build web applications, this is a quick easy read that will provide you with the tools to create all that you might want.
Most recent customer reviews
Ms. Hamilton's style as an author is unbelieveably clean and understandable.
The book provided me with a very straight forward process to write scripts.Read more