vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 535 forks source link

[Feature] Groovy Template Engine #2522

Closed magicprinc closed 11 months ago

magicprinc commented 1 year ago

Groovy is a superset of Java and MVEL. The template language is much simpler to learn and use and very powerful.

https://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html

$var, ${expression}, <%= expression %>, <% action %> very similar to JSP and Groovy Strings

I have forked your MVEL engine and used GStringTemplateEngine

PR: https://github.com/vert-x3/vertx-web/pull/2521

magicprinc commented 11 months ago

@tsegismont The project is very similar to MVEL one. The tests are green.

tsegismont commented 11 months ago

Thank you for your proposal @magicprinc , I would prefer not to include this in the vertx-web because we have too many options already. However, you're welcome to take this to a separate project and submit a proposal to the Reactiverse.