Code Monkey home page Code Monkey logo

Comments (6)

acao avatar acao commented on September 25, 2024

This gave github search me a bunch of results, just look for some fairly new and/or replete implementations:

https://github.com/search?nwo=rpflorence%2Fember-localstorage-adapter&q=ember-localstorage-adapter&ref=cmdform&search_target=global&type=Code

from ember-localstorage-adapter.

3goats avatar 3goats commented on September 25, 2024

Me too - all I need is a simple working demo in single page app. I've trawled the internet and all the ember books I can find but still can't get anything to work.

from ember-localstorage-adapter.

kurko avatar kurko commented on September 25, 2024

Guys, to be honest, I've never used an adapter in one model, so I have no idea how to debug this.

Second, this is not an adapter issue given that it is plugged in by Ember-Data. I believe someone would help you if you opened an issue there instead. 

Sent from Mailbox

On Tue, Aug 5, 2014 at 12:57 PM, Carl Bourne [email protected]
wrote:

Me too - all I need is a simple working demo in single page app. I've trawled the internet and all the ember books I can find but still can't get anything to work.

Reply to this email directly or view it on GitHub:
#61 (comment)

from ember-localstorage-adapter.

acao avatar acao commented on September 25, 2024

I know that Ember CLI makes it very transparent to implement adapters and serializers for specific models. Kurko is right - it need not be a localstorage-specific you are running into.

I know that when using this adapter in the past it was critical to define a specific namespace for the adapter, and to reinitiailze the app tooling system in ember cli. If you don't define a namespace for localstorage, I think the docs say it's supposed to define a default namespace but it doesnt.

But yes - make sure to review the ember data docs, and tutorials, and pay mind to the version you are using in your app. Nowadays there are a plethora of resources on using ember data. Also, you'll find the ember inspector very handy.

from ember-localstorage-adapter.

acao avatar acao commented on September 25, 2024

You may want to try a TDD approach to learn how things are working as well.

Here is the update test for this localstorage adapter itself:

https://github.com/rpflorence/ember-localstorage-adapter/blob/master/test/tests.js#L190

If you use the ember inspector for chrome, you can investigate the behavior of the RSVP promise objects.

from ember-localstorage-adapter.

kurko avatar kurko commented on September 25, 2024

Thanks, @acao.

from ember-localstorage-adapter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.