Closed lukeholder closed 12 years ago
Hi Luke,
You need to overwrite backbone.sync or a add a sync method to your model. The use $.parse as a replacement. Check this out. http://documentcloud.github.com/backbone/docs/backbone-localstorage.html . I will definitely make an example as soon as I get home from my roadtrip. ;)
Great project, the demo were amazing! Would love to see Ember.js and/or Page.js sync as well.
Hi Alfred,
Glad you liked the demo. I'll add Ember and Page to the TODO's on the readme. I definitely need to get some more library support.
Just wanted to bump this one as well, because I'm really interested in it ;)
Luke & Joshua,
Working on it ;) It will be an add on $.parse method that is in it's on file. You will be able to override Backbone.sync or a individual models, collections with $.parse.backbone
or should I attach to backbone? Backbone.parse.. Hmmm.
Stephen,
I've also been looking at this set of backbone and parse related work by Brian Genisio. Don't know if that offers any help, but thought I'd share.
http://houseofbilz.com/archives/2011/11/07/going-mostly-server-less-with-backbone-js/
Yeah, been reading this ;)
how can I use this in backbone app?