Wednesday, 15 February 2012

php - Implement real time features into a symfony2 application? (live dashboard) -



php - Implement real time features into a symfony2 application? (live dashboard) -

i have symfony2 app stores info in mysql. it's simple app, utilize php.

in app there administrators , got dashboard see every activity in app. have refresh page see new activities.

now have create dashboard real time.

there event specific notifications, illustration force reddish button on panel, , in 3 days have force again. if 3 days past , didn't force it, administrator watching dashboard instantly notification. other admins see after watch dashboard.

and there "real real-time" things, force bluish button on website , every administrator instantly notification on dashboard, no time delay.

i never worked real time apps before, read bit in topic. read pubnub (and brothers),socket.io , node.js i'm not sure abou efficent model.

pubnub have sdks php , socket.io, think can real time part, have no thought how start time specific notifications.

on other hand, maybe should go node.js, , long pooling solution, read mysql server node , force notifications socket.io ,but i'm not sure countinously read database idea.

i know php not language deamons, know nil how it's going node.

i'm not asking code, logic, how implement in smart , efficent way?

php node.js sockets symfony2 socket.io

No comments:

Post a Comment