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

Reply via email to