« MVC considered harmful | Main | Flex/Flash Architectural Challenge »

August 17, 2005

On state management

As part of the conversation about MVC, Grant Skinner brought up state management. I believe having centralized state management is critical, although I don't consider that the same thing as a controller.

Flash based apps tend to have recognizable "locations". These may include things like a login screen or an index page. Controls may also have states, such as an "up" state and a "down" state. Using a centralized dispatch mechanism for states is a good idea. I don't think of that as the same thing as a controller, but people seem to mean different things by the word controller...

Posted by sho at August 17, 2005 2:31 PM