Hey everyone,

Just a short note to let folks know that we've released an angular module 
that we've written for our offline-compatible web applications.

It works almost exactly the same way as $resource, but will queue writes 
and cache responses in localStorage, so if you're offline, you'll still be 
able to use your app with almost no extra work.
Also, if you do a query-style request (isArray: true), it'll populate the 
cache for each individual item in the array.

var Article = $cachedResource('article', '/articles/:id', {id: "@id"});var 
article1 = Article.get({id: 1});*var* article2 = new Article({id: 2, contents: 
"Lorem ipsum dolor..."});
article2.$save();


http://bites.goodeggs.com/open_source/angular-cached-resource/
http://github.com/angular-cached-resource/

I'm curious what you all think of this approach!

Best,
Max

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to