Web Developer

Loading

GraphQL

GraphQL is a query language and runtime engine used in web development to create and execute API queries: 
 
 
  • What it does
    GraphQL defines how a client application requests data from a remote server. It’s used to create and fulfill queries with existing data. 
     
     
  • Benefits
    GraphQL can: 
     
     
    • Reduce loading times and improve user experiences 
       
       
    • Optimize applications for speed and bandwidth 
       
       
    • Prevent over-fetching and under-fetching 
       
       
  • How it works
    GraphQL uses a schema to describe the shape of available data. The schema defines how the client can request data and specifies the capabilities of the API. 
     
     
  • Use cases
    GraphQL is an efficient choice for mobile apps and implementations with complex schemas. 
     
     
  • Features
    GraphQL has several key features, including: 
     
     
    • Hierarchical and declarative 
       
       
    • Strongly typed 
       
       
    • Versioning 
       
       
    • Decouples the client from the server 
       
       
  • History
    GraphQL was created by Facebook in 2012. It’s used by many notable companies, including GitHub, PayPal, Glassdoor, Shopify, Twitter, and The New York Times. 
     
     
  • Implementation
    GraphQL is a specification that can be implemented in any language.