Page 1 of 1

Real Time notifications - how does it work ?

Posted: 26 February 2013, 22:44
by Tententai
Question to the developpers of the BGA studio : how did you achieve real time notifications to all players (e.g. I play card A and other players get immediately notified), with just PHP and JS ? Is there some regular polling on the client-side constantly asking the server if there is a new game state, or is it something pushed from the server (e.g. with websockets) ?

Re: Real Time notifications - how does it work ?

Posted: 26 February 2013, 22:55
by sourisdudesert
Hi,

We're using CometD.

Cheers,

Re: Real Time notifications - how does it work ?

Posted: 27 February 2013, 20:28
by Tententai
Thanks ! Will check it.