Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API Driven Development with Goliath

API Driven Development with Goliath

APIs Rule Everything Around Us. Its the glue that binds the internet operating system together and is partly responsible for the run-away success of a number of startups including Twitter, Facebook and Foursquare.

General purpose frameworks don’t always make for great tools when designing a Service Oriented Architecture or for building Hypermedia APIs. Sure, you can develop everything as a set of RESTful resources, but the temptation to mix presentation logic with your business logic is quite high and can lead to a cluttered and bloated codebase.

What we need is a dedicated API framework, one that speaks HTTP natively and is flexible enough to bend to the will of even the most demanding API designers.

Enter Goliath, the asynchronous ruby framework by Postrank Labs, that was created with the sole purpose of building and deploying Hypermedia APIs, ready to serve a massive amount of concurrent traffic. Built on Event Machine and Rack, this low level framework provides just enough structure and middleware to get you up and running and then gets out of your way.

In this session we’ll explore its feature set, talk a bit about good RESTful API design, and highlight some of the pros and cons of using Goliath instead of Sinatra or Rails for building your next Web Service.

Eric Marden

April 24, 2012

More Decks by Eric Marden

Other Decks in Programming


  1. Goliath what is it? how can I use it to

    build awesome hypermedia apis? how does it compare to...? tips, tricks, and gotchas