开发者

jQuery SQlite - Client Side Storage

开发者 https://www.devze.com 2023-02-22 03:30 出处:网络
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.

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??


"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 compatible and works on older browers but not with as much storage


I've heard good things about Lawnchair

0

精彩评论

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