Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
52 used & new from $2.93

Have one to sell? Sell yours here
 
   
Writing CGI Applications with Perl
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Writing CGI Applications with Perl (Paperback)

by Kevin Meltzer (Author), Brent Michalski (Author)
4.4 out of 5 stars See all reviews (16 customer reviews)

List Price: $44.99
Price: $32.09 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.90 (29%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
21 new from $17.88 31 used from $2.93

Frequently Bought Together

Writing CGI Applications with Perl + CGI Programming with Perl + Perl and CGI for the World Wide Web, Second Edition (Visual QuickStart Guide)
Price For All Three: $77.09

Show availability and shipping details


Customers Who Bought This Item Also Bought

CGI Programming 201

CGI Programming 201

by Jacqueline Hamilton
$14.95
Official Guide to Programming with CGI.pm

Official Guide to Programming with CGI.pm

by Lincoln Stein
4.2 out of 5 stars (18)  $44.99
CGI Programming 101: Programming Perl for the World Wide Web, Second Edition

CGI Programming 101: Programming Perl for the World Wide Web, Second Edition

by Jacqueline D. Hamilton
5.0 out of 5 stars (7)  $29.95
Perl and CGI for the World Wide Web, Second Edition (Visual QuickStart Guide)

Perl and CGI for the World Wide Web, Second Edition (Visual QuickStart Guide)

by Elizabeth Castro
4.1 out of 5 stars (28)  $19.49
Beginning Perl Web Development: From Novice to Professional (Beginning: From Novice to Professional)

Beginning Perl Web Development: From Novice to Professional (Beginning: From Novice to Professional)

by Steve Suehring
4.7 out of 5 stars (3)  $32.57
Explore similar items

Editorial Reviews

Product Description
(Pearson Education) A guide to writing CGI applications with Perl, showing how to accomplish everyday tasks necessary for online operations. Includes line-by-line code explanations, examples, and skill-stretching exercises. Also covers working with HTML, tracking clicks, and cookies, among other topics. Softcover. DLC: Perl (Computer program language).

From the Back Cover

With its sophisticated database, network, and multi-platform capabilities, the Perl programming language has emerged as an ideal tool for developing CGI-based Web applications.

Writing CGI Applications with Perl shows you how to use Perl to accomplish the most vital tasks needed for today's online applications. Using numerous examples, line-by-line code explanations, and skill-stretching exercises, this book not only provides useful cut-and-paste code for your own programs, but it also teaches you practical skills and techniques that will enable you to develop any kind of CGI-based Web application with Perl.

Focusing on the most important areas of Web application development, including database interaction, form and file handling, security, e-mail, and graphics, the book provides in-depth coverage of such specific topics as:

  • Working with HTML Web forms and obtaining user input
  • Cookies, tracking clicks, and access counters
  • Using the mod_perl Apache module
  • Connecting to a POP3 server for e-mail
  • Perl DBI and databases on the Web
  • Tying a hash to a database
  • Embedding Perl in HTML with HTML::Mason
  • Remote file management via the Web
  • Creating dynamic images
  • XML and its derivatives, RSS and RDF

    In addition, introductory material is provided for newcomers to CGI or Perl. Numerous appendices include handy references as well as a guide to Perl documentation.

    Geared toward the needs of today's professional Web developers, Writing CGI Applications with Perl provides the specific tools, experienced-based techniques, and overall concepts necessary for quality Web application development.



    0201710145B04062001

    See all Editorial Reviews

  • Product Details

    • Paperback: 560 pages
    • Publisher: Addison-Wesley Professional (February 25, 2001)
    • Language: English
    • ISBN-10: 0201710145
    • ISBN-13: 978-0201710144
    • Product Dimensions: 9.2 x 7.5 x 1.3 inches
    • Shipping Weight: 2 pounds (View shipping rates and policies)
    • Average Customer Review: 4.4 out of 5 stars See all reviews (16 customer reviews)
    • Amazon.com Sales Rank: #535,242 in Books (See Bestsellers in Books)

      Popular in this category: (What's this?)

      #6 in  Books > Computers & Internet > Programming > Languages & Tools > CGI Programming

    Look Inside This Book

    Citations (learn more)
    1 book cites this book:

    What Do Customers Ultimately Buy After Viewing This Item?


    Tags Customers Associate with This Product

     (What's this?)
    Click on a tag to find related items, discussions, and people.
    Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
    (1)
    (1)

    Your tags: Add your first tag
     
    Help others find this product — tag it for Amazon search
    No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

    Sell a Digital Version of This Book in the Kindle Store

    If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

     

    Customer Reviews

    16 Reviews
    5 star:
     (13)
    4 star:    (0)
    3 star:    (0)
    2 star:
     (3)
    1 star:    (0)
     
     
     
     
     
    Average Customer Review
    4.4 out of 5 stars (16 customer reviews)
     
     
     
     
    Share your thoughts with other customers:
    Most Helpful Customer Reviews

     
    21 of 21 people found the following review helpful:
    5.0 out of 5 stars Head And Shoulder Above Most CGI Programming Books, July 19, 2002
    There are a very large number of Perl CGI books in the shops. Unfortunately the number of good Perl CGI books is far smaller. I'm happy to report that this book is one of them.

    The problem, of course, with most Perl CGI books is that they are written by people who just don't know very much Perl. That's certainly not the case here. Both Kevin and Brent are well-respected members of the Perl community and they know what they are talking about when it comes to writing CGI programs in Perl.

    Another common mistake in Perl CGI books is that the authors try to take people who know a bit of HTML and teach them programming, Perl and CGI all at the same time. The authors of this book realise that this approach is likely to lead to, at best, patchy understanding of any of these concepts so they aim there book at people who are already programmers and who have some knowledge of Perl. This means that they can concentrate of teaching the parts of Perl that are useful when writing CGI programs.

    One corner that is often cut when discussing CGI programming is security. This is a very dangerous approach to take as a badly written CGI program can leave your web server open to attack from anyone on the Internet. That's not a mistake that is made here as the authors introduce security in chapter 2. Add to that the fact that the code examples all use -w, use strict and CGI.pm and the book is already head and shoulders above most of its competition.

    Early chapters look at common CGI requirements such as file uploads and cookies. Each chapter is full of well written (and well-explained) sample code. The example of an access counter in chapter 6 even locks the file containing the current count - this is possibly a first in a Perl CGI book!

    By the middle of the book we have already moved beyond simple CGI programming and are looking at mod_perl. This chapter covers both the "faux-CGI" Apache::Registry module and also writing complete mod_perl handlers.

    In the second half of the book we start to look at some bigger examples. The authors present a web-based email system and even a shopping cart. In order to fit these examples into their respective chapters a couple of corners have been cut, but there's enough information there to enable anyone to write the complete systems.

    Chapter 13 introduces the HTML::Mason module as a way to separate content from presentation. It's obvious that the author's are big fans of this module and this leads to my only real criticism of the book. At no point do they mention the fact that the same benefits can be gained from using any of half a dozen templating systems found on the CPAN. I would have been a lot happier if they had mentioned things like Text::Template, HTML::Template and the Template Toolkit before picking HTML::Mason as the system for their example.

    There are then two more long chapters with examples of a document management system and image manipulation software. Once more the code in these examples would serve as a greating starting point for anyone wanting to implement something along these lines. The last chapter looks at XML and, in particular, the use of RSS files to provide data feeds to other web sites.

    All in all this is a very useful book for someone wanting to write web-based applications using Perl. It's packed full of good advice and code that follows all of the best practices for writing CGI programs in Perl. This book won't teach you Perl, but if you've read Learning Perl or Elements of Programming with Perl then you'll find this book easy enough to follow.

    Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



     
    12 of 12 people found the following review helpful:
    5.0 out of 5 stars Effective and Unique, March 5, 2001
    By J.T. St.Clair "ksmpoppop" (Ellington, CT United States) - See all my reviews
    What a pleasure to find a book that succeeds in what it sets out to do. I wanted to improve my ability to write CGI applications with Perl and came away from this book with mission accomplished. As a bonus, the book contains uses for Perl I suspect many people don't know about.

    The book uses a variety of methods to make its points--- interactive exercises, cut-and-paste code, extensive documentation, conceptual development, and plain English explanations and descriptions. Each chapter covers a CGI application. Concepts from one section become the foundation for practical, must-know applications covered elsewhere. Information is presented in logical order; chapter 4 doesn't expect you to know code from chapter 7. Truly valuable is the book's focus on "why it works" as well as the "how to do it." The "why" promotes a grasp of how to use a script or technique in other contexts. If you feel something special about that "oh yea, I get it" feeling, I think this book is for you.

    I call the book unique because I haven't seen another with the variety of instructional methods, the "building-block" style, or the combination of practical skills with underlying knowledge.

    In sum, the authors wrote an excellent book that I recommend to any serious Perl programmer or web designer.

    Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



     
    10 of 10 people found the following review helpful:
    5.0 out of 5 stars Finally a CGI book that pays enough attention to security!, August 28, 2001
    By Sean Burke (Ketchikan, Alaska, United States) - See all my reviews
    (REAL NAME)   
    When I first got this book, I thought "CGI is a much more complex standard than this! For example, what about all the strange things you can do with hidden form variables?" Then in occurred to me that the unifying theme of this book is not "everything you can do with CGI" -- it's "everything you can do with CGI, done SECURELY".

    All the various CGI tricks I'd known and used that weren't mentioned in this book, were the sort of thing that a beginning programmer might misuse, and thereby accidentally create a way for some malicious user to, for example, delete or corrupt any file on the filesystem, or order any product for [price]. Since /most/ beginning programmers create programs with just those kind of accidental security problems, I'm glad that this book sees security as a primary goal.

    In other words: they show you how to do anything you need in CGI, but they don't give you enough rope to hang yourself with! The other thing that makes me happy with this book is that it wisely takes the (very realistic) perspective that CGIs are programs that have to do something /besides/ just talking to the Web browser -- they have to access a database, send a piece of mail, read from a config file, write to a log file, or whatever other details the task demands. That's just the way the CGI business is, and this book gives you a nice introduction to that way of programming.

    I heartily recommend this book for anyone who's starting out doing CGI programming. It assumes you do know some Perl already. If you don't, and you already have a strong programming background in some other language than Perl, can probably just make do with the Perl man pages; but less experienced folks should get /Learning Perl/, or /Elements of Programming with Perl/, or maybe even /Teach Yourself Perl in 24 Hours/ (which has a good CGI section, incidentally).

    One note: currently this book is in its first printing, so there are, as always, typos. The errata list at perlcgi-book.com was quite helpful.

    Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


    Share your thoughts with other customers: Create your own review
     
     
     
    Most Recent Customer Reviews

    2.0 out of 5 stars Not easy to follow
    This was a little conplex and not easy to follow, as some reviews said.
    I'd look at another.
    Published on May 31, 2007 by J. Dacquisto

    5.0 out of 5 stars A rare gem
    This is a fantastic book! It is best for people who already know Perl and have written basic CGI scripts and now wish to write full-blown applications. Read more
    Published on April 12, 2005 by Alan Mead

    2.0 out of 5 stars Not a good introduction to CGI
    I bought this book because the Amazon reviewers loved it so much. I got about 150 pages into it and now I need to buy a different book. Read more
    Published on June 18, 2004 by Beth Temple

    2.0 out of 5 stars Not all I expected
    I read the raving previous reviews and thought this would be the CGI book for me. It wasn't. I know a bit of perl, but relatively little about cgi (I know a bit, but not much)... Read more
    Published on November 18, 2003 by Blake Thornton

    5.0 out of 5 stars Very helpful
    This is an extremely useful book for writing web-based applications with Perl. Lots of helpful descriptions and examples. Read more
    Published on April 9, 2003

    5.0 out of 5 stars Just an awsome book - chock full of useful web code
    I just started using this book and it is friggin' amazing. I've been a fan of Perl for years although I've also programmed in VB, C, Java, etc. Read more
    Published on April 2, 2003 by Greg Mallon

    5.0 out of 5 stars Endlessly Practical Examples!
    This book is just great. Clearly written by two authors that have spent some time doing some real work out there in the real world, you'll NEVER find any overly academic examples... Read more
    Published on May 4, 2002 by Poker Pro

    5.0 out of 5 stars A Must-Have book for writing CGI applications
    I needed a book to both learn the details of using the CGI Perl module, and also as a reference guide. This book does both admirably. Read more
    Published on March 16, 2002 by Thomas Stanley

    5.0 out of 5 stars The best CGI book in the store!
    I'm not sure how they did it, but this book is incredible. It's not often that you find a book that can be used by a beginner and contains such intermediate/advance material... Read more
    Published on August 24, 2001 by Roger

    5.0 out of 5 stars This is a good book
    I purchased this book about a week ago and I must say I am impressed. Finally, a CGI reference that serious Perl programmers can use. Read more
    Published on June 18, 2001 by Matthew Miller

    Only search this product's reviews



    Customer Discussions

     Beta (What's this?)
    New! See all customer communities, and bookmark your communities to keep track of them.
    This product's forum (0 discussions)
      Discussion Replies Latest Post
      No discussions yet

    Ask questions, Share opinions, Gain insight
    Start a new discussion
    Topic:
    First post:
    Prompts for sign-in
      [Cancel]


    Active discussions in related forums
      Discussion Replies Latest Post
    C# or Java? 32 7 days ago
       


    Product Information from the Amapedia Community

    Beta (What's this?)


    So You'd Like to...

    Create a guide

    Look for Similar Items by Category


    Shop Tool Storage in Home Improvement

    Shop tool storage in Home Improvement
    Check out the huge selection of tool storage and organization products offered by Amazon.com.

    See more in the Power & Hand Tools Store

     

    Big Savings in Books

    Bargain Books
    Find great titles at fantastic prices in our Bargain Books Store.
     

    FREE Super Saver Shipping on Select Table Saws

    FREE Super Saver Shipping on select table saws
    Amazon.com has a wide selection of table saws that are sure to meet any project need. Take advantage of FREE Super Saver Shipping to save even more.

    Shop table saws

     

    Best Books

    Best of the Month
    See our editors' picks and more of the best new books on our Best of the Month page.
     

     

    Feedback

    If you need help or have a question for Customer Service, contact us.
     Would you like to update product info or give feedback on images?
    Is there any other feedback you would like to provide?

    Your comments can help make our site better for everyone.


    Where's My Stuff?

    Shipping & Returns

    Need Help?

    Your Recent History

      (What's this?)
    You have no recently viewed items or searches.

    After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

    Look to the right column to find helpful suggestions for your shopping session.

    Continue shopping: Top Sellers
    Paranoia
    Paranoia by Joseph Finder
    My Soul to Lose
    My Soul to Lose by Rachel Vincent
    Glenn Beck's Common Sense
    Glenn Beck's Common Sense

    Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates