Webix Remote

Webix Remote is a special protocol that allows the client component to call functions on the server directly.

Thus, Webix Remote provides a quicker and simpler communication with a server than REST API does. Below you will find the key distinctions between the two approaches.

There are the following server-side solutions implemented with Webix Remote:

REST API Drawbacks

A usual request to the server via REST API implies forming a corresponding URL. Each request requires a new URL sending. Besides, requests are sent and processed one by one thus making a queue, which slows down the whole process of exchanging data.

What Webix Remote Offers

Webix Remote presents a handy alternative to REST API. It implies that during data sending the stage with URLs formation is dropped and a request goes directly to the server (via the webix.remote parameter).

General advantages of this protocol are enumerated below:

  • Several requests are sent as one. It considerably enhances the speed of executing operations;
  • data are sent asynchronously (leaving the possibility to go the synchronous way, if it's necessary); promises are used instead of real data to speed up data rendering;
  • CSRF-security. The user's credentials are protected and kept safe;
  • Information about a user is kept as static data on the server and shared with the client side when it's necessary (when a user session starts);
  • Access to API is limited by the user role.
Back to top