MySQL and Perl for the Web
Who is this book for? Developers looking for a quality book on Perl and database development should not pass this book up. While the title of this book is MySQL & Perl for the Web, it could have easily been called DBD/DBI & Perl for the Web. The SQL examples may or may not work with various databases, but the DBI interface code should remain the same. This book will also do well as a reference for experienced coders looking for well-crafted examples of web-based applications. What's good? The second chapter should be enough to get anyone up to speed with using Perl, DBI, CGI, Apache, and MySQL. After a brief introduction and configuration of MySQL and Apache, the author settles in to discuss coding DBI and Perl. The remainder of the chapter details the best practices for using Perl and DBI together. Near the end of the second chapter, the author creates a fully functional to-do list, demonstrating ways to add, update, and delete information from the database using Perl and DBI. Instead of taking small baby steps over many chapters, the author shows important concepts and best practices for those concepts quickly. Even seasoned (hardened?) programmers may learn new tricks or methodologies from the second chapter of this book.
Is that the end? Are we left with one very well written tutorial chapter? Thankfully, the rest of the book has plenty to offer. Subsequent chapters include:
- Improving performance with mod_perl
- Generating and processing forms
- Writing form-based applications
- Automating the form-handling process
- Performing searches
- Session management
- Security and privacy issues
- E-commerce applications
Each chapter is clearly written, with several examples used to demonstrate the concepts presented. The examples are clearly written, and the author makes the whole learning process enjoyable and fun. The examples range from a give-away contest (including a random drawing), an electronic greeting card program, polling programs, and a shopping cart program. Each of the examples is presented completely, but are introduced in pieces (subroutines, modules, etc.) The full source code is available from the author's website at http://www.kitebird.com/mysql-perl/
What's in it for me? MySQL & Perl for the Web is the book that Perl programmers on any project will wish The Other Guy had read. The examples are clear, the writing is engaging, and the code is maintainable. This is a practical book and should not be overlooked in any serious Perl programmer's library.You can purchase MySQL and Perl for the Web from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Two snaps down!!!
Tee-hee. I still laugh when I see that phrase.
Shutting down free speech with violence isn't fighting fascism. It IS fascism!
Why should I log in?
;)
Logged in users have a variety of benefits on Slashdot that are unavailable to users who don't bother logging in. Among these benefits are:
* The ability to save user preferences from visit to visit.
* Your own Journal in which to share your innermost feelings.
* The ability to define Friends & Foes to aid in reading discussions.
* A chance to participate in Slashdot's Moderation and Meta Moderation System.
* Posting in Discussions at Score:1 instead of Score:0 means twice as many people will see your comments.
So do it! Log In Already!
Answered by: Rob "CmdrTaco" Malda
Last Modified: 6/16/03
Can I change my nickname?
You can't. Sorry. It's just too prone to abuse. You can't delete your own comments. You can't change your name. There are no exceptions to this.
Answered by: Samzenpus
Last Modified: 12/19/01
How do I change my password or email address?
Go to the User Info Editing Page while you are logged in and use the form provided there.
Answered by: CowboyNeal
Last Modified: 4/03/03
How can I delete my account?
You can't. The system needs to keep track of the users, so accounts are permanent. Don't sweat leaving unused accounts hanging around. It doesn't hurt anything.
Answered by: CmdrTaco
Last Modified: 6/13/00
I forgot/can't get my password!
You should be able to get it from the user login page. Just type in your nickname and hit 'mailpasswd' and your password will be whisked off to your email address. If, however, this doesn't seem to be working, email passwords@slashdot.org for help.
Answered by: CowboyNeal
Last Modified: 3/4/02
I'm having trouble logging in.
Make sure you have cookies turned on. If you don't, it won't work. Also make sure that the date and time on your computer is correct. In an handful of cases, the problem could be related to a problem with a proxy server, but this is very unlikely. If you've turned cookies on and tried again to log in, and it still doesn't work, drop CowboyNeal a note and he'll try to help you.
Really, though, the system works for thousands of people every day, so the problem is most likely on your end
Answered by: CmdrTaco
Last Modified: 6/13/00
I'm having trouble logging into Slashdot Sections (Like Apple, YRO, or BSD)
You can be logged into slashdot while you view any of the subsections. All you need to do is hit any of the sections, and log in. Logging into one of them logs you into all. But you need to log into at least one section seperate from logging into http://slashdot.org.
Yeah, we know this is confusing, but we didn't write the RFC for cookies. Sorry for the inconvenience.
Answered by: CmdrTaco
Last Modified: 3/30/02
I don't want to accept a cookie!
A lot of people are paranoid about cookies, and not without reason, but the simple fact is that this is how you create persistence in a stateless protocol. I've heard all the arguments and all the debates on the subject, and this is how we're doing it.
If you don't want to use cookies, you don't have to. You can still post (either anonymously, or by entering your password each time you submit a comment) but you will not be able to use all of the advanced features of Slashdot (story filtering, customized Slashboxes, user preferences etc.). If your paranoia requires you not to use cookies, this is the sacrifice you'll have to make.
Answered by: CmdrTaco
Last Modified: 6/13/00
Someone is posting under a false identity, or an account designed to look like someone else
There are many accounts in the system that were created for malicious purposes. There are dozens of variations on names like 'CmdrTaco' and 'Hemos' as well as heads of many corporations, writers, etc. We don't tamper with existing accounts though, so there's nothing we can do about it. Over the last few years, numerous restrictions have been placed on a
I find there are a lot of books and resources which each Perl, or teach SQL, but don't teach you how to use Perl, or use SQL. For example, it is perfectly possible to read a book, learn Perl, and not be able to actually use it for anything useful (in regard to websites). Not many books that I've seen have addresses this. My personal knowledge of Perl for use in webpages is scraped together. Perldoc.com helps a lot, however. Books like this seem useful as a starting ground. PHP is gaining a lot of ground on PHP (It's overtaken it, I hear). This may be because it is more suited to suited to web development, or it may be more because all it does is web development: As soon as you know PHP, you know how to make a website using PHP. Most Slashdot readers will be past this point in learning a language I should imagine, so, without reading anymore than this book review, I might suggest it wouldn't be worth buying, but this is certainly the sort of book which should be on the bookselves in shops. A lot more helpful than 101 books about how to use IOSTREAMs in C++.
- Jax
PerlScript ASP is available for Apache on Linux, ready to work with MySQL through a REAL scripting language, ASP. Makes PHP look like a kids' toy, really.
*** This thread is marked as CLOSED ***
*** Please move on to another topic ***