Marnen Laibow-Koser wrote:
Are you sure? Wouldn’t this play havoc with XHR ready states?
No, but I’m sure you can google it.
All chats you see on the web are in Flash, right?
Wrong. I’ve seen lots of Ajax chats on public, production sites. I
even worked on a site where my colleague implemented one, I believe from
scratch (I did the main Ajax app interface). That was in PHP, though,
How do you solve the basic problem that HTTP is Pull and Chat is Push?
use periodically_call_remote, and set the frequency low, the chats
too slowly. If I set it high, then both the server and browser bog down
frequent requests to Pull nothing.