Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Haml be used in Java web apps?

Tags:

java

haml

I hear about Haml as a templating engine mostly in the Ruby world. Can it also be used in Java projects?

like image 830
Yen Avatar asked May 03 '09 14:05

Yen


5 Answers

2 years after this question was asked (:P) there are:

  • scaml - http://scalate.fusesource.org/documentation/scaml-reference.html
  • jade - http://scalate.fusesource.org/documentation/jade.html
like image 92
h3adache Avatar answered Sep 30 '22 18:09

h3adache


It seems someone started a project for Java.

like image 27
SztupY Avatar answered Sep 30 '22 19:09

SztupY


There's a list of Haml implementations on the Wikipedia page. At the moment, there isn't one for Java.

Update

There has been a Java implementation for a few years now : https://github.com/raymyers/JHaml

like image 26
Natalie Weizenbaum Avatar answered Sep 30 '22 19:09

Natalie Weizenbaum


Scalate can be integrated with Spring

like image 34
mfirry Avatar answered Sep 30 '22 17:09

mfirry


Perhaps through JRuby?

like image 24
Marty Lamb Avatar answered Sep 30 '22 17:09

Marty Lamb