I've been diving more and more into scala the last couple of months. Scala together with the "Play Framework" provides you with a very effective and quick development environment (as soon as you've grasped the idiosyncrasies of the Scala language, that is). The guys behind the Play framework have been hard at work at the new version Play 2.0. In Play 2.0 scala plays a much more important role, and especially the complete build process has been immensely improved. The only problem so far, I've encountered with Play 2.0 is the lack of good documentation. The guys are hard at work at updating the wiki, but its often still a lot of trial and error to get what you want. Note though, that often this isn't just caused by Play, I also sometimes still struggle with the more exotic Scala constructs ;-)
In this article, I'll give you an introduction into how you can accomplish some common tasks in Play 2.0 using Scala
I've released a new version of akmacros library for Scala 2.10. The release includes a new macro called 'factory'. Thanks to the new macro it is possible to construct a class with a public default constructor just passing a function to the generated factory of the class.
In this tutorial you'll build a Play 2 app and deploy it on the cloud. You'll learn how to get started with Play 2, Ebean, CoffeeScript, Twitter Bootstrap, jQuery, RESTful JSON services, and Heroku. Have fun as you continue to learn Play 2!
Play! Scala and JSON Update: If you need to have custom de/serialization of some types, check out this new post
I’ve been working with Play! Scala for a couple of months now, and the experience is really good – the combination of the Scala language and the sound design principles of Play! make web-development a real pleasure.