Programming Books C Java PHP Python Learn more Browse Programming Books
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

CGI Programming 101: Programming Perl for the World Wide Web, Second Edition Paperback – March 1, 2004


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
$24.95 $14.58
NO_CONTENT_IN_FEATURE

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 300 pages
  • Publisher: CGI101.com; 2 edition (March 1, 2004)
  • Language: English
  • ISBN-10: 0966942612
  • ISBN-13: 978-0966942613
  • Product Dimensions: 0.8 x 7 x 9 inches
  • Shipping Weight: 1.4 pounds
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #1,394,178 in Books (See Top 100 in Books)

Editorial Reviews

Amazon.com Review

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.

Customer Reviews

4.8 out of 5 stars
5 star
11
4 star
0
3 star
1
2 star
0
1 star
0
See all 12 customer reviews
It is extremely well written, very clear, and easy to follow and understand.
mnchsterent
If you are familiar with writing web scripts you will already know this, but if you are new to web scripting this is one thing to bear in mind.
Alex Clark
All in all, I have nothing but high praise for this book--I highly recommend this to anyone new to CGI or Perl!
Jared Fernandez

Most Helpful Customer Reviews

23 of 24 people found the following review helpful By Alex Clark on March 21, 2005
Format: Paperback
CGI Programming 101 - Perl for the World Wide Web (Second Edition)

by Jacqueline Hamilton

Publisher: CGI101.com

Publication date: 2004

Website: [...]

An excellent introduction to Perl programming, good for beginners but also very useful to more experienced programmers who want a quick understanding of Perl and it's capabilities on the web.

Chapters include: Perl variables (including summary list of native variable functions), online forms, file access for read/write operations, server-side includes (SSI), string and arithmetic operators, searching and sorting data, pattern matching (using an email validation expression as an example), database programming (examples given using MySQL), CGI security issues (keeping your scripts secure), and how to password-protect a specific location on your site to create a secure area. For people accessing their scripts on a Unix server, a short appendix shows some common Unix shell commands, which will help you find your way around and set the relevant file permissions etc.

Overall a very well written and nicely designed book, which includes lots of practical examples you can copy and adapt to your own needs.

There is also an excellent accompanying website at [...] which has the first six chapters of the book and loads of code examples online for free, and the first six chapters are also downloadable in pdf format for free. I actually wrote my first Perl script from the first six chapters while I was waiting for the book to arrive, which kept me entertained and is a great way to test-drive the book.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
16 of 16 people found the following review helpful By David Veuve on November 5, 2006
Format: Paperback
One of the nicest (and at times, accursed) aspects of perl is that with a small amount of knowledge, you can do anything. If you have an informal background in programming (so that you have the analytical mindset), you can spend a weekend reading about Perl, then go build anything your heart desires. It'll take more time and be messier than the accomplished programmer's works, but you can do it.

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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By J. Lezniak on December 20, 2006
Format: Paperback
This book is extremely helpful for anyone completely new or clueless on the subject of cgi programming. This was my first book on the subject of cgi's (w/ perl) and honestly, it was the best primer in regular expressions in perl. Let me stress its name is suggestive of the content... that is CGI 101 is for beginners. That was a good thing in my case since I was completely clueless when it came to dynamic web programming. It was my first purchase on the subject and I still consider it the most helpful.

I highly suggest this book for anyone looking for an entry point on the subject of CGI programming.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Geoffrey on September 7, 2010
Format: Paperback
I am not a professional programmer. But I do manage the website for the specialist engineering company I founded and run. I like to have "hands on" control of this very important window for our company to the rest of the world.

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.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews


More About the Author

Discover books, learn about writers, read author blogs, and more.

What Other Items Do Customers Buy After Viewing This Item?