Quick tutorial on Casbah, Scala’s MongoDB driver

(image from http://www.digitalcraftstudios.com)

For the past couple of months I have been playing with Scala, Casbah (Scala’s MongoDB driver) and Salat (a serialization library for json and bison).

For the most part, it’s been a fun experience, although the documentation on Casbah is not as great as I would have hoped. A guide does exists, but is not exhaustive. If like me you find yourself spending quite a bit of time looking for things not contained in it, here are some code snippets and I hope can act as a tutorial of sort on how to perform certain operations using Casbah.

Continue reading “Quick tutorial on Casbah, Scala’s MongoDB driver”

Advertisements
Quick tutorial on Casbah, Scala’s MongoDB driver

Playing the Barista with Scala

It’s been a long time since I last played with Scala. Being a .Net Samurai, I tend to have a love/hate relationship with the JVM. As I had a couple of hours to kill today, I figured I might as well refresh my Scala knowledge by working on the Coffeeshop problem with Akka.
Continue reading “Playing the Barista with Scala”

Playing the Barista with Scala