-
3 Jun 2010 8:49 AM #1
Store.sync() only seems to work from site > local storage, not local storage > site
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 #2Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
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.Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
3 Jun 2010 10:53 AM #3
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/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
whay my site dont work wite e6?
By koko2589 in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 7 Jul 2009, 9:18 PM -
How to load grid store json from file in Application Storage Directory
By stephan.raabe in forum Ext.air for Adobe AIRReplies: 1Last Post: 24 Dec 2008, 9:54 AM -
idea: local storage using Flash Shared objects
By PromaneX in forum Community DiscussionReplies: 0Last Post: 2 Jun 2008, 4:53 AM -
Will ExtJS work for a wiki style site
By nanobot27 in forum Community DiscussionReplies: 2Last Post: 22 Nov 2007, 4:15 AM


Reply With Quote