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 <
abasta...@gmail.com> 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...
> .