02
Oct
09

Getting Started with Reverse Ajax and Comet

Good introductory tutorial on Reverse Ajax and Comet from the guys behind StreamHub:

Getting Started with Reverse Ajax

Includes the all-pervading ‘Hello World’ example and a more advanced tutorial on creating a Stock Ticker.

25
Sep
09

What is Reverse Ajax?

Reverse Ajax is an umbrella term for technologies that attempt to eliminate both the limitations of the page-by-page web model and traditional polling. Reverse Ajax-like applications offer real-time interaction by relying on a persistent HTTP connection (or where not possible a long lasting HTTP connection) to provide the browser with updates. Since browsers and proxies are not designed with server events in mind, web application developers have tried to work around several unintended side-effects to implement Comet-like behavior, each with different benefits and drawbacks. In particular, the HTTP 1.1 specification states that a browser should not have more than 2 simultaneous connections with a web server. However, holding one connection open for real-time events has a negative impact on browser usability. The browser may be blocked from sending a new request while it still loads, for example, a series of images. This can be worked around by creating a distinct hostname for real-time information, which is an alias for the same physical server.




September 2014
M T W T F S S
« Oct    
1234567
891011121314
15161718192021
22232425262728
2930  

Follow

Get every new post delivered to your Inbox.