Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports for other templating engine #97

Open
BodySplash opened this issue Feb 16, 2015 · 2 comments
Open

Supports for other templating engine #97

BodySplash opened this issue Feb 16, 2015 · 2 comments

Comments

@BodySplash
Copy link
Contributor

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 ?

@dgageot
Copy link
Member

dgageot commented Feb 16, 2015

The second would be best. It would be a good occasion to reduce the coupling with Handlerbars. I can take care of the hiding part if you prefer.

@dgageot dgageot self-assigned this Feb 16, 2015
@BodySplash
Copy link
Contributor Author

I must admit I'm a little bit lazy, and if you can take care of that it would be great :)

@dgageot dgageot removed their assignment Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants