Penguin Power!
Buy Linux distributions at discount prices!
Linux| Perl| PHP| Webserv| Databases| Sysadmin| Programming| Filesystems| Java| Webprog
News from Slashdot
Therapy Over IP Draws the Young, Isolated

Ask Slashdot: How To Deal With Refurbed Drives With Customer Data?

Three Unexpected Data Points Describe Elementary School Quality

WSJ Says Pro-ACTA Forces Helped Drive Anti-ACTA Reactions

Google Close To Launching Cloud Storage 'Google Drive'

FAA Bill Authorizes Surveillance Drones Over US

The Lack of Scientific Philanthropy In Japan

TomTom Satnavs To Set Insurance Prices

EPIC Sues FTC Over Google's Planned Privacy Changes

What Scorpions Have To Teach Aircraft Designers


Related products:

Practical mod_perl Practical mod_perl

Perl Best Practices Perl Best Practices

Embedding Perl in HTML With Mason Embedding Perl in HTML With Mason


Perl Cookbook, Second Edition Perl Cookbook, Second Edition

Perl Books

Perl Template Toolkit

Perl Books
Format: Paperback
Author: Darren Chamberlain
ReleaseDate: 30 September, 2003
Publisher: O'Reilly Media
Rating:

Well written, but not terribly useful for what I wanted.


Specifically I wanted something which would match the perl TT with Class::DBI and CGI::FormBuilder. I was looking for a book which would describe the template toolkit in great detail for use in web development(CGI's).

The Perl Template Toolkit was clearly written with good examples, but is fairly light in the CGI realm. Only chapter 12 has CGI examples, with no javascript thrown in.

A mating to CGI::FormBuilder is a natural marriage to the perl template toolkit, but CGI::FormBuilder is not even mentioned.

It's too bad the book doesn't cover in more detail some of the commonly used CGI modules in conjunction with the perl template toolkit, as the writing and examples are top notch.

It's a great look at the template toolkit, but doen't throw in enough info to hook it into the rest of the perl/web development realm to be as useful as it could have been.

With a few more chapters I think this could be a really great book.

I would not have purchased this book if I had thumbed through it at a bookstore.


good book for several audiences
This book seems designed for at least two audiences, people who want to create something like a website using the TT and people who want to hack/extend the template toolkit. I picked up this book because I want to use a templateing system to produce web pages and I grok Perl pretty well.

The book is a very gentle and seemingly thorough introduction and explanation. The authors write with clarity and humor. I must admit that the authors write with such thoroughness and gentleness that I sometimes grew impatient. One addition I would have liked is more examples. Chapter 2 carefully explains a complete, but very simple example and Chapters 11 and 12 contain much richer examples. However, I find that I never learn unless I *do* and for such a long book, I was surprised that there wasn't more directly about the application of the TT.

You can use this book and the toolkit without knowing any Perl. The authors explain things well and clearly. However, you will get maximum value from the TT (and grok the syntax most quickly) if you know some Perl. The material on filters and plugins (there is a chapter on each, parts of another chapter about writing your own, plus entire chapters dealing with DBI and XML plugins. . . it's a good chunk of the book) is wonderfully detailed and probably justifies the book.

I skimmed most of the material on hacking and extending the toolkit. It seemed pretty thorough, even explaining how to alter or replace the TT syntax (right down to a quick tutorial on Yapp/yacc). I learned a lot from the little bit I read. I suspect this would be very helpful to Perl hackers and others as an example.

A note about the toolkit itself. It's very powerful. In many ways, it's like Perl itself (e. g. , it has a Perl-like syntax). It has exceptions but scoping seems weak and there appears not to be anything like 'use strict'.

In summary, this is a good book for a variety of audiences. It is very well written and you should leave it's pages with enough know-how to use it for something like web page generation. I learned a lot about Perl and available CPAN modules (in addition to learning a lot about the TT). But I wish there was more direct practical application as examples, exercises, recipes, etc.





Go to lyrics-now.com for music lyrics and song lyrics.
Bass and guitar tablatures: Fretplay.com, Guitar tabs, Bass tabs, Fresh tabs, How to read tabs
Plan your travel and holiday here: Travel Helper!