On Sep 04, brian moseley wrote: > On Mon, 4 Sep 2000, Perrin Harkins wrote: > > > [% FOREACH thing = list %] > > <a href="[% thing.url %]"><b>[% thing.name %]</b></a> > > [% END %] > > what's the value? you have to write a parser and then > interpret the instructions. that's what eval() is for! and > your syntax is no prettier or easier to understand than the > perl. an interesting design constraint to introduce is allowing arbitrary (read: non-trusted) users to use the template markup. sometimes you can't just allow arbitrary perl to be embedded. and another thing i like to cater to is allowing the templates to be reasonably edited in common wysiwyg editors, which pushed me towards the ASP-style tag delimiters. paul's use of the class syntax is an interesting alternative to that. jim
- Re: HTML Template Comparison Sheet ETA Matt Sergeant
- Re: HTML Template Comparison Sheet ETA brian moseley
- Re: HTML Template Comparison Sheet ETA Matt Sergeant
- Re: HTML Template Comparison Sheet ETA brian moseley
- Re: HTML Template Comparison Sheet ETA Perrin Harkins
- Re: HTML Template Comparison Sheet ETA Sam Tregar
- Re: HTML Template Comparison Sheet ETA Ruben I Safir
- Re: HTML Template Comparison Sheet ETA Perrin Harkins
- Re: HTML Template Comparison Sheet ETA Andy Wardley
- Re: HTML Template Comparison Sheet ETA brian moseley
- Re: HTML Template Comparison Sheet ETA Jim Winstead
- Re: HTML Template Comparison Sheet ETA Perrin Harkins
- Re: HTML Template Comparison Sheet ETA Ian Kallen
- Re: HTML Template Comparison Sheet ETA Paul J. Lucas
- Re: HTML Template Comparison Sheet ETA Perrin Harkins
- Re: HTML Template Comparison Sheet ETA Matt Sergeant
- Re: HTML Template Comparison Sheet ETA Marc D. Spencer
- Re: HTML Template Comparison Sheet ETA Matt Sergeant
- Re: HTML Template Comparison Sheet ETA G.W. Haywood
- Re: HTML Template Comparison Sheet ETA Vivek Khera
- Re: HTML Template Comparison Sheet ETA Drew Taylor