Study and Improvement of Flex Cairngorm Framework
- Author
- XiaZhiXiang
- Advisor
- LiShanPing , SunJianLing , YangXiaoHu
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 346
- Citations
- 0
Abstract
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.
Table of contents
Abstract 3-4
Abstract 4-9
Chapter 1 Introduction 9-13
1.1 Project Background 9
1.2 Flex Application Framework Overview 9-13
1.2.1 Cairngorm 9-10
1.2.2 PureMVC 10-11
1.2.3 Model-Glue 11
1.2.4 Foundry 11
1.2.5 Guasax Flex Framework 11-12
1.2.6 ARP 12
1.2.7 Flest Framework 12-13
Chapter 2 Technical Background 13-21
2.1 Flex event registration channel 13-15
2.2 Flex event trigger 15
2.3 event distribution 15-18
2.3.1 event object 16-18
2.4 event listener 18-19
2.5 on asynchronous and execution order 19-21
Chapter 3 Cairngorm framework to explore 21-44
3.1 Cairgorm frame analysis 21-41
3.1.1 Value Ob ject 23-27
3.1.2 Model Locator 27-28
3.1.3 View 28-31
3.1.4 Event Handling 31-36
3.1.5 Service integration 36-41
3.2 Cairngorm framework summarizes 41-44
3.2.1 Cairngorm framework advantages 42-43
3.2.2 Cairngorm framework shortcomings 43-44
Chapter 4 Cairngorm framework to improve 44-61
4.1 event mechanism improvements 44-51
4.1.1 event listener 44-45
4.1.2 event will be distributed and broadcast 45-46
4.1.3 new Controller class 46-47
4.1.4 Event simplified 47-50
4.1.5 new event flow 50-51
4.2 enhanced WebService Manager 51-53
4.3 service calls to further abstract - Proxy mode 53-57
4.4 separation of business logic - reduce coupling 57-59
4.5 Summary 59-61
Chapter 5 Conclusion 61-62
References 62-64
Thanks 64-65
Author Biography 65
Related dissertations
- Integrating Flex RIA Web Applications for the J2EE Research and Implementation
- Application and Research of Cairngorm Framework in Flex Development
- Improvement Research and Application of Flex RIA Framework
- Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
- The Design of Virtual Instrument Program Development Tools Based on Flex
- Design and Implementation of Online Examination System Based on Flex and J2EE
- Research and Develop Exquisits Courses Management Platform for Jiujiang Vocational University
- Community Comprehensive Business Information Management Platform for Research and Development
- Design and Implementation of Taxation Analysis System Based on Flex and Java
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- Design and implementation of city underground integrated pipelines Rest and RIA information system based on
- Fujian Statistical Information Website Design Based on Web GIS
- Design and implementation of Jinggangshan red tourism system FLEX client and the REST service based architecture
- Design and Implementation of Real-time Rainfall and Water Information System Based on WebGIS
- Research on the RIA-based Remote Monitoring and Control Technology
- Design and Implementation of Topology Management in Network Management System of Electric Vehicle Power Station Based on Flex
- Design and implementation of electronic commerce system based on SSH2 architecture
- Xinjiang Mining Right Online Query Analysis System Design and Implementation
- Desigh and Implementation of Employce Management System of Dareway Computer Software Company
- Design and Implementation of Customer Management System Based on Open Source Design Pattern