Books & Videos

Table of Contents

  1. Chapter 1 Getting Started with the Template Toolkit

    1. What the Template Toolkit Does

    2. The Templating Ecosystem

    3. Installing the Template Toolkit

    4. Documentation and Support

    5. Using the Template Toolkit

    6. The Template Toolkit Language

    7. Template Variables

    8. Template Directives

    9. Integrating and Extending the Template Toolkit

  2. Chapter 2 Building a Complete Web Site Using the Template Toolkit

    1. Getting Started

    2. Template Components

    3. Defining Variables

    4. Generating Many Pages

    5. Adding Headers and Footers Automatically

    6. More Template Components

    7. Wrapper and Layout Templates

    8. Menu Components

    9. Defining and Using Complex Data

    10. Assessment

  3. Chapter 3 The Template Language

    1. Template Syntax

    2. Template Variables

    3. Virtual Methods

  4. Chapter 4 Template Directives

    1. Accessing Variables

    2. Accessing External Templates and Files

    3. Defining Local Template Blocks

    4. Loops

    5. Conditionals

    6. Filters

    7. Plugins

    8. Macros

    9. Template Metadata

    10. Exception Handling

    11. Flow Control

    12. Debugging

    13. Perl Blocks

  5. Chapter 5 Filters

    1. Using Filters

    2. Standard Template Toolkit Filters

  6. Chapter 6 Plugins

    1. Using Plugins

    2. Standard Template Toolkit Plugins

  7. Chapter 7 Anatomy of the Template Toolkit

    1. Template Modules

    2. The Runtime Engine

    3. Module Interfaces

  8. Chapter 8 Extending the Template Toolkit

    1. Using and Implementing Noncore Components

    2. Creating Filters

    3. Creating Plugins

    4. Building a New Frontend

    5. Changing the Language

  9. Chapter 9 Accessing Databases

    1. Using the DBI Plugin

    2. Using Class::DBI

    3. Using DBIx::Table2Hash

  10. Chapter 10 XML

    1. Simple XML Processsing

    2. Creating XML Documents

    3. Processing RSS Files with XML.RSS

    4. Processing XML Documents with XML.DOM

    5. Processing XML Documents with XML.XPath

    6. Processing XML Documents with XML.LibXML

    7. Using Views to Transform XML Content

  11. Chapter 11 Advanced Static Web Page Techniques

    1. Getting Started

    2. Library Templates

    3. Content Templates

    4. Navigation Components

    5. Structuring Page Content

    6. Creating a New Skin

  12. Chapter 12 Dynamic Web Content and Web Applications

    1. CGI Scripts

    2. CGI Templates

    3. Apache and mod_perl

    4. A Complete Web Application

  1. Appendix Appendix: Configuration Options

    1. Template Toolkit Configuration Options

    2. Apache::Template Configuration Options

  2. Colophon