ext.ux.offlinesyncstore's People
Forkers
matthew-muscat over40development nickcharsley corotchi jackerxff dpeeters nicon-dev is00hcw jumplee mcelotti ian-swarm buzzub ekodedypurnomo dawesiext.ux.offlinesyncstore's Issues
sql localProxy problem
Hi,
I've the app up and running and with localProxy set to localStorage eveything works as expected:
localProxy : {
type : 'localstorage',
id : 'offline-sync-store'
},
As soon as I change the localProxy to 'sql' it stops working and no tracking of changes takes place:
localProxy : {
type : 'sql',
id : 'offline-sync-store'
},
In the code it looks like localStorage is used anyway (localStorage.removeItem, localStorage.setItem), no matter the localProxy defined, I did not investigate too much though.
Is this working to somebody else?
Wrong POST url due to record.phantom
Once a new record has been saved to local db, the phantom property is set to false, as a consequence when you sync with server the phantom property is still false and the POST url has the record id in the path (ie POST /model/ext-record-123) which is wrong.
Marco
Only add items to the local store
Hi Andrew,
I'm working on a project. For this project we want to minimise data transfer between app/server.
We're implementing your offlineSyncStore for this reason.
I would like to know if it's possible to alter your code in a way so that if the server only sends new data, these new rows get added to the local store, instead of replacing them.
Now, when trying to accomplish this with the "loadServer" method, the local store items get removed if they're not present in the server call.
As you can imagine, this causes a lot of data transfer that isn't really necessary.
In an older version of the app we sent along the id's of the rows that were already synced, so only new rows were sent by the server. These rows were added to the local store. Sadly this wasn't a sencha project so i can't copy this.
The user can't make any changes on the device, so sync'ing the other way isn't necessary.
Any tips are appreciated!
No documentation of supported frameworks
Please add something like:
Support for Sencha Touch 2.X.X till 2.2.1.
I was wondering why it did not work, till I looked into the source code and recognized that you only support Sencha Touch, but not Ext JS.
Syncing not working with rest proxy
Hey Andrew,
I am using your OfflineSyncStore for local storage its working gr8 with Ajax Proxy..thanx. But since we are hitting rest link we thought of using rest proxy and the syncing doesn't actually work with rest. Have you been through this? Any thought process that can help us on this issue?
Thanks
Thayappan
Record loses track of changes
When the store is synced locally all the modified fields are forgotten, therefore when a server sync is done with Ext.data.writer.Json#writeAllFields: false nothing is send.
Sencha Architect
How do you import this component into Sencha Architect?
Missing license
There is no license on GitHub, on the Sencha Market you are mentioning GPLv3 and Sencha license.
Could you maybe release this under MIT so people are able to use it in there own project and fix a few things?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.