simonwidjaja
18 Jan 2012, 2:32 AM
Hi Sencha Community.
I'm pretty new to Ext JS (coming from a Adobe Flex background) and I'm loving it so far. But I have the following question:
Where can I store some simple data (e.g. presentation data: isLoggedIn or isTooltipHelpActivated)? With simple data I mean values that exist just once (no collections) and do not need to be persisted in the backend. So the datastore doesn't seem the right place for that kind of data. I global Singleton would do it, but not a big fan of this (anti-)pattern.
Any hints?
Thanks in advance!
I'm pretty new to Ext JS (coming from a Adobe Flex background) and I'm loving it so far. But I have the following question:
Where can I store some simple data (e.g. presentation data: isLoggedIn or isTooltipHelpActivated)? With simple data I mean values that exist just once (no collections) and do not need to be persisted in the backend. So the datastore doesn't seem the right place for that kind of data. I global Singleton would do it, but not a big fan of this (anti-)pattern.
Any hints?
Thanks in advance!