System and method for offline-first application development

A system to synchronize application data bidirectionally between N clients and one server, by:(a) pushing mutations made in the client to the server, wherein each mutation is comprised of a mutation name identifying the type of mutation, and arguments provided by the application modifying the behavi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Arvidsson, Erik, Boodman, Aaron, Schneider, Fritz
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A system to synchronize application data bidirectionally between N clients and one server, by:(a) pushing mutations made in the client to the server, wherein each mutation is comprised of a mutation name identifying the type of mutation, and arguments provided by the application modifying the behavior of the mutation, and the pusher also pushes a client ID and mutation ID for each mutation to the server;(b) pulling server differentials to the client;(c) storing key/value pairs in a versioned cache, wherein the keys are text strings and the values are data provided by an application in the client; and(d) resolving conflicts between the client and the server with a rebaser that:forks the cache to create a synch branch when the client receives the latest server differential,applies the latest received server differential to the synch branch,applies only those mutations to the synch branch that have not already been acknowledged by the server, and thenmakes the synch branch the main branch of the cache.