Font Size: a A A

Study And Improvement Of Flex Cairngorm Framework

Posted on:2009-10-20Degree:MasterType:Thesis
Country:ChinaCandidate:Z X XiaFull Text:PDF
GTID:2178360242983018Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years with the great development of Web 2.0, Flex is very popular with many web application developers.To solve the non-technical problems in Flex development, such as application framework, code maintenance and teamwork of developers, Adobe consultant team focused on Flex application framework, and brought in many other successful design thoughts. Based on the features of Flex itself, they finally created a new architecture called "Cairngorm Framework". It keeps developers from complex design process and give them more freedom to focus on implementation of business logic.Cairngorm Framework uses MVC pattern as its main design pattern, and divided Flex application into three parts: view, model and control. The view is responsible for displaying user interface. The model is focused on data keeping, especially keep data consistency in two facts, one is data consistency between client and server, the other is between different views sharing the same data. At last the control provides a series encapsulation mechanism for handling event and invoking service besides transferring the data from model to view.In spite of such good points, it is not a perfect framework. A developer should neverbelieve in classic. On the contrast, Cairngorm framework can be improved. After studying the source code of the framework and using it in development for a long time,I had some ideas. I modified the framework in four facts: simplification of eventmechanism, improvement of web service, encapsulation of service call and separationof business logic. Compared with the original framework, the new one is more simpleand easy to use, and it is easier for developing micro web application.
Keywords/Search Tags:RIA, Flex, Cairngorm, Design pattern, Architecture
PDF Full Text Request
Related items