New York University Faculty of Arts and Science College of Arts and Science Graduate School of Arts and Science

Computing Resources

Template-Toolkit (version 2.10)

The Template Toolkit is a collection of modules which implement a fast, flexible, powerful and extensible template processing system. It was originally designed and remains primarily useful for generating dynamic web content, but it can be used equally well for processing any other kind of text based documents: HTML, XML, POD, PostScript, LaTeX, and so on.

It can be used as a stand-alone Perl module or embedded within an Apache/mod_perl server for generating highly configurable dynamic web content. A number of Perl scripts are also provided which can greatly simplify the process of creating and managing static web content and other offline document systems.

Version 2 is a near-total rewrite which adds many new features while remaining *almost* fully backwardly compatible with version 1 (see 'VERSION COMPATABILITY' below). The internal design and architecture have been greatly improved and the template language offers a number of powerful new directives, while retaining all but the broken, buggy, undocumented or experimental features that had crept into versions 0.* and 1.* over the years. Version 2 also offers important performance benefits, running significantly faster and using less memory than version 1. This can only be described as a Good Thing.

The Template Toolkit (version 1) received the award for "Best New Perl Module" at the 4th Perl Conference in Monterey last year (2000). Version 2 is even better and if it doesn't make your content funkier, your job easier, your life more fun and you more attractive to the appropriate sex, then you can always return it for a full refund. :-)