Top Stories published by Foursquare in 2011

Fun with MongoDB replica sets

Though we’ve already established how much we like MongoDB, we felt it appropriate to keep the love train going because of another great feature: MongoDB replica sets and how we’re using them at foursquare.


Going Rogue, Part 2: Phantom Types

In the last post, we introduced Rogue, the type-safe DSL we implemented for writing queries against MongoDB. In this post we’ll extend QueryBuilder to support query sort ordering, while making sure we can’t build any nonsense queries like this:


APIv2: Woulda, coulda, shoulda

As we sunset foursquare APIv1 and announce some amazing new milestones for APIv2, now seemed like as good a time as any to reflect on some of the decisions we made in APIv2 and see how they’re holding up. Fortunately, we were able to draw on both our experience with APIv1…


Websites are clients, too!

Historically, our API and our website have shared code and lived in the same binary (Scala, Lift), but in many other ways they were developed independently, with the API focusing primarily on the needs of our client teams. The site redesign and recently launched website features…


Slashem: A Rogue-like, type-safe Scala DSL for querying Solr

Slashem is our new spiffy Rogue-like type-safe* DSL for querying Solr. If you are curious about Rogue, we’ve talked about it in some of our previous blog posts (launch, Going Rogue, Part 2: Phantom Types). Solr is an open…


Objective-C Blocks in iOS 4.0

The foursquare 3.0 application for iOS is a major release for us, and marks the maturation of several major technical efforts. With so many new features in the works, we decided that it was time to make the leap to iOS 4.0 in order to better take advantage of the platform…

These were the top 10 stories published by Foursquare in 2011. You can also dive into monthly archives for 2011 by using the calendar at the top of this page.