GraphQL

GraphQL
Developer(s) Facebook, and community
Initial release 2015 (2015)
Stable release
October 2016[1]
Repository github.com/facebook/graphql
Written in Implementations in JavaScript, Ruby, Scala, others.
Operating system Cross-platform
Website graphql.org

GraphQL is an open source data query and manipulation language, and a runtime for fulfilling queries with existing data.[2] GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015.[3] It provides a more efficient, powerful and flexible alternative to REST and ad-hoc web service architectures.[2][4] It allows clients to define the structure of the data required, and exactly the same structure of the data is returned from the server, therefore preventing excessively large amounts of data from being returned.

GraphQL supports reading, writing (mutating) and subscribing to changes to data (realtime updates).[5]

Major GraphQL clients include Apollo Client[6] and Relay.[7] GraphQL servers are available for multiple languages, including Haskell, JavaScript, Python,[8] Ruby, Java, C#, Scala, Go, Elixir,[9] Erlang, PHP, R, and Clojure.

On 9 February 2018, the GraphQL Schema Definition Language (SDL) was made part of the specification.[10]

See also

References

  1. "GraphQL October2016 Release Notes". Retrieved January 16, 2018.
  2. 1 2 "GraphQL: A query language for APIs".
  3. "GraphQL: A data query language".
  4. "GraphQL Fundamentals". Howto GraphQL. Retrieved 4 July 2018.
  5. "GraphQL". facebook.github.io. Facebook. Retrieved 4 July 2018.
  6. "Apollo Client: The flexible, production ready GraphQL client for React, and all JavaScript and native apps".
  7. "Relay: A JavaScript framework for building data-driven React applications".
  8. "Graphene". graphene-python.org. Retrieved 2017-06-18.
  9. "Absinthe: The GraphQL toolkit for Elixir". Retrieved 19 July 2018.
  10. "GraphQL SDL included in Github repository".


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.