Scalate: The Write Less Do More Scala Templating Engine
A Scalate Presentation and accompanying code samples.
Learn how Scalate provides a common framework supporting several templating syntaxes, how to write testable templates that yell at you when you leave out important structural markup, and how to write html transformers using css3 selectors -- enabling you to turn design mockups into reusable programmatic views without writing any html yourself.
This presentation is written in Scala, served using Unfiltered, using Scalate and Jade. Tests use specs2 and Dispatch Reboot. The presentation server files can be found under src/main/scala/scalate. The template files can be found under src/main/resources/templates.
Running the presentation
This presentation requires SBT, and Java 6 or higher to build and run.
Copyright 2012 Jack Viers firstname.lastname@example.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.