Template Toolkit
From Wikipedia, the free encyclopedia
Please help improve this article or section by expanding it. Further information might be found on the talk page or at requests for expansion. (January 2007) |
The Template Toolkit (TT) is a fast and flexible template engine used primarily for building web sites but also suitable for any type of digital document creation like PDF or LaTeX. Template Toolkit, or TT for short, is based on a mini-language, rather than allowing direct perl like some of its competitors like Mason. This forces developers to only have presentation logic in their templates, and move business logic into perl libraries. It is written in Perl, with some popular accessories in C, and released under a free software licence (Perl Artistic Licence or GPL).
It's also a popular choice as templating system for various perl application frameworks, including the Catalyst MVC Framework, CGI::Application and the Maypole framework.
The Template Toolkit was written by Andy Wardley. The "prototype" for TT (the Text::MetaText Perl module) was released in 1996. The first version of TT proper was released in 1999. Version 2.00 was released in 2001. Version 3 is currently in development.