I think that's another term for Comet, which is just a general term for 
various server push techniques: 
http://en.wikipedia.org/wiki/Comet_(programming)
 
Note, if you're using Comet/long-polling techniques, I think it keeps a 
request open for a long time, so if you're using a server that blocks a 
thread for each request, you could run out of threads if you have lots of 
users connected at once. In that case, you may need to look into a 
non-blocking server that can handle lots of open connections.
 
You might also look at the web2py comet_messaging.py in /gluon/contrib. It 
uses the new HTML5 WebSockets (so technically I guess it's not actually 
Comet) and the Tornado web server (which is non-blocking, so can handle lots 
of open connections). Note, it won't work in older browsers, including IE8 
and earlier.
 
Anthony

On Tuesday, April 5, 2011 8:01:23 PM UTC-4, mart wrote:

> reverse ajax, eh? alright, then I think it should be reversed! :)  Of 
> course I usually start anything with the word "reversed" in it with 
> large pot of of coffee! 
>
> stay tuned! 
>
> thanks, 
> Mart :) 
>
> On Apr 5, 7:23 pm, DenesL <[email protected]> wrote: 
> > There is something called reverse ajax, one site explaining the 
> > technique ishttp://www.obviously.com/tech_tips/slow_load_technique 
> > 
> > I have not had the need for it but I would like to hear from you if 
> > you get around to use it. 
> > 
> > On Apr 5, 5:21 pm, mart <[email protected]> wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Wow! didn't know that - You know, there is so much out there, that we 
> > > (well, me for sure) rarely take the time to discover things fully. I 
> > > love that when I know in advance that there is something to be had by 
> > > sticking to something and looking deeper than we (me) usually would! 
> > 
> > > Thanks for the tip, I will certainly look into this :) 
> > 
> > > Mart 
> > 
> > > On Apr 5, 10:31 am, Ross Peoples <[email protected]> wrote: 
> > 
> > > > That's basically how it works. Although as you learn more about AJAX, 
> you'll 
> > > > find that there are a bunch of different ways to do this, including 
> more 
> > > > 2-way types of communication, where you would do something with the 
> data 
> > > > returned from the controller before or after displaying it on the 
> page. Once 
> > > > you start to open your mind a bit and get the hang of how it all 
> works, 
> > > > you'll start to figure out some really cool ways to tackle problems.

Reply via email to