On 03 Sep 2004 07:11:52 -0700, Randal L. Schwartz <[EMAIL PROTECTED]> wrote:
> >>>>> "Drew" == Drew Taylor <[EMAIL PROTECTED]> writes:
> 
> Drew> My boss is dead set to use HTML::Template at work. But I prefer TT
> Drew> since it makes my life easier. So I got the idea that maybe I could
> Drew> use TT to process the template which would make it much easier to slip
> Drew> in TT-based apps. How much work would it be to write a grammer/parser
> Drew> for TT that I could use on my existing TT? How would I go about it?
> Drew> And I totally crazy for wanting to do this?
> 
> How about using Template::Plugin::HTML::Template?
> 
> Note - I have never used HTML::Template, because the last thing
> I want to do is type more angle brackets. :)

Thanks for the tip. The H::T plugin looks very interesting. I haven't
had a chance to see if it has support for H::T::Expr support as well,
which would be needed in my case. But I suspect it might be relatively
easy to add.

The downside is that this is a filter, and in my case would require
some work on the backend to modify my pre_process & post_process
templates to include the necessary commands to load the plugin and
start the [% FILTER %] section. Not a big deal, but a more
comprehensive solution would be nice as well.

Drew
-- 
----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: [EMAIL PROTECTED]  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to