all that jazz

james' blog about scala and all that jazz

All posts for 26 October 2012

Passing common state to templates in Play Framework

This question comes up very frequently on the Play mailing list so I thought I'd document a quick example of how to pass common state to shared templates in Play Framework when using Scala The use case is typically that…


About

Hi! My name is James Roper, and I am a software developer with a particular interest in open source development and trying new things. I program in Scala, Java, Go, PHP, Python and Javascript, and I work for Lightbend as the architect of Kalix. I also have a full life outside the world of IT, enjoy playing a variety of musical instruments and sports, and currently I live in Canberra.