The Scalate team is pleased to announce the availability of Scalate 1.3.2
Scalate is a Scala 2.8 based template engine which can be used stand alone, with servlets or web frameworks like JAXRS, Lift or Play or in integration frameworks like Apache Camel.
The following template languages are supported through the same common API:
- Ssp which is like a Scala version of Velocity, JSP or Erb from Rails
- Scaml which is a Scala dialect of Haml for very DRY markup along with the Jade syntax
- Mustache which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js
All expressions inside Ssp, Scaml and Jade benefit from the full power and expressiveness of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.
Scalate 1.3.2 Highlights
- new set velocity directive in Ssp which lets you assign sections of the template output to attributes so you can more easily pass information into layouts.
- minor refactoring of internal classes such as Resource and ResourceLoader from the org.fusesource.scalate.support package into the org.fusesource.scalate.util package to make the util package more stand alone and reuseable outside of Scalate.
- scalate-util module now refactored out of scalate-core
- both scalate-core and scalate-util now OSGi bundles
For more detail see the Full Change Log
Feedback is always welcome!