节点文献

基于AJAX的动态Web开发技术探讨

The Investigation on Development Technique of AJAX-based Dynamic Web

【作者】 董鑫

【导师】 郑逢斌;

【作者基本信息】 河南大学 , 应用数学, 2007, 硕士

【摘要】 目前互联网正在从传统Web1.0逐渐向开放的,可读写的、多媒体的Web2.0交互平台过渡,以适应个人用户逐渐参与Web站点的互动要求。但是桌面应用程序所拥有的功能丰富性和响应能力则是目前Web所无法达到的。2005年2月Jesse James Garrettr提出了AJAX这个概念。AJAX(Asynchronous JavaScript+XML)是一种新兴的Web表示层技术,可以构建动态,快速和灵活的Web应用程序。AJAX可以消除传统HTTP通信模式中对表单的依赖,从而实现快速而轻量的异步通信。本文介绍了AJAX的实现原理与机制,阐述了如何利用AJAX技术来构建一个简单的框架以支持全新的Web应用,并利用该框架所构建的应用,实现了浏览器直接与后端服务的异步通信。AJAX综合了CSS、JavaScript、XHTML、XML、XMLHttpRequest、文档对象模型等技术,满足了构建丰富的基于Web的应用,解决了Web2.0交互,动态网页等的要求。并可以创建接近本地桌面应用的更直接高效、内容更动态的Web用户接口界面,使之有桌面程序一样的观感。本文以“PICC寿险公司人力资源管理系统”项目为研究基础,通过实例详细描述了AJAX技术在项目中的运用成果:1、以AJAX技术重构HR项目中的部分模块,编码实现“动态双组合下拉选择框”,“无刷新树形控件”。2、提出使用一种将AJAX技术与WebGIS的网络服务相结合的有效方法来实现WebGIS操作的良好用户体验。3、本文也从实用的角度出发讨论了AJAX技术适用的场合以及AJAX技术目前所面临的诸如重构,安全,调试困难等问题和应对的方案。4、文章最后对移动服务开发市场的发展趋势进行分析,指出AJAX很可能会替换Java ME和XHTML而成为开发移动应用程序的首选平台。

【Abstract】 At the present stage, the Internet is gradually transforming from the traditional Web1.0 to the Web 2.0 interactive platform, which is open, multimedia and can read and write, to meet the individual customers’demand to gradually take part in the website’s interaction.But the present Web can hardly match the multi-function and the responsive ability possessed by the desktop application program. In February 2005, Jesse James Garrettr put forward the concept of AJAX, which is the acronym of Asynchronous JavaScript and XML, its advent brings about a revolution in the application of Web. AJAX(Asynchronous JavaScript+XML) is a new Web presentation technology,which can be used to build dynamic,quick and flexible Web application program.AJAX can eliminate the dependence of sheet in traditional HTTP communication mode, so quick and light asynchronous communication can be achieved with it. In this paper, the implementation principle and mechanism of AJAX are introduced, how to build a simple architecture to support completely new Web applications with AJAX technology is expatiated. Using the application build with this architecture,the asynchronous communication directly between explorer and back end service is implemenated.AJAX integrated a couple of technologies, including CSS, JavaScript, XHTML, XML, XMLHttpRequest, the model of document object etc. and meets many requirements, such as constructing multi-application based on Web, solving the interacting problem of Web2.0, and dynamic webpage and so on. It can also develop Web users’interface that is more suitable for the local desktop application and more direct and efficient with more dynamic content, and make it have the same impressions as the desktop software .This thesis take "HR MIS of the Beijing headquarter of the PICC life insurance" item as to study foundation. These concrete instances explain the usage of AJAX in practice in detail:Firstly, in this paper we coded and relized the "dynamic double-combo dropdownlist" and "needlessly refresh tree component" to refactor the original module of the HR MIS.Secondly, this thesis proposes a valid way, which combines AJAX technique and visual web service of WebGIS and is highly applicable, to solve WebGIS’s problem of user experience.Thirdly, this thesis also analyses the suitable occasion for AJAX from a practical perspective and the problems faced by AJAX, such as refactoring, safety and adjusting difficulty, and gives corresponding solutions.At last, it is pointed out that in the context of the development of the mobile service market in recent years, AJAX will probably replace Java ME and XHTML and become the most preferred platform to develop the mobile service market.

【关键词】 AJAX异步通信XMLHTTPRequestWebServiceWebGIS
【Key words】 AJAXAsynchronous communicationXMLHTTPRequestWebServiceWebGIS
  • 【网络出版投稿人】 河南大学
  • 【网络出版年期】2007年 05期
  • 【分类号】P209
  • 【被引频次】22
  • 【下载频次】625
节点文献中: 

本文链接的文献网络图示:

本文的引文网络