PageRenderTime 20ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-website/src/blog/releases/release-1.1.page

http://github.com/scalate/scalate
Visualforce Page | 33 lines | 21 code | 12 blank | 0 comment | 0 complexity | 3cd3d727198135b245ccb774d0b61867 MD5 | raw file
  1. ---
  2. blog_post: true
  3. title: Scalate 1.1 Released
  4. author: James Strachan
  5. author_url: http://macstrac.blogspot.com
  6. created_at: 2010-04-15 12:06:40 -0000
  7. layout: /WEB-INF/scalate/layouts/blog-post.jade
  8. ---
  9. The [Scalate team](http://scalate.fusesource.org) is pleased to announce the availability of Scalate 1.1.
  10. Scalate is a [Scala 2.8](http://www.scala-lang.org) based <a href="http://en.wikipedia.org/wiki/Template_engine_(web)">template engine</a> which can be used stand alone, with servlets, in JAXRS, with the [Play Framework](http://github.com/pk11/play-scalate) or in [Apache Camel](http://camel.apache.org/scalate.html). (Work on lift integration is [in progress](https://liftweb.assembla.com/spaces/liftweb/tickets/475)).
  11. All expressions inside Scalate benefit from the full power of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.
  12. Two template languages are currently supported:
  13. * [Ssp](http://scalate.fusesource.org/documentation/ssp-reference.html#syntax) which is like a Scala version of [Velocity](http://velocity.apache.org/), JSP or Erb from Rails
  14. * [Scaml](http://scalate.fusesource.org/documentation/scaml-reference.html) which is a Scala dialect of [Haml](http://haml-lang.com/) for very DRY markup
  15. **Scalate 1.1 Highlights**
  16. * [Ssp](http://scalate.fusesource.org/documentation/ssp-reference.html#syntax) now supports [Velocity style directives](http://scalate.fusesource.org/documentation/ssp-reference.html#velocity_style_directives) for more concise looping and branching.
  17. * new [Scalate Tool](http://scalate.fusesource.org/documentation/tool.html) for creating new projects with Scalate more easily
  18. * improved API for working with templates from different sources (file, URL, Source, String etc) via the helper methods on [TemplateSource object](http://scalate.fusesource.org/maven/1.2/scalate-core/scaladocs/org/fusesource/scalate/TemplateSource$.html) and methods on [TemplateEngine](http://scalate.fusesource.org/maven/1.2/scalate-core/scaladocs/org/fusesource/scalate/TemplateEngine.html) which take a [TemplateSource](http://scalate.fusesource.org/maven/1.2/scalate-core/scaladocs/org/fusesource/scalate/TemplateSource.html)
  19. * easier to configure whitespace handling via the **escapeMarkup** property on [TemplateEngine](http://scalate.fusesource.org/maven/1.2/scalate-core/scaladocs/org/fusesource/scalate/TemplateEngine.html) and [RenderContext](http://scalate.fusesource.org/maven/1.2/scalate-core/scaladocs/org/fusesource/scalate/RenderContext.html) so its easy to configure markup escaping for an entire project or enable/disable it within templates.
  20. For more detail see the [Full Change Log](http://scalate.assembla.com/spaces/scalate/milestones/191837-1-1)
  21. [Feedback](http://scalate.fusesource.org/community.html) is always welcome!