问题描述
我感兴趣的HTTP PUSH技术。我感兴趣的身后就像雅虎财经等页面,能够在实时数据更新页面的技术。
I am interested in HTTP PUSH technologies. I am interested in the technology behind pages like Yahoo Finance etc, which are able to update the page with data in real time.
当我检查了FF控制台,还有来自这表明客户端不是轮询的客户端没有定期岗位,而这是有数据推到它。
When I checked the FF console, there are no periodic POSTs from the client which suggests that the client is not polling, rather it is having data PUSHed to it.
然后我检查了页面的源代码 - (AFAICT),他们都没有:
I then checked the page source - (AFAICT) they are NOT:
- 在使用Java小程序
- 使用隐藏的iframe
- 在使用的自定义客户端JS库(如APE等)
那么,如何在页面被实时更新?
So HOW are the pages being updated in real time?.
谁能解释用来放在一起这样一个页面的technolgies - 链接到一个简单的演示将是非常有用
Can anyone explain the technolgies used to put together such a page - a link to a simple demo would be most useful.
推荐答案
和的技术用于HTTP PUSH等是
The techniques for HTTP PUSH and the like are
- 彗星技术
- 的WebSockets
- 的Java Applet /闪存的WebSockets / Silverlight的?
- 服务器发送的事件和EventSource的
- HTTP服务器推送
- Comet Technology
- WebSockets
- Java Applet / Flash WebSockets / SilverLight?
- Server-sent Events and EventSource
- HTTP server push
借助推技术文章在维基百科是一个很好看的。
The Push technology article on wikipedia is a good read.
借助运输机在socket.io 应该给你的例子如何实现这些技术。
The Transports at socket.io should give you examples of how to implement these technologies.
这篇关于如何做没有插件等,如雅虎财经更新页面的网页? (HTTP PUSH)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!