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.
How Enterprises Are Attacking the IT Security EnterpriseTo learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Digital Transformation Myths & TruthsTransformation is on every IT organization's to-do list, but effectively transforming IT means a major shift in technology as well as business models and culture. In this IT Trend Report, we examine some of the misconceptions of digital transformation and look at steps you can take to succeed technically and culturally.