On Tue, 2007-06-05 at 11:36 -0700, Michael Greenish wrote:
> But I'm locked in to using HTML::Template because I know it, have
> wrapper functions created and I don't have time to figure all that
> stuff out again, plus redo old templates or re-write model classes to
> spit data out in a different format.  I haven't looked at Embperl or
> Html::Mason, but I'm pretty excited about trying TT on my next perl
> project.  
> 


You may want to look at CGI::Ex::Template
http://search.cpan.org/~rhandom/CGI-Ex-2.13/lib/CGI/Ex/Template.pod

It can handle templates from HTML::Template and Template Toolkit, as
well as providing access to TT3 grammar before TT3 as been released.

It doesn't have the same community that TT has, but the author (Paul
Seamons) is on the TT list and on perl monks.

I haven't tried it, but looking at the contributions that Paul has made
to TT, I think that his code would be trustworthy.

>From the docs:
"CGI::Ex::Template is fast but CGI::Ex::Template::XS is even faster. If
CGI::Ex::Template isn't fast enough for you, the XS version has key
methods coded in C and provides a noticable improvement over the non-XS
version. CET by itself is generally faster than TT, HT, and HTE. The XS
version is nearly always faster - even than HTJ. CET also uses less
memory than TT and HTE, and only a little more than HT. (This is all as
of version 2.13 in May 2007 - those other modules will undoubtedly
receive updates that will improve their performance)."

clint

Reply via email to