Need advice about which tool to choose?Ask the StackShare community!

graphql.js

84
85
+ 1
0
OData

57
137
+ 1
35
Add tool

graphql.js vs OData: What are the differences?

graphql.js: A Simple and Isomorphic GraphQL Client for JavaScript. Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM; OData: *A REST-based protocol for querying and updating data *. It is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming RESTful APIs. It helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc.

graphql.js and OData can be categorized as "Query Languages" tools.

graphql.js is an open source tool with 1.97K GitHub stars and 65 GitHub forks. Here's a link to graphql.js's open source repository on GitHub.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of graphql.js
Pros of OData
    Be the first to leave a pro
    • 7
      Patterns for paging, sorting, filtering
    • 5
      ISO Standard
    • 4
      Query Language
    • 3
      RESTful
    • 3
      No overfetching, no underfetching
    • 2
      Get many resources in a single request
    • 2
      Self-documenting
    • 2
      Batch requests
    • 2
      Bulk requests ("array upsert")
    • 2
      Ask for what you need, get exactly that
    • 1
      Evolve your API by following the compatibility rules
    • 1
      Resource model defines conventional operations
    • 1
      Resource Modification Language

    Sign up to add or upvote prosMake informed product decisions

    Cons of graphql.js
    Cons of OData
      Be the first to leave a con
      • 1
        Overwhelming, no "baby steps" documentation

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is graphql.js?

      Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.

      What is OData?

      It is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming RESTful APIs. It helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use graphql.js?
      What companies use OData?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with graphql.js?
      What tools integrate with OData?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to graphql.js and OData?
      GraphQL
      GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
      Cube
      Cube: the universal semantic layer that makes it easy to connect BI silos, embed analytics, and power your data apps and AI with context.
      Apollo
      Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      See all alternatives