Press Release: January 21, 2004
"Perl Template Toolkit": Scalable Templating for the Web
Sebastopol, CA--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 can produce PDF, XML, or any other output format as easily as it produces HTML. 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.
Perl Template Toolkit (O'Reilly, US $39.95) by Darren Chamberlain, David Cross, and Andy Wardley is the first book to provide detailed coverage of this popular technology. As coauthor Darren Chamberlain notes, "Most of the available documentation on the Template Toolkit is just that: documentation. There are very few tutorials or long-running examples available, which means that people have to piece things together. With a system as complex as the Template Toolkit, there are invariably gotchas and tricks, but up until now, information about these has been available only in the mailing list archives."
In Perl Template Toolkit readers learn how to build web sites and other dynamic document systems in such a way that they can be updated, modified, and re-branded quickly and easily. Written by core members of the technology's development team, the book moves through the entire process of installing, configuring, using, and extending the Template Toolkit.
The book begins with a fast-paced but thorough tutorial on building web content with the Template Toolkit, and then walks readers through the process of 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. Readers will learn to:
The 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 a surefire guide to implementing this fast, flexible, and powerful templating system.
- Chapter 2, "Building a Complete Website Using the Template Toolkit"
- More information about the book, including table of contents, index, author bios, and samples
- A cover graphic in JPEG format
O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.
Return to: O’Reilly Press Room