At the risk of sounding somewhat newbish. I'm looking for the best way to implement the ever elusive observer model for the web.
The problem I'm facing, must've been faced before. And I've done some homework on the topic. But I'm at a loss...
In making an online chat-applet, at some point we have to make a decision. Do we use a traditional Ajax server polling technique, or is there a cooler way of doing things. Like a server-to-client push in an observer pattern.
Does anybody have useful advice about any of the interesting technologies for server pushes, like long polling, pushlets, etc?
Google seems to be able to make it work rather well with Google Talk, Gmail and even Google Docs (try collaborating on a single spreadsheet and you'll know what I mean).