Re: [web2py] Re: components and timers

2011-06-06 Thread Bruno Rocha
I am using comet for an application, and it is working fine, notice that i am running 2 servers on linode, one is only for host the queue. For compatibility I am using this https://github.com/gimite/web-socket-js (it is flash based, but works fine and even facebook and grooveshark uses this) --

Re: [web2py] Re: components and timers

2011-06-06 Thread Anthony
Getting back to the original question, if the refreshes need to happen at fixed (and not too frequent) intervals (rather than at indeterminate times, whenever the data happen to be ready), it may be simpler to just use short-polling -- see https://groups.google.com/d/topic/web2py/xJjTeowYk0U/di

Re: [web2py] Re: components and timers

2011-06-06 Thread Anthony
On Monday, June 6, 2011 7:47:48 PM UTC-4, David J wrote: > > Seeing that comet is not widely supportted I was wondering if there was an > ajax poll example? > I think there's some terminology confusion. "comet" *is* widely supported, as it involves long-held HTTP requests via streaming or Ajax l

Re: [web2py] Re: components and timers

2011-06-06 Thread David J
Seeing that comet is not widely supportted I was wondering if there was an ajax poll example? On Jun 6, 2011 6:15 PM, "Massimo Di Pierro" wrote: > look into gluon/contrib/comet_messaging.py > > On Jun 6, 5:08 pm, blackthorne wrote: >> hi >> >> Let's say I have a component that gets the last 10 tw

Re: [web2py] Re: components and timers

2011-06-06 Thread Stifan Kristi
hi, massimo did you have the documentation for do this? thank you so much On Tue, Jun 7, 2011 at 5:15 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > look into gluon/contrib/comet_messaging.py > > On Jun 6, 5:08 pm, blackthorne wrote: > > hi > > > > Let's say I have a component th