From: "Keith Jackson" <[EMAIL PROTECTED]>
> On Wed, 2005-01-05 at 01:58, Mathew Robertson wrote:
> > http://members.optusnet.com.au/mathew/
>
> Your version has some nice features that I could use, especially the
recursive HTML::Template invocation.  Is there a reason why Sam has not
included your mods into the CPAN version?
> I'd like to stay consistent and use versions from CPAN for our production
servers.

I agree. Matt's feature to do

       <TMPL_INCLUDE <TMPL_VAR NAME="VARIABLE_INCLUDE_FILE">>

would make H::T easier to use (in the example where I have a side navigation
bar used in 20 pages and the only thing different is the list element of
links).

I'd like to hear what Sam thinks of this.

I'd also like to hear what he or others think of my suggestion to be able to
perform "permanent" evaluation on a template. I really think this would be
useful such as the example where I language translate a template and all
that evaluation of the template is permanent for the life of the loaded
template.

I suppose the one complication is that a cached template is not gauranteed
to be present? Doesn't it discard cached templates after a certain cache
size is reached? I guess there would need to be a way to test if the
template is in cache and, if not, I'd have to re-execute my tmpl_load and
all the one-time evaluation. Or, the ability to mark a tmpl_load'ed template
as not discardable?

Mark



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to