GraphQL Leaves Tech Preview
GraphQL Leaves Tech Preview
Written by Kay Ewbank   
Monday, 19 September 2016

Facebook has removed the 'technical preview' tag from GraphQL and relaunched graphql.org.

In reality, GraphQL has been ready for production use the whole time, and has been used by Facebook to deliver data to its mobile news feed since 2012. However, it was only made open source last year, and Facebook's caution about calling anything 'finished' resulted in the technical preview tag. 

graphqllogo

GraphQL is a query language for APIs. Its purpose is to provide a complete description of the data in your API, which can then be used by clients to ask for specific data from the API. A GraphQL query is a string that is sent to a server to be interpreted and fulfilled, which then returns JSON back to the client. The developers differentiate the way GraphQL works as handling data not in terms of resource URLs, secondary keys, or join tables; rather as a graph of objects and the models ultimately used in apps like NSObjects or JSON.

graphql

 

GraphQL follows relationships between objects, unlike SQL where you'd need to define a potentially complex join, or RESTful services which may require multiple round-trips to retrieve a complex data set.

 

 

  

The reason for the delay in taking GraphQL off the preview list was Facebook developers making improvements to GraphQL, drafting a specification, and producing a reference implementation to help developers try it out. New versions of some of the tools within GraphQL were also developed. As these elements weren't fully proven, the whole thing was released as technical preview.
 
In the intervening year, the technology has been implemented in a range of languages including Java and JavaScript, Ruby, Python, Scala, Go, Elixir and C#.  As we reported today, Github has announced the Github GraphQL API,the first major public API to use GraphQL.
 
Facebook has now decided that GraphQL is ready for use by everyone, so it is now being labeled production ready. The API's website, graphql.org, has also been revamped with clearer and more relevant content, and the Facebook developers say it's ready for use and
"can greatly simplify data needs for both client product developers and server-side engineers, regardless of what languages you're using in either environment."
 

graphqllogo

Meanwhile GitHub, which has adopted GraphQL as a replacement for its own REST API, has provided Early Access to its GraphQL API, claiming on the GitHub Engineering Blog:

GraphQL represents a massive leap forward for API development. Type safety, introspection, generated documentation, and predictable responses benefit both the maintainers and consumers of our platform.

 

More Information

GraphQL.org

 

Related Articles

Facebook's Relay For React Open Sourced

GitHub Platform and Community Improvements

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


The Who and Why of Hacking
26/01/2018

The 2018 Hacker Report from HackerOne gives a rounded view of today's hackers revealing who they are and what motivates them. It also shows how hacking makes the money go around.



TensorFlow For R
14/02/2018

The team at RStudio has created a set of R interfaces to TensorFlow, in recognition of the way the Google machine learning framework has become popular since it was open sourced two years ago.


More News

 

 
 

 

blog comments powered by Disqus

Last Updated ( Monday, 19 September 2016 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.