ForumsDevelopersSync help


Sync help
Author Message
Doubted Edwardo

Posted: Nov 04, 2010
Score: 0 Reference
Hi, I'm currently writing an application to sync tasks to the desktop. I was wondering if anyone had tips on an elegant way of syncing data? The way I see it I need to save 6 dates, the last time a task was edited, added or deleted on the server, and the same for my application. It can be done with 3 dates but that can't cope with data being changed in both locations before syncing. This all depends on the time being set correctly in Toodledo as well now that there is no getServerInfo. Is there any better of syncing data that's reasonably idiot-proof?

EDIT: Wow, just saw the flowcharts in the API docs. Really impressive work there, answers all my questions!


This message was edited Nov 04, 2010.
Jake

Toodledo Founder
Posted: Nov 05, 2010
Score: 0 Reference
Glad that it helped. If you save off all the timestamps for the account info API call, you can compare it to the next time you get the account info and this will tell you what you need to sync.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.