Reputation: 197
I have implemented JSONStore sync process as follows:
1.Push the local changes to the server
2.If pushing data is successful then wipe out all existing local data.
3.Load the fresh copy of data from server.
I need to know is this process of data sync a good way ?
If not then what is the standard and optimized way to do that.
Thanks in Advance
Upvotes: 3
Views: 365
Reputation: 5111
That is a perfectly valid way of working with external data. Good job.
Upvotes: 2