Analyzing data synchronization patterns
One of the capabilities that allow mobile applications to be quite functional is the fact that they allow data synchronization between the database and Local Storage These scenarios are very useful in contexts where applications work offline and data needs to be synchronized on both sides.
For this, OutSystems designed five synchronization patterns:
- Read-Only data – This pattern is useful for applications that only need to read data offline and the volume of data to transact between the database and Local Storage is low. This pattern is based on the principle of deleting all existing data on the Local Storage side, retrieving the data from the database, and creating it again on the Local Storage. An action for synchronizing Local Storage entities generated from database entities can be created automatically:
- Read-Only data optimized...