离线数据存储和使用jQuery访问 [英] offline data storage & access using jQuery

查看:99
本文介绍了离线数据存储和使用jQuery访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都没有写离线数据存储的经验吗?在jquery上访问应用程序.我的服务器端应用程序将是ASP.Net应用程序.基本上,我将提供我的Web应用程序的精简版,以便用户可以在脱机时访问某些数据,并在再次连接时同步数据.我听说过Google齿轮,但想听取使用过Google齿轮或对此主题有更多了解的人.

does anybody have any experience writing up a offline data storage & access app on jquery. my server side app would be an ASP.Net app. basically, i would be providing a trimmed down version of my web app so that users could access some of the data while they are offline and can sync the data when they connect again. I have heard of google gears but wanted to hear from people who have used it or who know more on this subject.

推荐答案

没有插件是很难做到的,因为您唯一的选择是Cookie的限制为4k.

It's difficult to impossible to do without a plugin since your only option is a Cookie which has a 4k limit.

就像其他人建议的jquery-store一样,使用Flash作为数据存储. http://code.google.com/p/jquery-jstore/.我有偏见,除非绝对必要,否则不喜欢使用闪光灯.我在使用它和记忆时遇到了问题.因此,还有其他一些选择:

Looks like the jquery-store that others have suggested uses Flash as a data store. http://code.google.com/p/jquery-jstore/ . I am biased and don't like flash unless absolutely necessary. I have had issues with it and memory. So here are some other options:

Google Gears似乎就是您想要的那种. http://gears.google.com/

Google Gears seems to be the one that is going to be what you want. http://gears.google.com/

齿轮不是jQuery特有的.有人为此编写了jQuery包装器 http://code.google.com/p/jquery -offline/

Gears it is not jQuery specific. Someone is writing a jQuery wrapper for it http://code.google.com/p/jquery-offline/

这篇关于离线数据存储和使用jQuery访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆