Comet, Reverse Ajax or Ajax Push


Comet is a web framework in which the server sends data to the client using long held connections. As soon as the client receives the message it opens a connection to the server until a complete message is read. This Architecture enables the server to push data to the client rather then the other way around.
The Architecture depends on Ajax to receive message from server and continue receiving contents from the server in the background while the user is using other features on the page.

A similar architecture is proposed in HTML 5 called server-sent events, which adds new html element event-source and a new data format called DOM event stream.

I believe with the improvement of this architecture lot of barriers for web based applications will be lifted and the difference between web based clients and desktop clients will reduce.

The main applications that will benefit from this architecture will be browser based chat applications, Web Ads delivery, email clients etc

References:

http://en.wikipedia.org/wiki/Comet_(programming)

http://cometdaily.com/

http://ajaxpatterns.org/HTTP_Streaming

http://www.codeplex.com/comet

http://cometdaily.com/2008/06/03/various-comet-projects-hosted-at-sourceforge/

Advertisements

3 thoughts on “Comet, Reverse Ajax or Ajax Push

  1. Nice article – i agree that Comet will help bring down the barriers between traditional dekstop apps and web-based applications. Already Google are moving a lot of their software on to the web such as Google Docs, Gmail etc… and they are now even developing an OS where most of the applications will run in the browser.

    — Satir

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s