PDA

View Full Version : Where to store Client State



toddgeist
22 Jun 2010, 9:08 AM
Hello,

I am getting into my first big ( well medium ;) ) project. I am planning on implementing the module pattern. I am working my way through the manual. I have not as yet found anything that relates to where I might store what I call client side state or application model. This is where I would put things like, CurrentCustomer, CurrentIUser, etc.

I actually learned Flex and Actionscript first, and I am kind of use to Databinding. I used to just stick all of the state stuff in a class called AppModel and then bind everything to it. I know I can't do that with Ext. But I am guessing that a common pattern for dealing with state has evolved in the Ext world.

Can anyone offer any suggestions?

Thanks

Todd

toddgeist
22 Jun 2010, 12:15 PM
uh.. duh... I guess this is what Ext.state.Manager is for?

some day I hope to get a clue :">