[Melbourne-pm] a perl html template processor I wrote
Daniel Pittman
daniel at rimspace.net
Tue Apr 29 19:57:07 PDT 2008
"Alfie John" <alfiejohn at gmail.com> writes:
> On Tue, Apr 29, 2008 at 10:14 PM, Sam Watkins <swatkins at fastmail.fm> wrote:
>
>> I wrote an html template processor for a CGI/perl job,
>>
>> I think it's quite a nice system, the syntax and design is simpler than
>> other template programs I've seen.
>>
>> Is this interesting to anyone who does web development?
>
> Some say that a HTML templating system is a Perl rite of passage.
Everyone writes one is some language or other, I think, just like
everyone eventually reinvents sed, a memory allocator, garbage
collection, a "real" macro pre-processor and their very own OS or GUI
widget library.
> Depending on what your needs are, you might want to try the simple
> (and lite) HTML::Template, or even a more complex but complete
> HTML::Mason:
I would turn to Template::Toolkit, which generally strikes a good
balance between a complete template language and the original language.
Oh, and ships with bindings to databases. Just sayin'.
Regards,
Daniel
More information about the Melbourne-pm
mailing list