jQuery SQlite - 客户端存储(jQuery SQlite - Client Side Storage)

我正在寻找JQuery或任何其他方式来存储客户端(即浏览器)的数据。 我更喜欢SQLite,因为它似乎支持所有支持HTML5的最新浏览器。

该计划基本上是从服务器端逐步同步数据并在客户端提供一些搜索功能。 不知道我可以用javascript做多少复杂的搜索。

有谁知道任何这样的插件或JavaScript解决方案。 它可行吗?

更新:我在浏览器中寻找基于sqlite的解决方案,因为它为全文搜索提供了很好的支持。 尺寸有什么限制? 我知道sqlite3即使对于超过1GB的数据也表现良好。 浏览器是否有任何此类大小限制? 这有可能吗?

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”包括可能适合您的localStorage ,可以在这里找到一些很棒的信息:

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

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

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

jQuery SQlite - 客户端存储(jQuery SQlite - Client Side Storage)

我正在寻找JQuery或任何其他方式来存储客户端(即浏览器)的数据。 我更喜欢SQLite,因为它似乎支持所有支持HTML5的最新浏览器。

该计划基本上是从服务器端逐步同步数据并在客户端提供一些搜索功能。 不知道我可以用javascript做多少复杂的搜索。

有谁知道任何这样的插件或JavaScript解决方案。 它可行吗?

更新:我在浏览器中寻找基于sqlite的解决方案,因为它为全文搜索提供了很好的支持。 尺寸有什么限制? 我知道sqlite3即使对于超过1GB的数据也表现良好。 浏览器是否有任何此类大小限制? 这有可能吗?

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”包括可能适合您的localStorage ,可以在这里找到一些很棒的信息:

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

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

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