Over the weekend I have updated most of the PlayBasics projects to the latest version of the Playframework, 2.3.2. This includes the move to sbt-web and its plugins.
You can find the entire repository here.
The action composition code has moved to a new sub-folder,
ActionComposition, and I hope to update it to include some 2.3 additions. Additionally I want to show how to do composition on the Result level.
You’ll also note the folder
AsyncScala, this is the code for a blog post about handling asynchronous computations in Play I intended to write but never found the time to do so. The code isn’t complete either, but I’ll continue to extend it.
As a bonus, PlayBasics itself is now an sbt root project with every blog-specific folder as a sub-project. I’ve added some explanatory comments as well. I think you cannot build any serious Play app without dividing it into sub-projects, so please check it out.
I’m planning a series of blog posts about sbt-web and some sbt basics. If you want to know how to write an sbt-web plugin right now, I recently gave a talk about sbt-web in which I live-coded a simple sbt-web plugin. You can find its code including many comments here.