Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a template engine which can be used in Java and JavaScript [closed]

As the title says, I'm currently looking for a template engine that works with Java and Javascript. The idea is that my ajax json objects can use the same template files to render stuff client-side like Java is doing it server-side.

I know there is google-closure-template but it is working with guice 2.0 and my current project runs under guice 3.0 and both together just create wierd errors and I tried using them but failed for about 2 weeks now...

So is there anything apart from google-closure?

like image 392
Johnnycube Avatar asked Oct 10 '22 05:10

Johnnycube


1 Answers

You can take a look at Mustache.

like image 156
Jeremy Avatar answered Oct 18 '22 00:10

Jeremy