php - Update users in realtime (Web) -



php - Update users in realtime (Web) -

i want create application users utilize own computer host, host click ”start” , there shall automatically show button on users computers @ same time. first person click button win. want happen in browser, dont know wich technology use. know php , mysql, dont know anyway update users computers in realtime. wich technology best selection create happen?

the solution here web sockets, pub/sub layer on top. can done relatively decent javascript , server-side library. php isn't ideal language this, works fine right tools. ratchet decent php web socket server implementation, , autobahn|js decent client-side library (note: @ time of writing latest autobahn|js wamp implementation incompatible older wamp implementation of ratchet, utilize autobahn|js wamp v1). follow ratchet tutorial, expand setting pub/sub server described here (you don't need zeromq components, you'll triggering events publish action instead of external zeromq event).

that's 30,000 foot overview, go forth , seek it.

php mysql web

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -