How to get play-salat and play-cashbah working in the Play 2.0 Scala web framework
Scala?Scala has anonymous functions, type inference, list comprehensions, lazy initialization, excellent pattern matching, case classes, delimited continuations, higher-order types, and complexity that exceeds 10.
What is that stuff after the mapping binder? The apply and unapply functions of the Post model are curried with the form mapping. Check out the views.html.helper package in the Play 2.0 API.
Controller: controllers/Posts.scala
View: views/posts.scala.html
View: views/posts.scala.html