Trace:
Differences
This shows you the differences between two versions of the page.
jvx:server:storage:userdefined [2018/02/02 09:18] admin created |
jvx:server:storage:userdefined [2020/06/15 11:46] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~Title: User Defined Storages~~ | + | ~~Title: User-Defined Storages~~ |
JVx uses IStorage to transfer table data between client and server in standardized form. JVx contains an existing implementation for databases, DBStorage, and for dynamically assembled data, AbstractMemStorage. At the client, data is accessed via RemoteDataBooks. | JVx uses IStorage to transfer table data between client and server in standardized form. JVx contains an existing implementation for databases, DBStorage, and for dynamically assembled data, AbstractMemStorage. At the client, data is accessed via RemoteDataBooks. | ||
- | To avoid repeated implementation of familiar features such as meta data caching, server-side triggers, sorting, master/detail and export, existing base classes can be reused. | + | To avoid repeated implementation of familiar features such as metadata caching, server-side triggers, sorting, master/detail, and export, existing base classes can be reused. |
- | The class AbstractStorage implements the handling of server-side triggers. AbstractCachedStorage is a derivative of AbstractStorage and implements the meta data cache. | + | The class AbstractStorage implements the handling of server-side triggers. AbstractCachedStorage is a derivative of AbstractStorage and implements the metadata cache. |
DBStorage is derived from AbstractCachedStorage and implements the required methods: | DBStorage is derived from AbstractCachedStorage and implements the required methods: | ||
Line 28: | Line 28: | ||
- | If data has to be assembled dynamically AbstractMemStorage zcan be used. This class uses MemDataBook to save the data. | + | If data has to be assembled dynamically, AbstractMemStorage can be used. This class uses MemDataBook to save the data. |
One example of use would be for email queries. The data could be provided to the client in email storage. Another example would be TwitterStorage. | One example of use would be for email queries. The data could be provided to the client in email storage. Another example would be TwitterStorage. |