Perl Template Toolkit

Perl Template Toolkit

by Dave Cross (Author), Darren Chamberlain (Author), Andy Wardley (Author), Dave Cross (Author)

Synopsis

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.

$34.28

Save:$5.90 (15%)

Quantity

20+ in stock

More Information

Format: Paperback
Pages: 592
Edition: 1
Publisher: O′Reilly
Published: 02 Jan 2004

ISBN 10: 0596004761
ISBN 13: 9780596004767

Media Reviews
If you are a Perl programming then this is an essential book. VSJ, June 2004 The authors are clearly passionate about Perl: the writing is sharp, to the point, and - this might sound odd about a topic like Perl templating - exciting. Any monkey could write a book on TT in 100 pages discussing what it does and how it works, but what these three have managed to put together is an explosion of ideas and evolutionary 'wow factor' that makes for compelling reading for any Perl programmer who has looked at JSP and felt a twinge of envy. 574 pages of Perl templating is anything but boring... no expense has been spared in making this a high-quality package full of excellent code as well as up-to-date hints and advice. The print is O'Reilly's usual 'animal' style; clear and easy to read, with Perl guru Nat Torkington presiding as editor.Linux Format, October 2004 If you have a requirement for anything that goes beyond the simple one page 'look at my website', and you care passionately about dynamic content creation and management, then this is definitely the book for you. - Davey Winder, PC Plus, Nov (rating 8/10)
Author Bio
Darren Chamberlain is an active member of the Template Toolkit development team. Dave 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.