芜湖信息港

当前位置:

什么是web21web21技術演示中英文

2019/05/02 来源:芜湖信息港

导读

什么是web2.1?其實就是服務器端的blink tag。通过一个定时激发的 AJAX 请求, 让一个Web 2.1兼容的服务器更新客户

什么是web2.1?其實就是服務器端的blink tag。

通过一个定时激发的 AJAX 请求, 让一个Web 2.1兼容的服务器更新客户端的文档,把闪烁的文本变成 隐形。这个要求也触发另一个定时的 AJAX 请求, 然后这个请求让服务器在延时后再把文本显示出来。

web2.1中文版演示Web 2.1 版本已经出现了,它与陈腐的Web2.0相比有了许多重要的提高。

其中重要的就是对 服务器端的闪烁 标签的支持.

是的,与其依赖令人抓狂的blink 标签 - 它不仅不标准 而且不兼容所有的 浏览器 - 闪烁的文本现在可以用完全符合标准的方式实现了。

服务器端blink标签是通过一个定时激起的 AJAX 请求, 让一个Web 2.1兼容的服务器更新客户端的文档,把闪烁的文本变成 隐形。这个请求也触发另一个定时的 AJAX 请求, 然后这个要求让服务器在延时后再把文本显示出来。

不仅仅符合标准,这么处理也让页面尽享所有服务器端处理的后台维护的优势。一个服务器可以轻松得被升级来实现更复杂的闪烁性能, 而且任何客户端都能立即获得这个提升的功能。

呼吁你的全体开发团队尽快采用 Web 2.1。

注:如果你没有看到上方闪烁的文本,这说明你的浏览器是不兼容Web 2.1 标准的。一个很容易的检测你的浏览器 是不是符合标准 就是看看该浏览器的安装文件是否小于50MB,或者运行时候所占用的内存是否小于300MB。如果是的话,你该下载一个更新的浏览器以获得Web 2.1的全面体验了。

又注:Web 2.1有一些已为人知的问题。比如,一个负载过高的服务器可能不能高效地应对blink请求,这会让用户感觉闪烁速度的下降。一个解决办法就是采用高效能的blink服务器集群. 希望Web2.2能够有应对这类问题的办法,比如通过SCTP上的基于BEEP上的AJAX 。

关于更多Web 2.1商业方面的讯息可以在这个信息丰富的站上找到。

web2.1英文版演示Version 2.1 of the Web is now available, featuring significant improvements over the older 2.0 version.

The most significant upgrade is that there is now support for the server-side blink tag.

That's right, instead of relying on the frustrating blink tag - which is non-standard and not compatible with all web browsers - blinking text can now be achieved in a fully standards-compliant manner.

The server-side blink tag works by using a timed AJAX request, to let a Web 2.1 compatible server update the client document so that the blinking text is turned invisible. This request also triggers another timed AJAX request, which allows the server to restore the blinking text after the requested delay.

As well as being standards-compliant, this approach also allows the web page to benefit from all the back-end maintenance advantages of server-side processing. A live server can be easily upgraded to implement more sophisticated blinking capability, and any client sessions will immediately benefit from the improved functionality.

Encourage all your web developers to adopt Web 2.1 coding as soon as possible.

Note: if you did not see the blinking text above, it means that your browser is not compliant with the Web 2.1 standards. An easy way of checking whether your browser is standards compliant is to check whether the installation files for your browser were smaller than 50MB, or the run-time memory usage is less than 300MB. If this is the case, you should download a more recent browser to get the full Web 2.1 experience.

Another note: there are some known bugs in Web 2.1. For example, a heavily-loaded web server may not be able to respond to blink requests efficiently, which will slow down the perceived blink rate. One work-around to this would be to use a high-capacity blink server farm. Hopefully Web 2.2 will address this sort of issue, by layering AJAX on BEEP over SCTP.

Further information about the commercial aspects of Web 2.1 can be found at this informative web-site.

(View source to see how it all works.)

(ps. many thanks to Wired's Michael Calore for the Web 2.1 logo!)

(Yay! It's good to see that there is now a Web 2.1 version of the marquee tag!)

原文:

原文:中文)

世园会征收搬迁有序推进
唐山市民寄托哀思可登录728纪念网
唐山机场开通成都太原航线
标签