The amount of data such as Sina Weibo large, often insert new content, I need the latest data every 20 or 40 refresh. The data in the local database or back-end database is how to store and read?
Reply:
Sina's implementation should use the local cache strategy. From the server side request to the latest data will be cached locally, here's the way cache implementation might be "Archive" or NSUserDefault. Status in networking, we can pull data from the server, can be detected when a broken network load data from the local cache. Only a personal guess
Reply:
This is the problem of synchronization of data on the mobile terminal can google: "the mobile terminal data synchronization"
Reply:
Flushed to the data server is not giving you sent over after each refresh data stored in the local database loaded and loaded when the first load and then perform local operations .... Every time the server to refresh your data will be the latest of
No comments:
Post a Comment