Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
What brings the ‘rich’ to our rich internet applications? The beautiful, animated, interactive, lovingly crafted view components that users interact with. These view components and screens can be created in any number of ways. They might be complex Flex components or pure ActionScript using low level graphics APIs. No matter how your views are developed they will need to communicate both with other views and with the services and models we discussed in chapter 7.
This is where Mediators come in. Mediators are lightweight classes that create
a bridge between your view tier and the rest of your application. Mediators
act as switchboards. They listen for important events that the view needs to
respond to, and dispatch events to let the rest of the application know when
something changes in your view—usually because of user interaction.