12 Sep 2012 1:42 PM #1
Sencha Touch 2 example of syncing localStorage store with remote JSONP proxy store
My blog post describes a quick and simple way to sync localStorage with data coming from a remote source. Would like to hear any feedback on this.
16 Sep 2012 3:54 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You need to get a syntax plugin for your blog so that your code can have syntax highlighting but more importantly for indention.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
17 Sep 2012 1:03 PM #3
Thanks for the feedback. I've finally found out how to do this with a wordpress.com site. Post is looking better now. Cheers
27 Nov 2013 11:16 AM #4
So, trying to pu the old Records stored in the instance variable would cause refreshing to occur twice because I was add-ing at least some of the "old" store records back in after the new results of "load" and then therefore trigger events after the "load" when I did the "add".
So, two Stores definitely seems appropriate in this case, from my recent personal experience
16 Jan 2014 6:07 AM #5