helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.51k stars 566 forks source link

Templating support in helidon static handlers #220

Open gcameo opened 5 years ago

gcameo commented 5 years ago

Is there a way to provide support for some form of templating in Helidon. At the moment, only static html can be rendered. Will be nice to support things like MVEL, Freemarker or some other templating framework so we can have a bit of dynamic content

spericas commented 5 years ago

At least for MP, we could consider integration with Ozark (https://www.mvc-spec.org/).

romain-grecourt commented 5 years ago

We should also able to support some templating in helidon-se with mustach or freemarker.

gcameo commented 5 years ago

https://github.com/fizzed/rocker

romain-grecourt commented 5 years ago

Ok, or rocker like @gcameo suggests ;)

carimura commented 5 years ago

i know this is slightly unrelated to the issue but just for posterity I found a workaround template system that works nicely (and easily) without the need for this ticket to come out of backlog: https://github.com/HubSpot/jinjava