browser instant updates with ajax/jquery
Posted
by wcpro
on Stack Overflow
See other posts from Stack Overflow
or by wcpro
Published on 2010-04-21T04:47:42Z
Indexed on
2010/04/21
4:53 UTC
Read the original article
Hit count: 192
I'm trying to reverse engineer how facebook handles their notifications, where when you get a message you get instantly notified via the browser.
I've fiddled with it for a little bit and realized that there is always a pending GET request "listening" if you will to some sort of update from the server. This appears to be some sort of observer pattern. I was just wondering if this pattern was documented somewhere.
© Stack Overflow or respective owner