15. Web Browser
Dispositivo
Web Server
Java/PHP/
Ruby/C#
Arquivos
Imagens/
Documentos
Banco de
Dados
Backend
http://
Lógica de negócio
JavaScript
Arquivos
Imagens/
Documentos
Banco de
Dados
caching
32. // do a SERVER load, passing a callback function!
offlineSyncStore.loadServer(function(){!
!
// create a new Person record!
var person = Ext.create('Person', {!
FirstName: 'Joe',!
LastName: 'Bloggs',!
Email: 'joe@swarmonline.com'!
});!
!
// add it to the store!
offlineSyncStore.add(person);!
!
// sync the store LOCALLY. If autoServerSync is set to true then this will also sync using SERVER
proxy!
offlineSyncStore.sync();!
!
// if autoServerSync is false then call SERVER sync manually!
offlineSyncStore.syncServer();!
!
});!
https://market.sencha.com/extensions/ext-ux-offlinesyncstore