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.