I was playing with the possibility to use another template engine than handlebars. In fact I'm most interested in jade, which was ported to java https://github.com/neuland/jade4j
Fluent rights now is a little bit coupled with handlebar. It seems I have two options :
- detecting .jade extension, and apply jade compiler only on those files
- setting a template engine at configuration time «à la express», and use it to render all Model and ModelAndView. This option requires I think to hide all handlebars configuration behind a common template engine abstraction.
What option do you prefer ?
I was playing with the possibility to use another template engine than handlebars. In fact I'm most interested in jade, which was ported to java https://github.com/neuland/jade4j
Fluent rights now is a little bit coupled with handlebar. It seems I have two options :
What option do you prefer ?