I am trying to implement scaling to my site using sbt + jrebel, but found that there are some problems that I cannot solve.
So, I want to know if there are other scala-based template engines?
How about tagging a Scalate group and describing current issues that you have? Sure it works pretty straightforward? If the problem is related to sbt + jrebel and reloading the scala class of the code that you want to use in your template; the template switching mechanism is not like a parameter (unless you want to stop using scala in your templates). Plus Scalate is truly the best and most popular template engine that uses scala expressions inside it.
The scala game platform has a new scala template engine
not sure if it can be used outside the game
http://scala.playframework.org/documentation/scala-0.9.1/templates
Thanks to Scala's String Interpolation 2.10, we can now use our own syntax to create complex text content.
Just use Fastring . It has both good performance and ease of use.
Pure Scala DSL:
"Regular" template engines:
If you are running the JVM, Scala Java compatibility will allow you to use Velocity or Freemarker.
I would like to take a look at Stitchr , which was largely inspired by StringTemplate.
Scalasti is a Scala wrapper around a StringTemplate.
As mentioned above, I would recommend using Twirl (the template system from Play). Now it is very easy to use offline. You will have a summary check of time for your templates and many other interesting and simple things:
https://github.com/spray/twirl