Perrin Harkins wrote:
Dave Cross wrote:

Of course I wasn't surprised to see that Catalyst[2] uses TT, but when Simon Willison showed an example of Django[3] (a Python Framework) templates, it looked really similar to TT (they use {% ... %} instead of [% ... %]). Apparently they "borrowed" the ideas from Smarty[4], so it must have been Smarty that borrowed them from TT.

More like everyone borrowed them from ASP. Really though, the delimiters seem like the last interesting way for templating languages to resemble each other. The syntax, plugins, etc. would be much more significant.

Oh, the tag delimiters was only a silly example. It really goes much deeper than that. Take a look at the Liquid syntax page[1] or the "variable modifiers" (think TT filters) page on the Smarty site[2]. Django templates even have blocks[3].

Dave...

[1] http://home.leetsoft.com/liquid/wiki/DesignerHowTo
[2] http://smarty.php.net/manual/en/language.modifiers.php
[3] http://www.djangoproject.com/documentation/templates/

--
Site: http://dave.org.uk/
Blog: http://blog.dave.org.uk/
Code: http://dave.org.uk/code/

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to