GraphQL vs REST
REST requires loading from multiple URLs, GraphQL gets all the necessary data in a single request. This makes apps using GraphQL ultra fast.
GraphQL is a query language officially released by FaceBook for APIs. It provides a complete and understandable description of the data in the Ublion API. With GraphQL, Ublion clients ask exactly for what they need and nothing more.
Ublion GraphQL Data Hub is based on Ublion APIs for connectivity with channels, files, software and applications for electronic invoicing. Use our standard connectors or develop your own.
Ublion GraphQL Data Hub supports GraphQL Playground, but you can connect any tool. The GraphQL Playground is built on top of GraphiQL —so at the core you can expect similar functionality. However, the Playground offers a lot more features to enable better development workflows.
REST requires loading from multiple URLs, GraphQL gets all the necessary data in a single request. This makes apps using GraphQL ultra fast.
Developers get features like caching, real time or optimistic updates and redesign apps without touching the backend.
Ublion GraphQL Data Hub is organized in terms of types and fields, not endpoints.
Combine and connect multiple GraphQL APIs and merge them into a single one. Clients only deal with a single API endpoint.
GraphQL clients dictate the shape of the response objects returned by the API and retrieve exactly the data they need from the API.
GraphQL let you auto-generate documentation based on the schema that defines the API.
Get data from different sources and then organize it into a structure that makes sense for your users. Handling this in a normal REST environment would require an API gateway.
Query for exactly the data you want. Select only one or two pieces of data from an API response, enrich endpoint data or decrease API calls.
We are betting that our customers will adopt GraphQL because they are evolving to support progressive web apps to publish data from different sources as Analytics, ERP, channels, systems and other touch points. We believe that GraphQL is one technology that’s fueling this evolution. It’s a game changer for our customers, with advantages such as self-documenting, stitching, declarative data fetching, no over-fetching of data and query multiple backends asynchronously without having to write custom promise logic that ends up in callback hell.
The GraphQL concept is simple for our customers: before they start connecting to Ublion, they draft schemas based on the existing GraphQL types from where the back-end and front-end teams can work independently.