Binding: Paperback Dewey Decimal Number: 005.133 EAN: 9780596004767 ISBN: 0596004761 Label: O'Reilly Media, Inc. Manufacturer: O'Reilly Media, Inc. Number Of Items: 1 Number Of Pages: 590 Publication Date: December 23, 2003 Publisher: O'Reilly Media, Inc. Sales Rank: 418363 Studio: O'Reilly Media, Inc.
Product DescriptionAmong 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.
Customer Reviews
Average Rating:
Rating: - A very powerful and verstile tool
I used this book on a couple of projects and was very impressed with how helpful it was. A suggest that I would like to see in this already large book is more examples of a full project. Each chapter addresses a part of the tool and the final chapter brings it all together, I would like to see another chapter for an example.
Rating: - Well written, but not terribly useful for what I wanted.
I was looking for a book which would describe the template toolkit in great detail for use in web development(CGI's).
Specifically I wanted something which would match the perl TT with Class::DBI and CGI::FormBuilder.
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, ... Read More
Rating: - good book for several audiences
I picked up this book because I want to use a templateing system to produce web pages and I grok Perl pretty well. 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.
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 ... Read More