In the traditional two or three-tier world of web development, there is an inherent trust between the client and the server. Each is contextually aware of the other and withholds or shares informatio
I’d like to clarify some things about the use of HTTP verbs for RESTful APIs and the apparent misconceptions these can bring about. Firstly, there are a few people who believe that RESTful APIs are p
Designing APIs often leads to a compromise between producers and/or consumers. Consumers of APIs would like the interface to be as close to their requirements as possible; they want to avoid possible
The humble restaurant menu follows a common pattern where menu items are generally separated into a logical hierarchy. At the top level, we may have breakfast items, dinner items or drinks items. Each...
During a Domain Driven Design (DDD) workshop this week, one of my colleagues very cleverly used grocery store aisles as an analogy to explain why attributes should be grouped into entities. He explai
In one of my previous articles, the Hollywood Principle, I introduced the concept of an event-driven architecture. This is a popular distributed asynchronous architecture pattern used to produce hig
Please note that this is a little more technical than my previous articles – sometimes I need to let my inner-geek out. Simply because RESTful APIs are based on resources and use the HTTP verbs (GET...
A good friend of mine was out walking his dog in the countryside the other day. After a while, his dog noticed some turkeys in the adjacent field, and being a dog, decided to investigate. This involv
In 2010, for the first time in history, we registered over a billion passenger cars on our roads, globally. It is estimated that by 2050, there will be 2.5 billion cars on our roads! Clearly, cars ar
Everyone has at least one set of keys; don’t they? You can recognize your keys and you make sure you take them wherever you go. Look at each key on your keyring and you know which door or cabinet it
Have you’ve ever visited India? How did you cope with the traffic there? It’s clearly different to the regular, organized approach we are used to in Europe. After spending a couple of days in Bangalo
The general consensus amongst API providers is that we should build reusable APIs, but consumers want more - they want an API that gives them everything they need. These tactics challenge one another