- It has to have beautiful and simple markup. Template engines which don't produce good looking markup are no fun to use.
- It needs to be non evaling and secure. Liquid templates are made so that users can edit them. You don't want to run code on your server which your users wrote.
- It has to be stateless. Compile and render steps have to be separate so that the expensive parsing and compiling can be done once and later on you can just render it passing in a hash with local variables and objects.
- Using liquid. Its implementation in Java (liquip) or use the implementation originail with jRuby.
- Jangod
- handleblars.java
Handlebars is best supported by spring and you can make Helpers to emulate Liquid's filters.
I do not have much information on the implementation of the liquid in java, but its original version in ruby is very robust and is in use a long time.
The syntax Jangod isvery user friendly as the liquid.
Does anybody have some experiencie with one of this template engine on broadleaf?