作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (24): 124-125. doi: 10.3969/j.issn.1000-3428.2007.24.043

• 网络与通信 • 上一篇    下一篇

AJAX在基于NC机网络中的应用

毕振颇,刘志勤   

  1. 西南科技大学计算机学院,绵阳 621010

  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-20 发布日期:2007-12-20

Application of AJAX in Web Based on Network Computer

BI Zhen-po, LIU Zhi-qin   

  1. Institute of Computer Science, Southwest University of Science and Technology, Mianyang 621010

  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-20 Published:2007-12-20

摘要: 在基于无盘的NC机网络中,如果采用传统的同步交互式Web服务,会造成服务器的负担过重,并使用户等待时间过长。该文提出一种新的方法,将AJAX技术引入NC网络,在用户与服务器之间通过AJAX引擎异步调用XML以实现动态加载数据,使用户与程序异步交互而无须等待服务器的通信。在实例中,Web页面通过JavaScript调用AJAX引擎并异步加载数据,减轻了服务器和带宽的负担,使用户在浏览Web网页时所能感受到的程序反应灵敏度有所提高。

关键词: AJAX技术, 网络计算机, JavaScript程序

Abstract: As the network based on network computer(NC) has no hard disk, traditional synchronous Web applications bring heavy burdens to the server and let users wait too long for responses. This paper presents a new approach which introduces AJAX into NC network, allowing the user to load XML asynchronously from server in order to load the data dynamically via an AJAX engine, making it possible that the user interacts with the application asynchronously independent of communication with the server. In the demonstration, Web page calls AJAX engine and loads data asynchronously through JavaScript. Not only the burden on the server is lightened, the bandwidth is saved, but the user can feel the application is as sensitive as the desktop software while surfing on the Web.

Key words: AJAX, network computer, JavaScript

中图分类号: