Thoughts on a Shoutbox anyone?
        Posted  
        
            by sologhost
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sologhost
        
        
        
        Published on 2010-04-28T02:44:29Z
        Indexed on 
            2010/04/28
            2:53 UTC
        
        
        Read the original article
        Hit count: 465
        
I'm wanting to create a shoutbox, though I'm wondering if there is another way to go about this rather than using setInterval to query the database for new shouts every number of seconds. Honestly, I don't like having to go about it this way. Seems a bit redundant and repetitive and just plain old wrong. Not to mention the blinking of the shouts as it grabs the data.
So I'm wondering on how the professionals do this? I mean, I've seen shoutboxes that work surperb and doesn't seem to be using any setInterval or setTimeout javascript functions to do this.
Can anyone suggest any ideas or an approach to this that doesn't use setInterval or setTimeout??
Thanks :)
© Stack Overflow or respective owner