Following Hypermedia Links in Backbone

At Linn we have adopted the pattern of using Hypermedia Controls to represent relationships between resources, for example: { "name": { "first" : "Joe", "last": "Bloggs" }, "links" : [ { "rel": "country", "href": "/countries/GB" } ] } But how do you consume an API like this within a Backbone.js app? For a simple case, where you have…

HTTP API Versioning Using Nancy

In a previous post I discussed the approach we opted for at Linn when deciding how to evolve our HTTP APIs without breaking existing clients. In this post I describe how we implemented that approach using NancyFx (a web framework for .NET inspired by Sinatra). Jumping In Most of the…

Using Media Type Parameters to Version an HTTP API

At Linn we develop and maintain a variety of HTTP APIs to support the operations of the company. Over time the number of dependencies between these APIs has increased, and it became apparent that we needed a reliable way to introduce changes without breaking existing clients. In this post I…