PDA

View Full Version : Server push?


smasuda
10-05-2004, 05:33 PM
Dear,

I've just heard the news that Laszlo goes open and
looked at the demo site.This is cool. Congratulations.

Now I'd like to know if this Laszlo has a feature
that a server can push data to clients.
I'm thinking an application like stock quotes boards
which require real-time data updates.
MM Flex has.

antun
10-06-2004, 09:09 AM
There's two approaches you could do here:

1) Use the Persistent Connection feature (with caveats). I believe there is a bug in Safari that prevents this from working in that browser:

http://www.laszlosystems.com/lps-2.2/docs/guide/persistent_connection.html

2) Poll a service with a data request from the Laszlo app every few seconds.

-Antun