I’ve been doing lots of research on Flex/AS3 Framework’s lately and found an awesome one.
You basically create seperate objects for each part of your application.
- Commands (Controllers)
- Mediators (Object’s That Control the Views)
- Context (Maps Everything Together)
- Services (DataCalls)
- VO (Store Data)
The key is that every object only worries about it’s responsibilities, making it very structured and easy to debug. They for the most part don’t call direct functions of each other. Instead they create custom events and shoot them to each other. This is especially cool for Modular Apps. You can blast a event to all modules and they can each handle there own responsibility.
Very cool. You should check it out.