Skip to main content

Posts

Showing posts from March, 2014

a walk in the dark side

Previously I got my first version of simple todo rest service working with scala and play framework and had some ideas what to do next. Since then I've implemented a second version of the rest service, this time backed by MongoDB . I also managed to create a simple web application as a user interface for the service. TL;DR; https://github.com/jorilytter/simple-todo/tree/mongodb-integration https://github.com/jorilytter/simple-todo-ui MongoDB with scala This was a idea that I had earlier and the actual implementation was pretty straightforward with the help of salat library. Integrating salat with play framework required me to implement a custom context but salat documentation already provided this solution so it was just a matter of reading the documentation. Other issue that I faced was with reading and writing json documents but that's where play's documentation provided the needed answers after some initial searches with google. Like before the implem...