For this recipe, we will explore how to utilize MongoDB, the popular NoSQL library, within a Play application. MongoDB is one of the most widely-used NoSQL databases, and it most certainly has been a viable option as a datastore for many modern web applications. We will be using the Scala module, play-plugins-salat, which is an Object relation mapping tool that uses the official MongoDB Scala driver Casbah. This will be a Scala-only recipe.
For more information about Casbah, please refer to https://github.com/mongodb/casbah.
Let's take the following steps:
foo_scalaapplication with Hot-Reloading enabled:
"se.radley" %% "play-plugins-salat" ...