Ext Direct related classes
Ext Direct aims to simplify communication between clients and servers by providing a single interface, thereby reducing the amount of common code typically required to validate data and handle return packets (read data, error conditions, etc.).
Ext Direct related classes are basically located in the Ext.direct package. In addition, there are also Direct type data codes.Ext.data.proxy.Direct
In these classes, there are mainly the following concepts:
- Provider data provider
- Event , event, event is created after some interaction with the server. It is essentially just a data structure used to save Direct responses.
- Manager: Direct's manager
- Transaction transaction, internal use of Ext JS, not used directly by development
Provider
Ext Direct uses one or more Providers to transmit data between servers. The main categories of Providers are:
- Ext.direct.JsonProvider: for simple JSON operations
- Ext.direct.PollingProvider: Duplicate request
Ext.direct.RemotingProvider: The result of the server-side Provider class exposed to the client is as follows:
- Ext.direct.Provider
- Ext.direct.JsonProvider
- RemotingProvider
- Ext.direct.JsonProvider