View Review Details


Book:   Perl Template Toolkit
Subject:   A definitive book with limits that affect less prepared readers
Date:   2006-05-04 14:49:52
From:   Anonymous Reader
Rating:  StarStarStarStarStar

The Template Toolkit is a mini-language for filling in templates with data.


The most obvious use for this toolkit is generating html pages from a database.


A vigorous introduction to the language, that may clarify your decision to commit to Template::Toolkit is Randal Schwartz's "Building a Static Site with Template Toolkit" in March 2006 Linux Magazine and on the corresponding web site.


This book's strength and weakness is it is definitive and tightly limited to the Template Toolkit mini-language itself.


Starting after Chapter 3, the reader needs to understand the object syntax for Perl. A book like "Learning Perl" does not provide enough background to decypher the later chapters of Perl Template Toolkit.


This mini-language, intially authored by Andy Wardley has an elegant and disciplined separation of data from the presentation framework. When the reader seeks to create pages purely from a row of input data the Template language runs out.


I resorted writing a page stub generator that worked, and it is on the Template Toolkit mailing list. Any real progrmmer that looks at my hack will cringe and say... "that is pretty ugly, even for Perl"


See larger cover