News

Foursquare Releases Open Source Tools

Alison Diana

Location service posts code for Rogue, Fully-Loaded on GitHub.

Inside Joomla 1.6: Improved Access Control, Categories
(click image for larger view)
Slideshow: Inside Joomla 1.6: Improved Access Control, Categories

Foursquare on Monday released two open source development tools on GitHub.


More Insights

Webcasts

More >>

White Papers

More >>

Reports

More >>

The popular location service posted the code for Rogue, a MongoDB query domain-specific language (DSL) written in Scala, said company co-founder Naveen Selvadurai, in a tweet. Almost simultaneously, Foursquare released Fully-Loaded, a caching image loader for iOS, he tweeted.

"I love when we push code out open-source," he wrote.

On GitHub, Fully-Loaded is described as "a highly opinionated image loader and cache optimized for UITableView scrolling performance." For its part, Rogue is a type-safe internal Scala DSL for building and executing find-and-modify commands against MongoDB in the Lift Web framework, according to Foursquare.

"It is fully expressive with respect to the basic options provided by MongoDB's native query language, but in a type-safe manner, building on the record types specified in your Lift models," the tool's description said.

Rogue was initially developed by Foursquare Labs for internal use, and almost all the MongoDB queries in Foursquare's code base go through this library, the company said. Currently, Jason Liszka and Jorge Ortiz of Foursquare maintain the software, although the developer welcomes contributions, it said.

In the past, Foursquare has shared other code via GitHub. In January, the location service developer released a CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X, and iPhone, and in 2010 Foursquare posted both a WebOS app for Palm's Pre and Pixi and an Adobe AIR desktop client for Foursquare, according to its GitHub profile. Foursquare joined GitHub in April 2009.

Register today for Enterprise Connect, which offers the most in-depth information on enterprise communications. It happens in Orlando, Fla., Feb. 28 to March 3. Find out more.

Related Reading


Informationweek Discussions

Start the Discussion


InformationWeek encourages readers to engage in spirited, healthy debate, including taking us to task. However, InformationWeek moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. InformationWeek further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS

Resource Links