How to design a synchronization mechanism when developing a GTD tool APP

Source: Internet
Author: User
How can I design a GTDAPP with synchronization functions, like Wunderlist and doit. im, any. do, TickTick. if you want to enable automatic updates when you are offline, you need a synchronization mechanism. After the user can connect to the Internet, the system automatically synchronizes data, or click the button to manually synchronize data. example... how can I design a GTD APP with synchronization functions, like Wunderlist and doit. im, any. do, TickTick.
If you want to enable automatic updates when you are offline, you need a synchronization mechanism. After the user can connect to the Internet, the system automatically synchronizes data, or click the button to manually synchronize data.
For example, when I was offline, I created five plans, each of which had another sub-plan, deleted two, and renamed several other plans. When I was able to access the Internet, I click the synchronize button to synchronize to the server database in time.
How is this synchronization mechanism designed? I did not see these teams share their development experience. I am sorry.
Please give me a good answer. It is best to consider it carefully. For more information, see "O (∩ _ ∩) O ".

Reply content:

How can I design a GTD APP with synchronization functions, such as Wunderlist, doit. im, any. do, and TickTick.
If you want to enable automatic updates when you are offline, you need a synchronization mechanism. After the user can connect to the Internet, the system automatically synchronizes data, or click the button to manually synchronize data.
For example, when I was offline, I created five plans, each of which had another sub-plan, deleted two, and renamed several other plans. When I was able to access the Internet, I click the synchronize button to synchronize to the server database in time.
How is this synchronization mechanism designed? I did not see these teams share their development experience. I am sorry.
Please give me a good answer. It is best to consider it carefully. For more information, see "O (∩ _ ∩) O ".

This is the synchronous design of our project, and I am also seeking for optimal practices.
Http://segmentfault.com/q/1010000002541488

This server must maintain a version management, which is similar to code management software such as SVN. It must be updated for merge before each submission. Then submit. Differential checks and updates must be performed locally. Code management tools are more responsible for scenarios than you do, because collaboration is involved. Therefore, this mechanism is certainly applicable to your application scenarios.

I am looking for development experience, but I don't know how to solve it?

Save all local operations locally and perform them all during synchronization. This should be the simplest

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.