Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of markjugg (792)

Tuesday August 16, 2005
09:19 PM

flurry of HTML::Template dot notation work and releases

[ #26312 ]
There has been a lot of progress on adding TT's dot notation to HTML::Template.

Rhesa Rozendaal continues to make and release improvements to HTML::Template::Plugin::Dot. Recently he got support for TMPL_LOOP tags work as well.

Michael Peters soon added support to CGI::Application::Plugin::AnyTemplate.

Jason Crome released CGI::Application::Plugin::HTDot, which simply replaces CGI::Application's load_tmpl() with one that supports the dot notation.

Private, I received an inquiry if this will work with HTML::Template::Expr. That's not something I have looked to, but am interested to support.

For the next act, Rhesa is looking to some performance benchmarks to access how this solution compares to others.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Not to be rude, but I have to ask the obvious question: why not just use Template Toolkit? It does this very well, and the code that handles it has been varefully optimized over the years. Why try to put it into HTML::Template?
    • Personally, I use Template Toolit, but here's an attempt at a justification.

      People often criticize Template Toolkit because it gives designers too much power. Other people criticize HTML::Template because it doesn't give designers enough power.

      Personally, I think that the best solution is somewhere between the two extremes. I'm happy that people are adding small but powerful features to HTML::Template, and I'd be happy if people added small feature restrictions on TT. For instance, I hear someon