perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: AJAX pseudo-push
Date Thu, 12 Nov 2009 20:22:10 GMT
On Thu, Nov 12, 2009 at 1:53 PM, Nicolas George
<nicolas.george@normalesup.org> wrote:
> There is an increasingly popular technique to emulate server-initiated push
> over HTTP. I'm sure everyone here knows it well, but for the sake of
> completeness: the clients sends a XMLHttpRequest to the server in the
> background; the server does not answer it immediately, but keeps it for
> later when there is actually something to say to the client; if the request
> timeouts, the client re-sends it.

I think you'd be better off using polling.  There are tools for this
in the popular JS frameworks.

- Perrin

Mime
View raw message