PHPnews.io

Overview for 'philsturgeon'

A Response to REST is the new SOAP

Written by Phil Sturgeon / Original link on Dec. 18, 2017

Enough people have asked me about the article REST is the new SOAP that I felt it justifies a write up. Before I get started, I want to be clear that I hold no grudge against the author, and if any frustration leaks out in my writing I'd like to apologize in advance. The entire article is full of…


One Month Since OpenAPI v3.0

Written by Phil Sturgeon / Original link on Aug. 25, 2017

Last month today OpenAPI v3.0 was released, and not only is there a lot of cool stuff, but it unblocks some akward situations with vendor prefixes and other lacking features. I was hoping the tooling would be hot on its tails. Progress is being made in all of the repositories I've got my eyes on,…




Representing State in REST and GraphQL

Written by Phil Sturgeon / Original link on Jun. 19, 2017

Representing state is a complex thing. At my last two jobs, it's been very common for APIs to be treated like "databases over HTTP". The fields are sent up and down from the server to multiple mobile/web apps, and there's not too much else going on. Over time, we noticed this specific problem happe…


You Might Not Need GraphQL

Written by Phil Sturgeon / Original link on Apr. 17, 2017

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 thi…