[Seaside] Recurring Server Events

Lukas Renggli renggli at gmail.com
Sun Oct 4 21:38:26 UTC 2009


> What I would like to do is set up a recurring event on the server (say,
> every minute), and announce it as these intervals elapse. There's some style
> of HTTP request called comet, I think, and it lets the server send
> information to the clients without their asking for it.

There is a package called 'Comet' for Seaside 2.8 and 3.0 that does
what the package name says.

> I guess another way
> to do it is by sending a request to the server just to see if an event has
> occurred (long polling).

That can be done too. See the the periodic updater in the
Scriptaculous package (Seaside 2.8) and in the Prototype package
(Seaside 3.0).

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list