On Wed, 06 Apr 2011 15:21:13 -0400, Michael Peters wrote
> 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. 


As long as the main feature of keeping logic completely separate from
presentation is left intact, this is great news. The limitations of H::T are
the exact reason we chose it as our templating system.


> To that end, I've got the following goals:
> 
> + Add a <tmpl_elsif> tag

YES, PLEASE!

> + User defined escapes

Also welcome.

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

If there were a way for child loops to use vars from the parent loop if they
do not exist in the child, it would be great. The global_vars feature puts the
vars into -every- loop, which is overkill and incurs a very hefty speed
penalty. It also clobbers same named vars in the child. As a result we don't
use global_vars at all and manually populate child loops with parent vars
explicitly as needed. This makes the perl get a little ugly but prevents the
speed hit.

All in all, great news. The module still works great, but improvements are
always welcome!

Thanks,
Alex

------------------------------------------------------------------------------
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