Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
Programming the Perl DBI

Programming the Perl DBI
by Alligator Descartes; Tim Bunce

Top Sellers in this Category

High Performance MySQL, 2nd Edition

High Performance MySQL, 2nd Edition
by Baron Schwartz; Peter Zaitsev; Vadim Tkachenko; Jeremy Zawodny; Arjen Lentz; Derek J. Balling

MySQL and Perl for the Web provides a much-needed handbook for database and Web developers seeking an extensive and detailed guide for using the combination of MySQL and Perl to build dynamic and interactive database-backed Web sites. It shows how to use Perl's DBI database access module, pairing it with with the CGI.pm module that allows Web pages and forms to be generated and processed easily. These tools provide developers with a solid foundation for creating applications that incorporate database content to create dynamic, up-to-date Web sites.

The book employs a practical learn-by-doing approach that demonstrates development techniques by building complete applications, not just fragmentary pieces. It shows what to do at each step of the way during the process of building live, working examples. Applications are fully explained so you can understand how they work and apply the techniques they illustrate to your own projects.

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 4.5 out of 5 rating Based on 26 Ratings

A great book to get you up to speed - 2005-04-24
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Disclaimer: I was given a copy of this book on the condition that I would write a review of it. That said, what follows is my opinion.

This book provides a good "from the ground up" guide for using Perl to do just about anything you'd want to do on your web site, including run an eCommerce site. You need to know a bit of Perl before you start, but even if you don't the examples start out simple enough that you should be able to pick it up as you go, provided you have some programming background. Should you get stuck, there are plenty of pointers to online resources, as well as an appendix to show you how to set up the software used in this book.

The book starts out with the basics: setting up MySQL and Apache to get at your data via the web, including Perl DBI basics. You then get started by writing a simple to-do list application, and in the process create modules that you will use (and build on) later in the book.

Mod_perl is covered, and then progressively more complex form based applications are presented. Many useful techniques are discussed. Once you're just about tired of all the tedium of form based applications, automated form-handling techniques are introduced that use meta-data about the table structures to automatically generate (and validate) input data. Techniques for session management get a chapter as well, presenting very good information on the pros and cons of different session management techniques (IP, cookie, URL key, etc).

Security and privacy get a very good chapter. Not only are issues presented regarding keeping user's information confidential, but cautions are also presented regarding keeping the server secure. SQL injection attacks are discussed, as are defenses against them. Hint: use MySQL's quote() function.

The book closes with a chapter on writing an eCommerce application. All the techniques used in the book are brought together in one application, and it is shown (very well) how they all relate to each other. While the resulting eCommerce application is extremely simple in regards to what it can do, it effectively shows the reader the power of MySQL and Perl together, and provides an excellent reference when writing applications of one's own.

I am a system administrator, and have done a good chunk of web site design (mostly the technical side) and programming. I've been using Perl since 1996, and MySQL with that since 2000 (used mSQL before that). So, yes, I had quite a bit of Perl and DB experience before I read the book. I say that to say this: I still learned things. There were tips and techniques in there that I hadn't thought of, and will make my job just a bit easier the next time I use Perl to write a MySQL based application. Even if you have some Perl and MySQL experience under your belt, the book will still be useful.

An excellent book on both MySQL and Perl. - 2004-09-14
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
There are plenty of books about MySQL and PHP in bookstores. Yet, I still prefer Perl as my web page languages, thanks to its powerful regex and the similarity to C grammar (Some functions have exactly the same name and take the same arguments as in C).

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".

This is the most important book in my library (of over 300) - 2004-01-30
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Like many others, I wish I'd seen this book long ago.

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!

Clear explanations and excellent examples - 2003-11-03
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is an excellent book. I knew my way around Perl and had done a few relatively simple CGIs before being handed a project to build an application that would allow 50 or 60 employees to enter several thousand customer complaints and email them to the right recipents based on the complaint content. I had a three-week deadline.

I bought the book and started patching elements of the example applications together until I what I needed 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 but no templates? - 2003-08-20
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This isn't a complete review but readers should be aware that this book does NOT cover templates (it doesn't appear in the contents or the index). There's no mention of Template Toolkit or HTML::Template, for example. (Text::Template and HTML::Mason get mentioned as an aside, but that's it) Similarly, there are three chapters on forms, but no mention of CGI::FormBuilder.

Seems like a big omission to me. YMMV.

Browse Similar Topics

Top Level Categories:
Databases
Internet/Online

Sub-Categories:
Databases > MySQL
Internet/Online > Perl

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2009 Safari Books Online. All rights reserved.