It is not necessary to inherit the framework classes.
The two basic principles of the framework describe these two diagrams:
Dependency injection
The controller using meta tags indicates the dependence on any service [Inject] public var userDelegate:IUserDelegate;
Swiz finds the corresponding implementation of this interface.
Swiz inject required service to controller
Event mediation
The controller using meta tags indicates interest in any event. [Mediate(event="LoginEvent.LOGIN", properties="user")] public function login(user:User):void
UI Displays a regular event with bubbling enabled (Best Practices imply the use of the Presentation Model which will dispatch events)
Swiz automatic executes commands in the controller that are interested in events.
Basic documentation is available on the developer’s website. ')
In the next post I will talk more about the structure of a simple application, and then also about the structure of a more complex application.