Perl Template Toolkit

Front Cover
"O'Reilly Media, Inc.", 2003 - Computers - 574 pages
2 Reviews

Among the many different approaches to "templating" with Perl--such as Embperl, Mason, HTML::Template, and hundreds of other lesser known systems--the Template Toolkit is widely recognized as one of the most versatile. Like other templating systems, the Template Toolkit allows programmers to embed Perl code and custom macros into HTML documents in order to create customized documents on the fly. But unlike the others, the Template Toolkit is as facile at producing HTML as it is at producing XML, PDF, or any other output format. And because it has its own simple templating language, templates can be written and edited by people who don't know Perl. In short, the Template Toolkit combines the best features of its competitors, with ease-of-use and flexibility, resulting in a technology that's fast, powerful and extensible, and ideally suited to the production and maintenance of web content and other dynamic document systems.

In Perl Template Toolkit you'll find detailed coverage of this increasingly popular technology. Written by core members of the technology's development team, the book guides you through the entire process of installing, configuring, using, and extending the Template Toolkit. It begins with a fast-paced but thorough tutorial on building web content with the Template Toolkit, and then walks you through generating and using data files, particularly with XML. It also provides detailed information on the Template Toolkit's modules, libraries, and tools in addition to a complete reference manual.

Topics in the book include:

  • Getting started with the template toolkit
  • The Template language
  • Template directives
  • Filters
  • Plugins
  • Extending the Template Toolkit
  • Accessing databases
  • XML
  • Advanced static web page techniques
  • Dynamic web content and web applications
The only book to cover this important tool, Perl Template Toolkit is essential reading for any Perl programmer who wants to create dynamic web content that is remarkably easy to maintain. This book is your surefire guide to implementing this fast, flexible, and powerful templating system.
  

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

II
1
III
4
IV
8
V
10
VI
12
VII
21
VIII
22
IX
28
XXXVIII
172
XXXIX
176
XL
178
XLII
195
XLIII
196
XLIV
235
XLV
245
XLVI
251

X
32
XI
33
XII
34
XIII
36
XIV
39
XV
43
XVI
49
XVII
51
XVIII
58
XIX
66
XX
72
XXI
79
XXII
81
XXIII
82
XXIV
95
XXV
119
XXVI
137
XXVII
140
XXVIII
147
XXIX
148
XXX
153
XXXI
155
XXXII
156
XXXIII
158
XXXIV
161
XXXV
163
XXXVI
170
XXXVII
171
XLVII
286
XLVIII
300
XLIX
311
L
338
LI
347
LII
356
LIII
363
LIV
367
LV
375
LVI
377
LVII
380
LVIII
383
LIX
386
LX
388
LXII
393
LXIII
406
LXIV
413
LXV
422
LXVI
439
LXVII
454
LXVIII
466
LXIX
485
LXX
491
LXXI
496
LXXII
517
LXXIII
557
Copyright

Common terms and phrases

About the author (2003)

Darren Chamberlain is an active member of the Template Toolkit development team.

David Cross is the owner of Magnum Solutions Ltd., a London-based Perl Consultancy, and is also the author of the well-respected Data Munging with Perl.

Andy Wardley is the author of several CPAN modules including the Template Toolkit. He is a software researcher at the Canon Research Centre Europe and specializes in web-related technologies including dynamic content generation, web application frameworks, and the customization and localization of user interfaces and web content.

Bibliographic information