GraphQL
| |
Developer(s) | Facebook, and community |
---|---|
Initial release | 2015 |
Stable release |
October 2016[1]
|
Repository |
github |
Written in | Implementations in JavaScript, Ruby, Scala, others. |
Operating system | Cross-platform |
Website |
graphql |
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
- ↑ "GraphQL October2016 Release Notes". Retrieved January 16, 2018.
- 1 2 "GraphQL: A query language for APIs".
- ↑ "GraphQL: A data query language".
- ↑ "GraphQL Fundamentals". Howto GraphQL. Retrieved 4 July 2018.
- ↑ "GraphQL". facebook.github.io. Facebook. Retrieved 4 July 2018.
- ↑ "Apollo Client: The flexible, production ready GraphQL client for React, and all JavaScript and native apps".
- ↑ "Relay: A JavaScript framework for building data-driven React applications".
- ↑ "Graphene". graphene-python.org. Retrieved 2017-06-18.
- ↑ "Absinthe: The GraphQL toolkit for Elixir". Retrieved 19 July 2018.
- ↑ "GraphQL SDL included in Github repository".
External links