开始关注Ajax

本文讲述了作者初次接触Ajax技术的感受及学习计划。介绍了Ajax技术如何通过异步通信改善用户体验,克服传统Web应用需频繁刷新页面的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

2006/2/17

我是在无意间才知道Ajax技术的,鉴于自己本来就对html,xml,css,javascript等有所熟悉,Ajax给我的感觉彷佛就像是黑夜中见到一丝微光那样,令我为之振奋,所以决定花些时间学习一下。

Ajax的出现也是最近的事吧,国内的Ajax资料还很少,而且大部分都是翻译国外的,因此我决定找国外的资料看看,顺便学学英语,呵呵。

当前找到的电子书籍及其源码有:

《Foundations of Ajax》,《Ajax in action》,《Pragmatic Ajax》,等等。

开始学习了。。。。。。

We thought we had found the Holy Grail of software development when we started building
Web applications several years ago. Previously we had been developing thick client applications
that required a lengthy installation process every time a new version of the company’s
application was released. The application was deployed to several hundred users scattered
across the country, and much to our dismay we had to watch as the complex and error-prone
installation process continually caused headaches and angst for developers and users alike.
Deploying an application through a browser seemed like a much more palatable option
because it would eliminate the need to install software on the client computer. So, like many
others, our organization moved swiftly to deploying applications on the Web.
Despite the relative ease of deployment, Web applications still had their share of issues.
Most notable from a user’s perspective was the significant loss of rich interactivity provided
by the user interface. Web applications were constrained to the basic set of widgets provided
by HTML. Worse yet, interacting with the server required a complete refresh of the page,
which was disconcerting to users who were familiar with rich client-server applications.
We always considered this constant need to refresh the page a serious liability of Web
applications and often experimented with ways to avoid a page refresh whenever possible;
at one point, we even considered writing a Java applet that would handle the communication
between the browser and the server. However, it soon became apparent that as more Web
applications were deployed, users simply got used to the constant page refreshes, and our
zeal for finding alternatives slowly faded.
Fast-forward five years. Even before the term Ajax was coined, asynchronous communication
between the browser and server using the XMLHttpRequest object was creating a buzz
within the developer community thanks to applications such as Google Suggest and Gmail.
The XMLHttpRequest object has been available in Internet Explorer for several years, but now
that it was being supported by other browsers, it was poised for a breakthrough. We added
Ajax functionality to an existing application we happened to be working on at the time, and
we were so impressed with the results that we thought, “Hey, somebody should write a book
about this.” Thus, the seeds for this book were sown.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值