Is there a guide for a clean and sweet way to implement these types of polling? Like using jquery?
Thanks. On May 19, 9:05 am, Anthony <[email protected]> wrote: > The simplest approach would probably be ajax short polling (i.e., an ajax > request every n seconds). If the orders page is just an administrative page > with a small number of simultaneous users, that's probably fine. If that's > not adequate, you could look into comet type solutions. web2py includes a > WebSockets implementation in /gluon/contrib/comet_messaging.py > (http://code.google.com/p/web2py/source/browse/gluon/contrib/comet_mes...). > That doesn't work in all browsers, but it can be adapted to fall back to > other methods using Socket.IO -- > seehttp://greg.thehellings.com/2011/04/web2py-websockets-and-socket-io-p... > . > > Anthony > > > > > > > > On Thursday, May 19, 2011 9:29:30 AM UTC-4, David J wrote: > > I was wondering how can I PUSH updates to a page using Ajax. > > > On our orders page as orders come in I want the page to automatically be > > updated; > > > Currently I just refresh the page every N seconds; but I thought it > > could be made more efficient. > > > Like some sort of event notification system. > > > Thanks in advance for any advice on this.

