From The Blog

Removing Object Properties Before Var_Dumping Them

I'm working on a project at the moment (a PHP library for CouchDB, if you must know) that is designed to make HTTP calls and therefore holds a Guzzle HTTPClient object as an object property. This is great except when I need to debug something and the output of my call to var_dump() is several screens high ... Continue reading

Handling Incoming Webhooks in PHP

An increasing number of applications now offer webhooks as an integration, often in addition to an API. The classic example, familiar to most developers, is the GitHub webhooks which can notify your other systems such as CI tooling that a new commit has been added to a branch. If you imagine how many repositories exist on GitHub, and how many other systems react to changes on each repository ... there's a reason they are excellent with webhooks! Whether it's your source control, updates from your IoT sensors, or an event coming from another component in your application, I have some Opinions (TM) about handling webhooks, so I thought I'd write them down and include some code as well, since I think this is an area that many applications will need to work with. Continue reading

HTTP Tools Roundup

At a conference a few days ago, I put up a slide with a few of my favourite tools on it. I got some brilliant additional recommendations in return from twitter so I thought I'd collect them all in one place in case anyone is interested - all these tools are excellent for anyone working APIs (so that's everyone!). First, my original slide:

Continue reading


Talks, Articles, Podcasts, and More

Article

Add Redis To Your Serverless Application


Watson Data Lab, August 2017
Article

Trigger Periodic OpenWhisk Actions


Watson Data Lab, August 2017
Article

Simple CSV Import for CouchDB


Watson Data Lab Medium, July 2017
Article

10 Things I Hate About Your API


Watson Data Lab Medium, June 2017
Slides

Fun With Serverless Apps


JeffConf, July 2017