Code Review
Lets talk about what the classes do. Yes there are only 6.
ControllerFactory
The ControllerFactory is usually the first class you will interact with inside and easyMVC application. Because the focus of the framework is to move the logic and flow of the application out of the view, we start by sub classing ControllerFactory to create our controller classes. If you subscribe to the skinny-controller model of thinking your controller may just mediate between your business objects and the outside world. However for many applications this is where the bulk of your code may be.
ControlEvent
The ControlEvent is the base class for all events that are dispatched within the framework. When you are getting started building your applications you can instantiate this object and specify its type, without having to create your own custom event classes. To help you extend the usefulness of the class it has 3 properties,: data:Object, onSuccess:Function, onFailure:Function. These properties allow you to pass data along with your event, as well as allow you to have callbacks to the view based on decisions that can be made in the controller. Internally controllers get implemented statically so after instantiation you can use the getController() method to access the instantiated controller objects.
ServiceFactory
The ServiceFactory is a direct rip off in concept from Cairngorm. This class allows you to create a central location for all your remote service calls. Use the getService() method to ask for a service by its ID.
RemoteMediator
The RemoteMediator class allows you to assign methods of your controller as the methods of a ResponderObject? for your remoting calls. This allows us to not require additional classes in order to respond to the events of our remote service calls. This concept was borrowed from the FAST framework for flex 1.5
ModelLocator
escali bathroom scale bissell proheat deep carpet cleaner Cook's Tools & Gadgets Strollers Solid Feeding Bissell Store Staplers BOB Warm Fuzzy in White Britax Boulevard Click and Safe Convertible Car Seat Schwinn Joyrider Jogging Stroller Sassy Teething Feeder, Colors May Vary Melissa & Doug Deluxe First Bead Maze
The ModelLocator class is also a direct rip of from Cairngorm. Although, I started off using this class extensively I have now started using variables in my Controllers to gain the same effect. This class is here for those who enjoy the modelLocator paradigm.
ClassUtil
This is a class that is used internally to automatically register instantiated controllers with the controller factory, so that the getController() method can look them up by class name.
