JavaScript DataManager Overview
19 Jun 20201 minute to read
The Syncfusion DataManager plays a central role in practically all web applications built with Syncfusion UI. It is an abstraction for using local data—arrays of JavaScript objects—or remote data—web services returning JSON, JSONP, oData or XML.
Basically, all services that have JSON acts as a transport.
Key Features
DataManager has many abilities and responsibilities, among which to:
-
DataManager - Communicates with data source and returns the desired result based on the Query provided.
-
JavaScript Query – DataManager have APIs for generating JavaScript data query with ease.
-
CRUD in individual requests and Batch – CRUD operations are fully supported. The options are enabled to commit the data as a single or multiple requests.
-
Adaptors – Adaptors are specific dataSource type aware interfaces that are used by DataManager to communicate with DataSource. Three adaptors are created. They are, ODataAdaptor, JsonAdaptor and UrlAdaptor
-
Model binding – Simple model binding is made using DataManager. You can directly bind Query result to HTML element.
-
Calculate and maintain aggregates, sorting order and paging
In other words, the DataManager fully supports CRUD (Create, Read, Update, Destroy) data operations, and provides both client-side and server-side support for sorting, paging, filtering, grouping, and aggregates.