Research on Ajax/REST Architecture and Implementation of Developing Framework
- Author
- GaoShang
- Advisor
- LiWenSheng
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 292
- Citations
- 9
Abstract
The use of the Internet has brought once again the technological revolution, the revolution never not stopped . In recent years , Web 2.0 has gradually become the core of the revolution . The technology behind Web 2.0 , Ajax technology users and developers is one of the widely accepted technology . Ajax is a Web client technology, which in combination , enhance the ability of the client communication services on the basis of the conventional technique . It should be said that Ajax is essentially an intelligent Web client , it enhances the communication capability of the client , allowing the client to interact with the server asynchronously , to avoid refresh a Web page as a whole , to enhance the user-friendliness of a Web application ; it enhances the processing power of the client , so that the Web server to a certain extent have been liberated , and enhance the scalability of Web applications . These features of Ajax technology , making Ajax applications in many ways different from the traditional Web applications . Ajax application development , many developers still accustomed to using traditional Web application architecture and development , the result is the cost , and the return is not very satisfactory . This article is based on the existing problems in the Ajax application development process , starting from the analysis of the characteristics of Ajax technologies and applications , Ajax applications looking for a more suitable architecture model . In practice, we have studied the existing software architecture , software architecture derivation method obtained Ajax / REST architectural style . AJAX / REST architecture style to comply with the REST architectural constraints , and better adapted to the characteristics of Ajax applications . Combined with the actual project , Ajax application development framework based on Ajax / REST architectural style . Using the framework, Ajax applications can be developed smaller cost . Finally, by using the framework to develop Ajax applications to verify the effectiveness of the development effectiveness of the framework and Ajax / REST architecture style .
Table of contents
Abstract 4-5
ABSTRACT 5-8
The first chapter 8-10
1.1 project background 8-9
1.2 In this thesis, the main work 9-10
Chapter Ajax technology research 10-23
2.1 Ajax related technologies 10-15
2.1.1 XMLHttpRequest object 11-13
2.1.2 JavaScript 13-14
2.1.3 DOM 14
2.1.4 CSS 14-15
2.1.5 XML and JSON 15
2.2 and server interaction processes 15-17
2.3 Ajax libraries - Dojo 17-19
2.4 Ajax's four basic characteristics 19-20
2.5 Ajax application development problems 20-23
Chapter architectural style of 23-30
3.1 Related Terms 23
3.2 existing architectural style 23-24
3.3 REST Profile 24-27
3.3.1 REST origin 24-25
3.3.2 REST architecture constraints 25-27
3.4 The main application of the current REST 27-30
Chapter Ajax / REST architectural style 30-41
4.1 REST architectural style with Ajax application adaptability 30-34
4.1.1 traditional Web application and REST 30-32
4.1.2 Ajax applications and REST 32-34
4.2 Ajax / REST architectural style 34-41
4.2.1 schema attributes 34-36
4.2.2 schema elements 36-37
4.2.3 Processing view 37-38
4.2.4 architectural constraints 38-41
Chapter development framework to achieve 41-58
5.1 What is a framework 41
5.2 Project Background 41-43
5.2.1 Project objectives 41-43
5.2.2 Web UI main features 43
5.3 OSGI technology introduction 43-45
5.3.1 OSGI standard 43-44
5.3.2 OSGI implementation 44
5.3.3 Use OSGI advantage 44-45
5.4 server-side framework developers 45-47
5.4.1 application in the service termination mouth unified interface constraints 45-46
5.4.2 server-side framework developers 46-47
5.5 client framework development 47-54
5.5.1 a style Web applications 48-53
5.5.2 interact with the user 53-54
5.6 client-side Ajax / REST principles 54-58
5.6.1 asynchronous interactive and incremental communication 54
5.6.2 component-based user interface 54
5.6.3 stateful client and client-side processing 54-55
5.6.4 cache 55-58
Chapter VI development framework validation 58-68
6.1 Creating Web REST services 58-62
6.2 Creating Ajax client 62-67
6.3 Conclusions and lessons learned 67-68
Chapter Summary and Outlook 68-69
References 69-71
Thanks 71-72
master's academic papers published during the master directory and participate in research projects 72
Related dissertations
- Research on the Development and Support Platform of Mashup
- Research and Implementation of RIA Architecture Based on REST in Clothing Manufacturing Enterprises
- Research and Application of Continuous Integration Platform Based on REST
- Design and Implementation of Software Architecture on a Safety Production Supuervision System
- Customer Experience Optimization and the Operating Pressure Decomposition Based on Ajax Technology
- Research and Implementation of GIS Web Services Based on Ajax/REST
- Research and Design of Market Management System Based on Rails Framework
- Design and Implementation of J2EE Web Development Framework
- Research of Manufacturing Simulation and Workshop Control
- And the Realization of Hardware Sales Website Design Based on.NET
- Research and Implement of Distributed Crawler System Supporting AJAX
- Research and Implementation on E-commerce Recommendation System
- The User Database Resource Management System Based on WEB Design and Implementation
- And the realization of software testing reuse management subsystem design
- Colleges’ Information Integration and Application Based on the Framework of OSGI and REST
- Research on Architecture-Based Software Reliability Demonstration Testing Method
- The Design and Implementation of the Hospital Wards Management System Based on J2EE
- The Research of Applications Based on Combination of SSH2and ExtJs
- Research on Architectural Degeneration of Software System from Defect Analysis Perspective
- Implementation of Residential Property Management System Base on ASP