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

javascript - Is there any 'open' Local Storage Adapter for Ember Data? - Stack Overflow

programmeradmin3浏览0评论

I am planning to use localstorage to keep the user data and to use Ember Data to manage this data for a personal web-app. I have read on the 'Ember Data' README.md that make a adapter for local storage is possible.

Is there any open implementation available? I am really new to GitHub and can't find any project with this type of adapter.

I am planning to use localstorage to keep the user data and to use Ember Data to manage this data for a personal web-app. I have read on the 'Ember Data' README.md that make a adapter for local storage is possible.

Is there any open implementation available? I am really new to GitHub and can't find any project with this type of adapter.

Share Improve this question asked Mar 17, 2012 at 7:12 tolbardtolbard 1,27315 silver badges20 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 14

I've created a localStorage adapter that supports hasMany/belongsTo associations, its also got a pretty decent test suite:

https://github.com/rpflorence/ember-localstorage-adapter

After have look throw all the branch of https://github.com/emberjs/data and I have found this https://github.com/thomasboyt/data/commit/249f60adbb80ec24a3e7739ce3892711588f7de4 , this is a localStorage adapter attempt by thomasboyt.

If you know any other attempt I would like to know them :-)

发布评论

评论列表(0)

  1. 暂无评论