read

After writing about how GraphQL and REST differ in various regards, and taking a closer look at caching in particular, I wanted to write about how you can get some of the benefits of GraphQL into an existing endpoint-based API.

It's finally live, and over on the Runscope blog.

Normally I'd post this sort of thing on here, but I've got a smashed racing bike to pay for, Runscope are awesomely generous with their rates, and they didn't meddle with the article in the slightest - other than defeating the usual bevy of typos.

This article aims to highlight the fact that a lot of what is popular about GraphQL is not actually new. That's not to shit-talk GraphQL, but OData covers a lot of the same concepts (with a less lovely syntax), SOAP was doing a lot of this and getting a bad wrap, and - as was pointed out in the comments - SPARQL had a good go at the whole "standardisation" thing GraphQL fans keep touting about their new fave query language.


If you're into APIs, I've written a whole book called Build APIs You Won't Hate, and it's available in ebook or paperback form! If programming books normally bore the crap out of you, this book is for you.

I'm available for consulting if you want help making your APIs more gooder. Half of the money goes to the ACLU, and the other half goes towards my green card. Fuck Trump ✊.

Blog Logo

Phil Sturgeon

Platform Engineer @ WeWork who talks about APIs a lot. Programming Polyglot, Pragmatist, Centerist and Sarcasist. The League of Extraordinary Packages, PHP The Right Way, Ex-PHP-FIG, Ex-CodeIgniter, Ex-FuelPHP, Ex-PyroCMS.

Book Cover

Build APIs You Won't Hate

Everyone and their dog wants an API, so you should probably learn how to build them.

Buy it from LeanPub or Amazon.

Image

Phil Sturgeon

Platform Engineer @ WeWork who talks about APIs a lot. Programming Polyglot, Pragmatist, Centerist and Sarcasist. The League of Extraordinary Packages, PHP The Right Way, Ex-PHP-FIG, Ex-CodeIgniter, Ex-FuelPHP, Ex-PyroCMS.

Back to Overview