Universal Mind Cairngorm Extensions
Project Home • External Project Link • Contact Project
The Universal Mind library extends the Adobe Cairngorm in several lightweight, but significant, manners:
** FrontControllers ** - the UniversalMind FrontController supports:
- subControllers are available so mini-MVC modules can be aggregated and used within a global MVC framework.
- UIComponent eventHook functionality has been implemented so UI-level events may continue to be dispatched up the view hierarchy. These events are also dispatched directly to the CairngormEventDispatcher if the event is a CairngormEvent subclass. As such, no view code is now required to import CairngormEventDispatcher and event dispatches from PopUpManager are no longer an issue for the cairngorm MVC framework
** Events **
- The UMEvent now deprecates the dispatchEvent() method, and enforces the implementation of clone() and copyFrom() methods. These events now allow callers to provide an optional constructor parameter to specify the Responder for the call. This allows any event destination to notify the source responder with data:Object argument.
** View Notification **
- View notifications are provided via support for optional view responders; which allows views to be directly notified regarding command/delegate responses. This obviates the need for the deprecated ViewLocator. View notifications is achieved using the mx.rpc.IResponder interface and proxy class "Callbacks".
** Support for easy queue of delegate calls **
** Support for batches of events (sequence or parallel) using the EventGenerator **
** Command enhancements to support aggregation of event-business logic within a single Command class. **
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.