haitao:
【技术贴-Web应用】解读流行词:什么是AJAX
[阅读: 380] 2005-06-16 02:10:49
解读流行词:什么是AJAX
(2005.06.14)
(本文转载自“2SIMPLE”,原文地址:http://edad.com.cn/datou/2005/02/ajax.htm)
【Ajax(Asynchronous JavaScript + XML)的定义】
Ajax并不是一种技术。它实际上是几种已经在各自领域大行其道技术的强强结合。Ajax混合了:
* 基于XHTML/CSS
* 由DOM(Document Object Model)实现动态显示与交互
* 通过XML和XSLT进行数据交换及处理
* 使用JavaScript整合上述技术
原文参见Ajax: a New Approach to Web Applications
直观一点的说Ajax能够实现不刷新浏览器窗口(当然更不用安装额外的插件)而满足用户的操作,现在一些看上去很Cool的网站,很多是用这项技术实现的,其中包括:orkut、Gmail、Google Group、Google Suggest、Google Maps、Flickr、A9.com等。2SIMPLE的Co-mment系统虽然没有用到XML/XSLT,其理念已经暗合容Ajax,实现了不刷新网页提供动态内给用户。
原文的作者最后说:
"The biggest challenges in creating Ajax applications are not technical. The core Ajax technologies are mature, stable, and well understood. Instead, the challenges are for the designers of these applications: to forget what we think we know about the limitations of the Web, and begin to imagine a wider, richer range of possibilities."
啧啧,说的真好。这要是换到中国,估计会要渲染成什么WEBXP之类玄乎的概念吧。Ajax虽炫,如何运用得当而不是卖弄技术,要有个度。