PDA

View Full Version : Ext.state.Manager equivalent in Touch?



parky128
11 Jan 2012, 7:15 AM
Hi,

What can I use in Touch for storing values in cookies like the Ext.state.Manager class from ExtJS?

Thanks

mitchellsimoens
11 Jan 2012, 7:20 AM
There is no state management in ST

parky128
11 Jan 2012, 7:25 AM
Is this by design or are there any plans on the roadmap to get state management support into ST?

mitchellsimoens
11 Jan 2012, 7:28 AM
Not a whole lot that really needs it. What widget are you needing it for?

parky128
11 Jan 2012, 7:37 AM
I was using this object in an ExtJS application where user preferences could be stored and persisted between sessions. I need to provide the same functionality in my ST application, is this where Sencha.io can help?

mitchellsimoens
11 Jan 2012, 7:41 AM
You could use Sencha.io if you want things to persist cross-device. If you just want it on one device, you can save settings in a Store that uses lcoalstorage proxy... that saves data into the HTML5 localstorage. It has a limit of 5MB however.