GraphQL

from Wikipedia, the free encyclopedia
GraphQL

GraphQL Logo.svg
Basic data

developer Facebook , and community
Publishing year 2015
operating system Cross-platform
programming language Implementations and a. in JavaScript , Ruby , Scala
License WITH
graphql.org

GraphQL is an open-source - data retrieval and manipulation language and a runtime system for answering queries with existing data. GraphQL was developed internally by Facebook in 2012 and published in 2015. On November 7, 2018, Facebook's GraphQL project was spun off into the newly established GraphQL Foundation under the umbrella of the non-profit Linux Foundation .

It offers an efficient and flexible alternative to SQL, in line with REST and ad-hoc web service architectures. As a stateless query language, it enables clients to define the exact structure of the data they need. However, this parameterization avoids - in contrast to many other implemented REST interfaces - unnecessarily large amounts of data being transmitted with each request.

GraphQL supports reading, writing and subscribing to data changes (real-time updates).

The most important GraphQL clients include Apollo Client and Relay. GraphQL servers are available for multiple languages ​​including Haskell , JavaScript , Python , Ruby , Java , C # , Scala , Go , Elixir , Erlang , PHP , R, and Clojure .

On February 9, 2018, the GraphQL Schema Definition Language (SDL) was added to the specification.

Web link

Individual evidence

  1. GraphQL: A query language for APIs. Retrieved November 9, 2018 .
  2. GraphQL: A data query language - Facebook code . In: Facebook code . September 14, 2015 ( fb.com [accessed November 9, 2018]).
  3. Facebook's GraphQL gets its own open-source foundation . In: TechCrunch . ( techcrunch.com [accessed November 9, 2018]).
  4. ^ The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL - The Linux Foundation . In: The Linux Foundation . November 6, 2018 ( linuxfoundation.org [accessed November 9, 2018]).
  5. GraphQL. (No longer available online.) Archived from the original on July 18, 2018 ; accessed on November 9, 2018 . Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. @1@ 2Template: Webachiv / IABot / facebook.github.io
  6. Apollo Client. Retrieved November 9, 2018 .
  7. Relay A JavaScript framework for building data-driven React applications. Retrieved November 9, 2018 .
  8. ^ Graphene-Python. Retrieved November 9, 2018 .
  9. Absinthe: Home. Retrieved November 9, 2018 .
  10. [RFC] GraphQL Schema Definition Language (SDL) by leebyron · Pull Request # 90 · facebook / graphql. Retrieved November 9, 2018 .