LA Flash Adobe User Group
TOPIC: Managing Application State w/ Adobe Flex 3

AGENDA: Simple form controls may feature only one view and one set of data. Easy right? However, many of our real applications are much more complex than mere forms. Managing multiple visual states and sets of data can become overwhelming during the design and development of more robust projects. With proper design methodologies and development practices we can successfully manage state in our applications. Learn state management to build more powerful applications featuring greater scalability. While the examples shown will be specific to Flex 3 for deployment to the browser, this session is equally relevant for application developers of other technologies including Adobe Flash CS3 and Adobe Flex 3 for Adobe AIR desktop deployment.
AUDIENCE: Beginner to advanced Adobe Flash CS3 and Adobe Flex 3 developers with equivalent ActionScript 3.0 knowledge.
TAKE-AWAY: Attendees will gain a deeper understanding of how to design and develop stateful applications. All source code and documentation will be available to attendees.
SECTIONS:
- Section 1: Introduction & State Defined (25 mins)
- State is a Snapshot of Your Application at a Given Time.
- State is Logical
- Stage is Visual
- Section 2: Data-State Management (15 mins)
- Using Conditionals
- Using Namespaces
- Using the State Pattern
- Section 3: View-State Management (10 mins)
- Creating Flex View States
- Using Flex Transitions
- Using Flex Effects
- Marrying View-State with Data-State
- Bonus: Managing State w/ Browser Back Button (Time Permitting – 10 mins)
DATE:
- Wednesday, February 20th 2008, 7pm (PST)
MORE:
- View Session Video (Will not be made available)
- Download Documentation & Source Code












This was a good introduction to managing state in Flash/Flex–the namespace technique was something I’d never heard of before and very intriguing. I wish there had been more time to dive into specifics on how to architect applications with history support, as it seems like there’s a whole mindset there to be taken into account if you’re going to do it well. Good session overall, thanks Sam.
If you are interested in state management I highly recommend you start exploring state machines, in particular heirarchical states is analogous to OOP for modelling nouns, except for time.
They also deal with transitions far more elegantly than the plain vanilla state pattern.
http://www.troyworks.com/cogs/
http://troyworks.com/blog/?p=9
I saw your presentation about using flex and flash cs3 together, I find it rather intriguing, would like to learn more.
Over all a great idea!.