O'Reilly logo

Instant Lift Web Applications How-to by Torsten Uhlmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MongoDB and Rogue (Advanced)

In this recipe we will show you how you can write type-safe and easy-to-read database queries with Rogue.

The folks at foursquare.com also use Lift for their hugely popular service. And they also use Mongo. Now we can only imagine that after a couple hundred queries and countless spelling errors in the search fields they decided to write up an easy-to-use Scala DSL that would help them avoid these bumps in the future. They did, and they kindly open sourced their solution, Foursquare Rogue, at the following link:

https://github.com/foursquare/rogue

We will walk you through the installation, first usage steps, and a couple of things you can do with it.

Getting ready

This recipe, same as the previous recipe, is documented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required