Apache::Template

Apache/mod_perl interface to the Template Toolkit
Download

Apache::Template Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andy Wardley
  • Publisher web site:
  • http://search.cpan.org/~abw/

Apache::Template Tags


Apache::Template Description

Apache/mod_perl interface to the Template Toolkit Apache::Template is a Perl module that provides a simple interface to the Template Toolkit from Apache/mod_perl. The Template Toolkit is a fast, powerful and extensible template processing system written in Perl. It implements a general purpose template language which allows you to clearly separate application logic, data and presentation elements. It boasts numerous features to facilitate in the generation of web content both online and offline in "batch mode".This documentation describes the Apache::Template module, concerning itself primarily with the Apache/mod_perl configuration options (e.g. the httpd.conf side of things) and not going into any great depth about the Template Toolkit itself. The Template Toolkit includes copious documentation which already covers these things in great detail. See Template and Template::Manual for further information.SYNOPSIS # add the following to your httpd.conf PerlModule Apache::Template # set various configuration options, e.g. TT2Trim On TT2PostChomp On TT2EvalPerl On TT2IncludePath /usr/local/tt2/templates TT2IncludePath /home/abw/tt2/lib TT2PreProcess config header TT2PostProcess footer TT2Error error # now define Apache::Template as a PerlHandler, e.g. < Files *.tt2 > SetHandler perl-script PerlHandler Apache::Template < /Files > < Location /tt2 > SetHandler perl-script PerlHandler Apache::Template Requirements: · Perl


Apache::Template Related Software