CGI::Builder::TT2

CGI::Builder::TT2 is a Perl module for CGI::Builder and Template Toolkit 2 integration.
Download

CGI::Builder::TT2 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stefano Rodighiero
  • Publisher web site:
  • http://search.cpan.org/~larsen/CGI-Builder-TT2-0.03/lib/CGI/Builder/TT2.pm

CGI::Builder::TT2 Tags


CGI::Builder::TT2 Description

CGI::Builder::TT2 is a Perl module for CGI::Builder and Template Toolkit 2 integration. CGI::Builder::TT2 is a Perl module for CGI::Builder and Template Toolkit 2 integration.SYNOPSIS # just include it in your build use CGI::Builder qw| CGI::Builder::TT2 |;This module transparently integrates CGI::Builder and Template in a very handy, powerful and flexible framework that can save you a lot of coding, time and resources.With this module, you don't need to produce the page_content within your page handlers anymore (unless you want to); you don't even need to manage a template system yourself (unless you want to).If you use a template system on your own (i.e. not integrated in a CBF extension), you will have to write all this code explicitly:· create a page handler for each page as usual· create a new template object and assign a new template file· find the runtime values and assign them to the template object· run the template process and set the page_content to the produced outputYou can save all that by just including this module in your build, because it implements an internal transparent and automatic template system that even without your explicit intervention is capable of finding the correct template and the correct runtime values to fill it, and generates the page_content automagically. With this module you can even eliminate the page handlers that are just setting the page_content, because the page is automatically sent by the template system. Requirements: · Perl · CGI::Builder >= 1.12 · Template >= 2.0


CGI::Builder::TT2 Related Software