- Paperback: 552 pages
- Publisher: Sams Publishing; 1 edition (August 13, 2001)
- Language: English
- ISBN-10: 0735710546
- ISBN-13: 978-0735710542
- Product Dimensions: 7 x 1.2 x 8.9 inches
- Shipping Weight: 1.9 pounds
- Average Customer Review: 25 customer reviews
- Amazon Best Sellers Rank: #2,253,398 in Books (See Top 100 in Books)
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.
MySQL and Perl for the Web 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Customers who bought this item also bought
Once in a while a book comes along that covers an area of development that has previously been largely ignored. Both MySQL and Perl are well documented in several tutorials, but in-depth coverage of Web development using the combination of the two is rare. MySQL and Perl for the Web zeroes in on this interesting pairing, illustrating practical application development possibilities using this popular duo.
The book is perfect for developers of Web sites running on Apache on Unix. Loyalties vary in terms of operating systems, Web servers, and scripting languages, but those who find their home in the Unix and Perl environments will find this book right up their alleys. The target audience is developers somewhat familiar with Perl and the Unix-based Web server environment, but you'll find the book illustrative even if your knowledge is sketchy.
After showing how to make database connections using Perl and MySQL, author Paul DuBois dives into some useful real-world examples to help you build your skills. He shows how to implement a simple to-do list application, an online product registration site, contests, online polls, image databases, an online greeting card service, and more. There is also excellent coverage of search facilities and session management.
The sample code for the applications in this text is presented in small pieces in context with the discussion; most of the space is devoted to explanations of the issues and implementation. All of the code is available, however, from the book's companion Web site. This tutorial is an excellent way for Perl developers to move to the next level of development and make the most of some powerful, free tools. --Stephen W. Plain
From the Publisher
Paul is a prime example of the kind of author we look for here at New Riders Publishing - a VOICE THAT MATTERS. Readers of his previous book- "MySQL" - can't seem to say enough good things about his incredibly engaging writing style and the amount of detail and know-how Paul brings to his work. Paul has done it again with "MySQL and Perl for the Web."
Pre-published reviews of this book say that there is information here that can't be found anywhere else. The amount of detail and depth behind this difficult to master technology combination, is beyond what you'd expect.
Paul has once again written a masterpiece that I am proud to publish. It's because of authors like him that people like me continue to be excited by what we publish and then are able to turn around and make it available to people like you. As always, I like to hear from our readers about their experience with the book so please write in and tell me at firstname.lastname@example.org. I know you'll be pleased.
~Stephanie Wall, Executive Editor
Showing 1-5 of 25 reviews
There was a problem filtering reviews right now. Please try again later.
The attention to detail and accuracy of the examples is just incredible!
This is by far the most used reference book in my library. After repeatedly having to tape the book together, I finally gave it away and bought a new one.
Following his examples eliminates many potential pitfalls that would otherwise result in hours of troubleshooting.
I can't imagine how I would have ever learned this information without the expert advice of the author, Paul DuBois. His coverage of CGI.pm is essential as well as his list of other books to read.
I think I have all his other books as well.
He even returned email almost immediately!
My only complaint is that it isn't bound in leather!
I bought the book and started patching elements of the example applications together until I had everything almost working. One problem delayed me a couple of days so I emailed DuBois with a question and received a solution within the hour.
I'd recommend this book to anyone who has a moderate grasp of Perl and Apache. It's one of the most lucid computer books I've ever read.
"MySQL and Perl for the Web" by Paul DeBois and figure out
how those fancy web applications out there are made and learn
how to be able to write one.
Paul's "MySQL and Perl for the Web" touches upon some topics
that NONE OF THE BOOKS out there ever covered in so much details.
The style and examples are amazing. He makes use of Perl5's Object
Oriented features which itself tells you that it's a professional
textbook for professional web-programmers.
The book teaches you neither Perl nor MySQL from basics. It
assumes you already have some basic knowledge of Perl and MySQL.
So it starts off at the most fun part without waisting neither his nor
the readers' time.
Here I'll go over the chapters in case the table of contents
don't tell you much (they didn't to me).
Chapter 1 and chapter 2 go over some basic things that you need
in order to understand and/or try out the examples in the book.
Chapter 2 goes over configurting your MySQL and Apache. I believe
if you are on a hosting service, this should've been done for you already.
It also teaches you to write "A Simple Web-Based Application - To-do List
Maintenance". Although the application doesn't require a lot of
brains to create, but it does cover some basic concepts that
you'll be using all the time in web-programming.
Chapter 3 gives some information on "Improving Performance with mod_perl"
and how to write scripts that work in mod_perl compiled servers.
Chapter 4, "Generating and Proccessing Forms" goes over "Form Anatomy"
and does introduce some concepts of "Form Desgin Issues"
Chapter 5, "Writing form-Based applications" is probably the wealthiest
chapter of the book. Following sections are available under this chapter:
"Product registration", "Using Email from Within Applications", "Running a
Giveaway contest", "Conducting a Poll", "Storing and Retriving Images",
"Electronic Greeting Cards - Send a Friend a Greeting".
This chapter lasts over 80 pages.
Chapter 6, "Automating the Form-Handling process" introduces some
concepts that you can make use of in order to automate the form handling
process through the use of MySQL's table metadata, which is available
through DESC table_name ( or SHOW COLUMNS FROM table_name ) query.
Using his concept I introduced a new module to CPAN.org, MySQL::TableInfo.
Chapter 7, "Performing Searches" covers "Writing a Form-Based Serch
Application" and "Extending" it. It also introduces the concept of
"Link-Based Navigation". It also teaches you how to split the results of the search
over several pages; suppose you have a result of 100 rows in your search, and
you show only 20 results at a page, and provide [previos] and [next] links
so that users could navigate over your pages. Neat, isn't it?
Cahpter 8, "Session Management" was the one I have been wating for so long.
It goes over some "State Maintenance Techqniques" used in web applications, then
introduces the most favorite one, "Active Client Identification" method.
The sections the chapter covers are: "State Maintenance Techqniques", "Implementing
Session Support", "Expiring Sessions", "Storing User Prefernces", "Implementing Resumable
Sessions" and "When Sessions aren't enough"
Chapter 9, "Security and Privacy" teaches you the ways of precaution you could
take against "bad guys" ( hackers? ) to insure the security of your site/database.
Also shows you how to write a login page to provide access to some sensitive information
using the techniques he just mentioned.
Chapter 10, "E-Commerce Applications" covers such topics as Shopping carts,
credit card validation and in the end of the chapter completed a fully operating
Although the book concentrates on MySQL, I wrote several applications that make use of
Berkeley Database using the same techniques as Paul suggested. I tell you, I lerned a lot....
For web applications, a backend database is necessary (MySQL). But how to access and operate on these dabatases? Perl comes into scene at this point.
I don't understand why people write so many books on PHP and MySQL, and so few on Perl and MySQL. Up to now, Paul's book is the only one I ever saw to cover both MySQL and Perl's application in web pages.
Paul's method is step by step, and the examples are not trivial ones. And he clearly explained the critical parts of his code. He even wrote some packages which can be used as library.
Before reading his book, I feel curious how the dynamic web pages work. Now, after finishing his book, I can understand how a commercial site such as Amazon works.
Finally, I recommend this book be bought with the other title by Paul - "MySQL". This is the book dedicated to MySQL language. It is a good companion to "MySQL and Perl for the Web".