百度空间 | 百度首页 
 
查看文章
 
【泛读】Understanding the limitations of Ajax
2008-06-18 07:49

expert from The essential guide to dreamweaver cs3 with css, ajax and php

(仅供个人学习使用~)

All mainstream modern browsers as far back as Internet Explorer 5.0 (Windows only),
Mozilla/Firefox 1.0, Netscape 7, Safari 1.2, and Opera 7.6 support the level of DOM manipulation
required by Ajax but with one important condition: JavaScript must be enabled.


This may not seem to be a major obstacle, but published statistics seem to indicate that
the proportion of people browsing with JavaScript disabled has consistently remained in
the region of 10 percent for several years
(www.w3schools.com/browsers/browsers_
stats.asp). Many developers dispute these figures, contending that the figures are almost
certainly distorted by search engine spiders, which don’t use JavaScript.

Hopefully, the last point rang alarm bells in your head. Since search engine spiders don’t
use JavaScript, they can’t index any content or links on your site that rely on Ajax—or,
indeed, any other client-side script. You should implement Ajax with care and ensure that
your site remains navigable and meaningful even with JavaScript turned off. Fortunately,
many aspects of Spry do leave your content accessible, but Spry data sets are more of a
problem, as I’ll demonstrate later in the chapter.

See http://en.wikipedia.org/wiki/Ajax_%28programming%29#Pros_and_cons for a good
summary of the pros and cons of Ajax.


类别:默认分类 | 添加到搜藏 | 分享到i贴吧 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu