The code discussed in this post can be found in the github repository . While writing a module to handle Google ClientLogin recently, I wanted to test error handling by simulating error responses from the server. A simple but powerful way of doing this is to use the patching ability of the mock module. The patching ability allows you to replace objects in scope with mocks so that different side…
This article roughly follows on from my previous post on REST, which discusses some points relating to the first two levels of the Richardson Maturity Model. Since we re only going to discuss the top level of the model in this post (shown below), the other levels are greyed out. Introducing Hypermedia Controls Hypermedia as the Engine of Application State (HATEOAS) is an element of the REST…
This article is in two parts. It started with the wish to talk mostly about hypermedia controls, but I decided it would be better to do a preceding post covering some more foundational notes on building a RESTful service. Recently there s been plenty of discussion about service platforms Steve Yegge s accidental post on Google Plus springs most prominently to mind. This article is partly motivated…
Customers don t know what they want. Stop expecting customers to know what they want. Joel Spolsky A couple of months ago I attended a presentation by the Head of EMEA Sales at Huddle, Neil Ryland. In describing the sales process, one of the most interesting points raised was how feedback from the sales force is incorporated into the development lifecycle. Huddle s products are aimed at the…