Template::Parser::CET

Template::Parser::CET is a Template::Alloy based parser for the TT2 engine.
Download

Template::Parser::CET Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Seamons
  • Publisher web site:
  • http://search.cpan.org/~rhandom/

Template::Parser::CET Tags


Template::Parser::CET Description

Template::Parser::CET is a Template::Alloy based parser for the TT2 engine. Template::Parser::CET is a Template::Alloy based parser for the TT2 engine.SYNOPSIS use Template; use Template::Parser::CET; my $t = Template->new( PARSER => Template::Parser::CET->new ); # you can override all instances of TT # by any of the following methods use Template::Parser::CET activate => 1; # OR use Template::Parser::CET; Template::Parser::CET->activate; # OR use Template::Config; $Template::Config::PARSER = 'Template::Parser::CET'; my $t = Template->new;Template::Parser::CET provides much or most of the TT3 syntax and runs on the current TT2 engine.Template::Alloy which was formerly known as CGI::Ex::Template (CET) provides a fast implementation of TT2 and TT3. There are some cases where Template::Toolkit is faster. There are also some cases where shops have custom providers, or custom stashes that require the use of the current TT2 engine. In these cases, Template::Parser::CET provides the best of both worlds - offering TT2 AND TT3 syntax and running on the existing platform making use of all of your current work (In many cases CET should be able to do this anyway).This module may eventually be made obsolete when the final real Template::Toolkit 3 engine by Andy Wardley is released. But that would only be a good thing. If the TT3 engine doesn't provide full backward compatibility this module will.CET has provided TT3 features since Spring of 2006 but there has been little reported uptake. The TT3 features/extended syntax are very compelling. For various reasons people chose not to use CET. Now people can use TT2 and get the features of TT3 (through CET) today.Hopefully Template::Parser::CET and Template::Alloy can be used in the same spirit as Pugs is used for Perl 6. All of the code from CET and Template::Parser::CET are free for use in TT3. Requirements: · Perl


Template::Parser::CET Related Software