Web Development With Apache And Perl: A Book Review
Title: Web Development with Apache and PerlAuthor: Theo PetersenPublisher: Manning Publications, Inc.ISBN: 1-930110-05-5
From the back cover: "Open source tools provide a powerful and flexible environment for web development and maintenance."
Now, this sounds like the right book for intra/inter/extranet development, and indeed, it covers all three in excellent depth for those who want to design and build a full and robust web site. The author takes the reader step-by-step through the workings of CGI, mod_perl, DBI, HTML::Mason, security, content management and organizational makeup for community, corporate and e-commerce sites. Within four chapters, there's a web site framework in place and working.
I was impressed with the quality and utility of the code presented. Useful scripts are always appreciated. The errata page for the book reflects the apparent effort expended by Manning and Theo in preparation--there is none so far. I thought I found a typo in the code on page 84, but lucky for me, I ran the script first to check. Guess what? It wasn't a typo. The typo was my small brain.
In order to use the book, the reader must already have the following on board:
DBI and driver for at least MySQL
A significant investment in time and effort, but well worth it--if only I knew in advance.
The first third of the book, which focuses on CGI basics and offers a thorough introduction to the Web from a commercial level, is excellent. If the reader is familiar with the Perl programming language and HTML, there will be a lot of positive reinforcement and ideas presented. If the reader is not familiar with the Perl programming language and HTML, but he or she is careful and takes the time to type and execute each script found, a true learning experience will be had.
The second third of the book was based heavily on having installed successfully Perl, DBI and mod_perl. This combination will certainly distract the reader for great lengths of time, installing and preparing for the material to come. I would have liked to see more parallel examples based on flat file data storage, in order to keep the reader moving forward. After all, Theo has written what appears to be a "keeper" for any programmer's bookshelf. Reference books that guide and explain in an easy-to-read format are not plentiful, but this book does just that.
The last third (it's actually divided into four parts, but I've combined the last two) of the book covers a lot of ground topic-wise, and it is an excellent and informative checklist for building for the future. Whatever kind of web site you might want to build, if you plan properly, it can be scaled indefinitely. And that is what makes this book so special. It identifies the considerations that come into play from the very beginning. Topics such as configuration, development platform, staging platform, production platform, backup and recovery, security, stress testing and maintenance all are covered beautifully. This is a must read for all those who want their site to perform and perform well.
The blogging experience was missing, though. Maybe in the next printing, we'll see Theo rethink his emphasis on HTML::Mason and move towards tools like Movable Type, a Perl-based weblog and others. Overall this is an excellent book, highly recommended for computer labs in schools, clubs or groups that want to build their own web sites from the "ground up". Just make sure someone in the group really likes the sysadmin part of setting up server configurations properly.
Tom Poe is presently working on the Open Studios Project at www.studioforrecording.org and lives in Reno, NV.
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- Stunnel Security for Oracle
- The Firebird Project's Firebird Relational Database
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- Doing for User Space What We Did for Kernel Space
- Google's SwiftShader Released
- SuperTuxKart 0.9.2 Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide