GraphQL: Evolution or Revolution?
In this talk I will present a thorough comparison between SOAP, WSDL, oData, REST(ful), Falcor and GraphQL. I will show a small code sample for each of the technologies, present how/where they are being used, and compare them to GraphQL on a number of metrics:
* (maybe more?)
Sometimes it’s hard to see through all the hype and do a calm and objective assessment of a new technology. Particularly in the space of API technologies there are so many different acronyms and buzzwords that it’s easy to get confused: SOAP, RPC, WSDL, oData, REST, RESTful, Swagger, Open API, RAML, JSON API, Falcor, not to mention Firebase and Parse which are not the same, but also in that space. It takes a lot of effort to see the forrest for all the trees. One could easily spend several days researching and comparing the different options, but most people don’t have time for that.
I hope that my talk will provide people with the basic knowledge they need to have in order to choose the right tool for each project. Anyone excited about GraphQL will come away from this talk with a list of good reasons for their choice, just in case they encounter a professional curmudgeon who tells them that GraphQL is just oData plus hype.
# The twist
Many people like to say that GraphQL is a replacement for REST. So a revolution of sorts, not evolution. But what if I told you that GraphQL actually meets all the architectural constraints of REST laid out in Roy Fielding’s PhD dissertation?