[Seaside] push-model of interactive web pages
Lukas Renggli
renggli at gmail.com
Thu Mar 16 20:01:14 UTC 2006
> > The trick is to embed a small (1px by 1px) flash file. This embedded
> > object has the capability of opening a socket to the server. The web
> > page can then register itself to the server over that socket and
> > bada-boom-bada-bing the server can PUSH information to all connected
> > clients.
I doubt that this works if you are behind a firewall or a NAT router ...
Google is using a nice technique for their Google Talk integration in
Gmail: they send out a request to a file of virtually infinite size
that is empty and only sent very slowly, just so that it doesn't
time-out. Now they can simply push JavaScript code into that stream
that will be immediately execute on the client. No need of polling or
other dirty tricks, just a plain http request. It would be cool to
have something like that in Seaside as well ;-)
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list