开发者

Any HTML5 localstorage wrapper?

开发者 https://www.devze.com 2023-04-08 19:02 出处:网络
Any library to support CURD Get a list, skip, limit Filter by field Or should开发者_开发技巧 we use this as NoSql database?I\'d use it as a NoSQL database personally, but I\'m sure you could modi

Any library to support

  • CURD
  • Get a list, skip, limit
  • Filter by field

Or should开发者_开发技巧 we use this as NoSql database?


I'd use it as a NoSQL database personally, but I'm sure you could modify this to work with it on smallish scale applications:

http://code.google.com/p/trimpath/wiki/TrimQuery


Try CarboStorage:

http://carbogrid.com/index.php/storage/home


I recently was up against the same question, and ended up writing my own:

http://morgul.github.io/dustbin/

It's heavily influenced by Riak, completely unit-tested, and about as simple as I can make it. Works well for my use cases.

If there's enough demand, I've even got a proposal for adding Link support similar to Riak. It would not be hard; I just need someone who uses it to weigh in on the proposal.


I know this is an old post, but it was one of the first I came across in a google search for this type of thing. The one I wound up going with is called 'StoreJS'. You can find it here. It currently has 4,250 stars on GitHub, which is awesome.

https://github.com/marcuswestin/store.js/

0

精彩评论

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