Re: H::T future (was Re: [htmltmpl] xml complant tags)
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2003-12-08 23:16:26
|
> speaking of which, I have often wondered what could be improved in = H-T,=20 > and have failed to come up with anything. It just seems to be that=20 > perfect program that does perfectly what it said to do. Simple to=20 > install and understand, well-documented, and fast. In fact, imho, it=20 > should be made a core part of Perl as is CGI.pm. >=20 > But, since not being able to visualize the form of H-T's future might = be=20 > due to my lack of imagination, I am curious -- what are the ways in=20 > which the developer-kind want to see H-T to be in a few years/versions = > or so... Attached is my local copy of H::T which includes some changes which may = or may not be of use. The changes include: - TMPL_ELSIF tag, eg <TMPL_ELSIF somevar> - support for custom tags, eg <TMPL_CATGETS ...> - trailing slash in tags, aka <TMPL... /> - TVPL_VAR support for HTML=3DTEXT which allows paragraphs of text to be = formatted to respect newlines - dot syntax, eg 'user.name' - dot syntax with autovivification of leading template variable, eg = 'user.name' results in autovivification of 'user' I have included documentation to support the enhancements. Also, I have bumped the revision number to 2.7 so as to indicate a = non-standard release. Feel free to suggest / flame me. Mathew |