QCON SP 2014: 10 dicas de desempenho para apps mobile hibridas
1. 10 dicas de desempenho para
apps mobile híbridas
Loiane Groner
http://loiane.com
2. Me,Myself && I
!
•Gerente de Desenv Projetos
•8+ XP TI
•Java JUG Leader
•Sencha Community Leader
•http://loiane.com
•@loiane
42. // 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: '[email protected]'!
});!
!
// 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
43. // 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: '[email protected]'!
});!
!
// 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