Our Blogs

restQL gets better with enhanced features

January 11, 2018
484 Views
restQL is currently available as an open source project. Technically, therestQLis a query language used for microservices. The main aim of the restQL is to simplify common scenarios for various client-side access activities, which includes parallel and chained cells.

The main reason for the creation of the restQL is to avoid the limitations involved with data querying and management frameworks such as GraphQL and Falcor. The Falcor is available to JavaScript clients. However, restQL is made available for any client, which provide support REST calls over HTTP. It is to be noted that GraphQL doesn't provide support for core features available for RESTful services. It includes native browser caching or HTTP response codes.

Commenting on the development, Ricardo Mayerhofer, IT Manager at B2W Digital disclosed that the developers quickly get the required benefit in a bid to migrate to microservices. He added that a microservice-based mechanism is not a big thing. The technique is mainly a challenge not only in terms of complexity but also performance.

You should note that parsing and response of restQL queries are handled directly by the restQL server. Implemented in Clojure, the restQL mainly acts as a mediator between clients related to restQL queries and backend APIs. 

The relevant configuration information is stored on the server to directly pair resource names with the respective endpoints. A dedicated client is not required since the restQL server exposes a standard REST endpoint.