This email is an announcement of sorts for some work I've got planned 
for HTML::Template. I'm greatly in debt to Sam Tregar for this module 
and the use that I've gotten out it over the years.

After talking with Sam, he's given me permission to try to further the 
development of HTML::Template to give some needed features while 
maintaining the spirit that it was originally written in. That is, to be 
a fast, straight forward and easy to learn templating engine. To that 
end, I've got the following goals:

+ Move HTML::Template development to github. My repo is located at:
   https://github.com/mpeters/html-template
+ Use default perltidy settings
+ Use Dist::Zilla for release management
+ Go through the current RT queue and do some fixes, updates and triage.
+ Add a <tmpl_elsif> tag
+ Add a "format" attribute with built-in and user defined formats:
    <tmpl_var cost>
    <tmpl_var cost format="currency">
    <tmpl_var cost format="number">
+ User defined escapes
+ Add an encoding param to more easily handle UTF8/Unicode.
+ Break out parsing of templates into HTML::Template::Parser so that
   templates can be parsed and manipulated outside of rendering. And use
   HTML::Template::Parser internally in HTML::Template.

And for HTML::Template::Expr I want to do:
+ Allow boolean "!" in expressions for things like:
   <tmpl_if expr="foo && !bar">...</tmpl_if>
+ Allow "||" to work more like Perl's "||" when used in a <tmpl_var> :
   <tmpl_var expr="foo || bar">

Other ideas I'm on the fence about:
+ Like HTML::Template::Plugin::Dot allow methods to be called on
   objects:
   <tmpl_var start_date.mdy('-')>
+ Add a <tmpl_set> tag. Could be useful for template driven behaviors
   (combined with param() or query()) or when combined with
   <tmpl_include>:

Any questions? Comments? Verbal Abuse? Any offers of help?

Thanks,
-- 
Michael Peters
Plus Three, LP

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to