On Thu, Apr 8, 2010 at 8:47 PM, Ruben Reusser <[email protected]> wrote:

> I'd like to see some templating language that allows to set up a basic
> template for a page, then one can inherit that template and overwrite
> certain sections. It would be great to have html fragments defined somewhere
> and then apply the data to them (closure style for html rendering). Say I
> want to output a table of data, the code should be something like for each
> row of the table apply the output from over there. And I really think the
> html templating language should not use an XML structure - it should be a
> set of tags that do not force you to escape a lot of code...


I use Jamon <http://jamon.org> because it's statically typed and is
basically a thin veneer over Java, but
StringTemplate<http://www.stringtemplate.org/>and Django's
templates <http://docs.djangoproject.com/en/dev/topics/templates/#id1> also
allow for these types of things. Any templating system that doesn't allow
for complex page composition and easy template reuse is just so horribly
broken.

Moandji

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to