>>>>> "Simon" == Simon McGregor <[EMAIL PROTECTED]> writes:

Simon> Our problem isn't one of how to convert an existing application
Simon> or site to work under TT. We want to continue to develop sites
Simon> using our template syntax and extensions if possible, because
Simon> we really like them (and everyone in our company has learned
Simon> them). But we want to improve the template engine. We *could*
Simon> reinvent the wheel, make our engine generate and cache Perl
Simon> code and do all the other neat things TT does. On the other
Simon> hand, if we can do the same thing by hacking TT, we'd obviously
Simon> rather do that.

I'd say a source-to-source translator would be worth investing in,
then, as long as there are no semantics in your templating system that
don't map well into a TT construct.  In fact, you could even
do it inline:

[% FILTER YourSystemToTT | tteval %]
... your template here ...
[% END %]

The tricky part is writing "YourSystemToTT". :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to