Foursquare on Monday released two open source development tools on GitHub.
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.
Top IT Trends to Watch in Financial ServicesIT pros at banks, investment houses, insurance companies, and other financial services organizations are focused on a range of issues, from peer-to-peer lending to cybersecurity to performance, agility, and compliance. It all matters.
Join us for a roundup of the top stories on InformationWeek.com for the week of September 18, 2016. We'll be talking with the InformationWeek.com editors and correspondents who brought you the top stories of the week to get the "story behind the story."