Usefulref Home 

Web Design & Development Guide

Reverse Ajax

Home | Up


Reverse Ajax, not unlike DHTML, LAMP, Ajax and SPA, is not a technology in itself, but a term that refers to the use of a group of technologies together. These technologies include:

Reverse Ajax is different from Ajax, as Reverse Ajax is a suite of technologies for pushing data from a server to a client. These technologies are built upon an Ajax framework.

Notes

The Polling technique is not properly a Reverse Ajax solution, because in this case the server simply responds to a repeated direct ajax request. The result is the same that Reverse Ajax, but this technique is not too elegant to be used because it makes a lot of unnecessary traffic.

Let's take a simple example:

The broadcast message.

We have 2 clients and 1 server: client1 needs to send "hello" to all the other clients


With Polling:

and these last lines repeat forever.


With Comet:

no unnecessary traffic.


With PiggyBack:

no unnecessary traffic.

See also

External links

Articles
Implementations

Home | Up | JavaScript library | Smart client | Reverse Ajax | Document Update Markup Language | Comparison between AJAX and Flex

Web Design & Development Guide, Powered by Usefulref