GraphQL
GraphQL is an open source data query and manipulation language, and a runtime for fulfilling queries with existing data.[1] GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015.[2] It provides a more efficient, powerful and flexible alternative to REST and ad-hoc web service architectures.[1][3] 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).[4]
Major GraphQL clients include Apollo Client[5] and Relay.[6] GraphQL servers are available for multiple languages, including Haskell, JavaScript, Python,[7] Ruby, Java, C#, Scala, Go, Elixir,[8] Erlang, PHP, and Clojure.
On the 9th February 2018, the GraphQL Schema Definition Language (SDL) was made part of the specification.[9]
See also
References
External links
- ↑ a b GraphQL: A query language for APIs.
- ↑ GraphQL: A data query language.
- ↑ GraphQL Fundamentals. In: Howto GraphQL. Abgerufen am 4. Juli 2018.
- ↑ GraphQL. In: facebook.github.io. Facebook, abgerufen am 4. Juli 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. In: graphene-python.org. Abgerufen am 18. Juni 2017.
- ↑ Absinthe. Abgerufen am 19. Juli 2018.
- ↑ GraphQL SDL included in Github repository.