As one of the newest software development technologies, RIA is experiencing its beginning stage, therefore there is no such a uniform industrial standard for this technology with regards to how to develop a rich-media enterprise-level software system efficiently, precisely and with lower cost. Although many giant companies do have the technique standard of their own, it is very difficult for promotion so that a bottom neck does exist. The purpose of this article is to propose one MVC framework in order to satisfy the development of rich-media software. The technique foundation is the Cairngorm Framework from Adobe Company.The core operational principle of Cairngorm is event-driven, for any operation and requestion are based on event.The following problems will be solved in this paper: the processing of user action and the monitoring of user event at client end, the encapsulation of business logic and the interaction with server end, the management of huge data information of both client side and server side, displaying of client management mode on user interface, the bonding between the component views and the related data sets and date sources.In this paper we will achieve thoese core function code designing, For example Service Locator Class, Responder Class , Cairngorm Event Class, Cairngorm Event Dispatcher Class, Front Controller Class and Model Locator Class. |