GraphQL

Facebook, May 25, 2017
Commentary by Stephen Downes
files/images/GraphQL.PNG

This technology, used already by Coursera and just adopted by GitHub, has the potential to replace REpresentational State Transfer (REST) as the primary language for Application Programming Interfaces (API). This is the way web servers communicate with each other when handling requests. The website explains the difference this way: "GraphQL queries access not just the properties of one resource but also smoothly follow references between them." In other words, it returns a set of data types, and not just one data type. As a result, "While typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request."
Views: 1 today, 414 total (since January 1, 2017).[Direct Link]
Creative Commons License. gRSShopper

Copyright 2015 Stephen Downes ~ Contact: stephen@downes.ca
This page generated by gRSShopper.
Last Updated: Dec 13, 2017 02:28 a.m.