最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - jQuery SQlite - Client Side Storage - Stack Overflow

programmeradmin2浏览0评论

I am looking for JQuery or any other ways to store data on client-side (i.e. browser). I am preferring SQLite as it seems to have support as part of all the latest browsers supporting HTML5.

The plan is to basically to incrementally sync data from server-side & provide some search functionality on client-side. Not sure how much sophisticated search I can do with javascript.

Does anyone know of any such plugins or javascript solutions. Is it viable at all?

UPDATE: I am looking for sqlite based solution in browser as it provides good support for full text search. Also what are the limitations on size? I know sqlite3 performs well even for data more than 1GB. Does browser have any such size limitations? Is this possible at all??

I am looking for JQuery or any other ways to store data on client-side (i.e. browser). I am preferring SQLite as it seems to have support as part of all the latest browsers supporting HTML5.

The plan is to basically to incrementally sync data from server-side & provide some search functionality on client-side. Not sure how much sophisticated search I can do with javascript.

Does anyone know of any such plugins or javascript solutions. Is it viable at all?

UPDATE: I am looking for sqlite based solution in browser as it provides good support for full text search. Also what are the limitations on size? I know sqlite3 performs well even for data more than 1GB. Does browser have any such size limitations? Is this possible at all??

Share Improve this question edited Apr 6, 2011 at 8:00 Srikar Appalaraju asked Apr 6, 2011 at 4:27 Srikar AppalarajuSrikar Appalaraju 73.8k55 gold badges219 silver badges265 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 2

"HTML5" includes localStorage which might work for you, some great info on it can be had here:

http://diveintohtml5.ep.io/storage.html

If you planning to store less than 5Mb.

You could use http://www.jstorage.info/

Its not SQL but you can incrementally sync data, use it if it exsit or go to the server if it does not. Plus its cross browswer patible and works on older browers but not with as much storage

I've heard good things about Lawnchair

发布评论

评论列表(0)

  1. 暂无评论