[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Re: HT vs TT speed wise


Hi Robert

>> Right. And to my taste HT is the one to swallow, with TT the one to spit
>> out.
> If you care to elaborate I would like to know why?

HT is HTML::Template
TT is The Template Toolkit

Firstly, my choice was a decision taken years ago. It may well be
different if taken today.

o I found the complexity of TT's docs quite off-putting, although part of
the problem was the large quantity of docs, which of course is really a
good thing, even if so hard to navigate

o I had difficulty learning TT's way of doing things (again, which would
be different today), which is simply the way the author thinks and codes.
I see this from having written code based on his Pod::POM module [1]

o HT is simpler to grasp and utilize, since it corresponds more closely to
a 'little language' and hence is more immediately familiar. The
substitutions which take place in TT's processing of what you write are
more subtle, and more automagical, and hence more abstract, which mattered
greatly to me back then. For these reasons I'd recommend HT to first-time
users of these modules

[1] http://savage.net.au/Perl.html#fancy_pom2_pl

--
Ron Savage
suppressed
http://savage.net.au/index.html

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.