3 Jun 2010 8:49 AM #1
Store.sync() only seems to work from site > local storage, not local storage > site
Is the meant to be like this? The method name (sync) sounds otherwise.
3 Jun 2010 9:57 AM #2
Think of a Store as a subset of some remote data source. In this case the 'remote' data source is actually local, but in could in principle be anywhere, accessed over HTTP.
On top of this subset is a delta of records added, records changed and records deleted. When we sync, we are applying that delta to our remote source via a Proxy. Sync is just the combination of the Create, Update and Delete actions. I'll think about the naming of that method though, suggestions welcome.
3 Jun 2010 10:53 AM #3
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
sync is good. I was just going over the current save method on a writable Store with a client, and mentioned that the 4.0 version would be the more logical name "sync" we all agreed that that was the correct term for the operation.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
By koko2589 in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 7 Jul 2009, 9:18 PM
By stephan.raabe in forum Ext.air for Adobe AIRReplies: 1Last Post: 24 Dec 2008, 9:54 AM
By PromaneX in forum Community DiscussionReplies: 0Last Post: 2 Jun 2008, 4:53 AM
By nanobot27 in forum Community DiscussionReplies: 2Last Post: 22 Nov 2007, 4:15 AM