Studies on an Ajax-Based Web Application Framework and Its Application

Author
QiaoCuiPing
Advisor
WuYeFu
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2007
Downloads
459
Citations
11

Request the full text

Abstract

During recent years, web applications have become more and more popular because of the abundant user interface and favorable maintainability they provided. However, the web applications of traditional mode are facing many problems with the practices, e.g. low response speed and relatively poor service performance. So, Ajax-- a new kind of web developing technology-- has gradually become the hotspot of the web application.Ajax adopts asynchronous call method to realize pages’ partial refresh. So it can reduce network traffic through only sending and receiving the data it needed, provide web-based applications with higher instant responsibility, better interactive ability and more convenient customizable service. In a word, Ajax recreates the seamless user experience of most other desktop applications. Comparing with the traditional web technologies, e.g. Applet and Flash, Ajax can be applied directly in most popular browsers without special software supporting. Ajax synthesizes several key technologies, including JavaScript, Dom, XMLHttpRequest and XML: through Dom JavaScript accesses request parameters information and uses XMLHttpRequest to send the asynchronous request, the server handles the request, and then return ordinary text or XML document, finally browser use JavaScript explains XML, and Dom updated and adopted the relevant user interface.At present, most of popular web design frameworks are based on the MVC pattern. The kernel of MVC pattern is dividing the whole program codes into three relatively independent parts which can cooperate with each other as teamwork: model, view and controller. With the design pattern above, the web application systems have clearer structures, better maintainability and expansibilities.If we can apply the Ajax technique into the MVC design pattern, make them work together, it can take advantage of both prevalence to optimize the existing web applications and improve the system’s service performance. And the emphasis of this article is the problem how to realize the seamless combination of Ajax and present MVC design patterns to build more efficient and reasonable web-based application framework. Firstly, the article researches and analyzes deeply into the component and realization principles of Ajax and web framework. Secondly, it discusses how to apply Ajax into MVC pattern, analyzes how to combine them seamlessly on the perspective of the system framework. In this part, it focuses on exploring the combination of DWR framework which implements Ajax and Struts framework which implements MVC pattern. Thirdly, with the application of practical project, the article designs and implements the web framework based on Ajax in detail. The most important point of this part is discussing how to realize the dynamic requesting and the dynamic submitting by using this framework. And the application proves that this kind of web application framework based on the Ajax technology has characteristics of clearer structure and higher efficiency.

Table of contents

Abstract 3-4 Abstract 4-8 Chapter 1 Introduction 8-13 topic 1.1 Background and Significance 8-9 1.2 subject sources and research content 9-10 1.3 development status at home and abroad 10-12 1.4 In this paper, the structural arrangements 12-13 Chapter 2 Ajax technical foundation 13-32 2.1 Ajax definition 13-14 2.2 Ajax implementation of technology 14-20 2.2.1 DOM model 14-15 2.2.2 an XML technology 15-16 2.2.3 XMLHttpRequest object 16-18 2.2.4 JavaScript. language 18-20 the 2.3 Ajax's WEB framework to achieve 20-26 2.3.1 Ajax execution cycle 21 2.3.2 Ajax client and server asynchronous communication 21-25 2.3.3 Ajax WEB framework model 25-26 2.4 Ajax application case study 26-30 2.4.1 Gmail 27-28 2.4.2 Google Suggest 28-30 2.5 Ajax's strengths and weaknesses 30-32 2.5.1 Ajax advantage of 30-31 2.5.2 Ajax's shortcomings 31-32 Chapter Ajax MVC pattern combination of Web application framework research 32-54 the the 3.1 Ajax development framework 32-39 3.1.1 Ajax development framework select 32-34 3.1.2 DWR framework Introduction 34 3.1.3 DWR framework for allocation of 34-37 3.1.4 DWR framework principle 37-39 3.2 Struts framework based on MVC pattern 39-43 3.2.1 MVC mode Introduction 40-41 3.2.2 Struts development framework 41-43 3.3 Ajax technology research in the MVC model 43-53 3.3.1 Ajax technology combined with the MVC pattern principle 43-45 3.3.2 Struts framework using Ajax technology 45-49 3.3.3 DWR combined with Struts 49-53 the significance 3.4 combined 53-54 Chapter 4 based Ajax web application framework designed to achieve 54-66 4.1 Project Profile 54 4.2 system function structure design 54-56 4.3 system framework design 56-57 4.4 system development environment 57-58 4.5 Ajax technology and Struts framework binding on the system to achieve 58-66 4.5.1 dynamically extract data 58-62 4.5.2 Dynamic submit data 62-66 Chapter 5 Summary and Outlook 66-68 5.1 thesis work summarizes 66-67 5.2 research outlook 67-68 the References 68-70 Acknowledgements 70-71 the Appendix: papers published during her study and to participate in the project 71

Related dissertations

  1. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  2. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  3. Design and Realization of Training Grade Comprehensive Rating System of Nanjing Information Technology Institute
  4. Retailers Membership Card Management System Design and Implementation
  5. Research and Application of Classroom Teaching Assessment System in Primary and Middle School
  6. Design of the Jiujiang Institute of Financemanagement System
  7. Design and Implementation of Intelligent Management System of Assets
  8. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  9. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  10. Establishing the Personnel Information System Which Based on the Struts Framework
    DiaoWenChang ·Tianjin University ·2012 ·Master's thesis
  11. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  12. A MVC-Based Network Teaching Evaluation System
    ZhuXiaoDong ·Ocean University of China ·2013 ·Master's thesis
  13. Research and Implementation of a Human Resource Management System Based on XX Company
  14. The Design and Implementation of Campus Network Counting Management System for Shandong Industrial Vocational College
    LaoJianGuang ·Shandong University ·2013 ·Master's thesis
  15. The Design and Implementation of Commercial Bills Business Process Management System for Lai Shang Bank
    WangQingZhen ·Shandong University ·2013 ·Master's thesis
  16. Design and Implementation of Electric Power Standardization Job On-the-spot Management System
    JiangShan ·Shandong University ·2013 ·Master's thesis
  17. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  18. FAW-VW Audi Dealer Training Management System Realization and Implementation
    XuKaiXing ·Jilin University ·2013 ·Master's thesis
  19. Design and Implementation of Material Management System
  20. The Design and Implementation of Material Supply Managerment in Fengfeng Group