开发者

How to develop an iPad web app to cope with wifi outages

I'm looking at developing a web app that is primarily aimed at iPads. 开发者_如何学CIt will be a fairly standard html+jQuery client, but I was pondering making it resilient to wifi outages as it will be used a lot at conferences where wifi may be patchy. I was thinking of using json-formatted objects stored in lots of cookies, with captured data also being stored in 'json cookies', with a task running that will poll for a server connection and upload my json cookies when it can.

Does this overall architecture sound workable, and can anyone suggest a better way to manage client-side cacheing of objects and data?

Thanks very much.


Check out the offline web capabilities of HTML5, together with HTML5 client-side storage of the browser instead of cookies. This is the way to go nowadays, especially with the full support of this by the browser on the iPad.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜