User guide and reference manual for the Template Toolkit
This is the comprehensive user guide and reference manual for the Template Toolkit.
- Intro : Introduction to the Template Toolkit
This section provides a general introduction to the Template Toolkit, giving a quick overview of features, examples of template directives and use of the Template.pm module. It also described the basic concept underlying the toolkit: the separation of presentation elements from application logic and data.
- Syntax : Directive syntax, structure and semantics
This section describes the syntax, structure and semantics of the Template Toolkit directives and general presentation language.
- Directives : Template directives
This section provides a reference of all Template Toolkit directives, complete with examples of use.
- Variables : Template variables and code bindings
This section describes the different ways in which Perl data can be bound to template variables and accessed via Template Toolkit directives.
- VMethods : Virtual Methods
The Template Toolkit provides virtual methods for manipulating variable values. Most of them are analogous to regular Perl functions of the same names. This section describes the different virtual methods that can be applied to scalar, list and hash values.
- Config : Configuration options
This section contains details of all the configuration options that can be used to customise the behaviour and extend the features of the Template Toolkit.
- Filters : Standard filters
This section lists all the standard filters distributed with the Template Toolkit for post-processing output.
- Plugins : Standard plugins
This section lists the standard plugins which can be used to extend the runtime functionality of the Template Toolkit. The plugins are distributed with the Template Toolkit but may required additional modules from CPAN.
- Internals : Template Toolkit internals
This document provides an overview of the internal architecture of the Template Toolkit. It is a work in progress and is far from complete, currently providing little more than an overview of how the major components fit together. Nevertheless, it's a good starting point for anyone wishing to delve into the source code to find out how it all works.
- Views : Template Toolkit views (experimental)
This section describes dynamic views: a powerful but experimental new feature in version 2.01 of the Template Toolkit.
- Refs : Related modules, projects and other resources
This section provides references to external modules, projects and other resources related to the Template Toolkit.
- Credits : Author and contributor credits
This section provides a brief history of the Template Toolkit and details the primary author and numerous other people who have contributed to it.