I need to add push notifications to my PHP based application and am researching the best way to do this.
Having searched both the web and indeed here at stackoverflow I have seen a lot of potentially very outdated information regarding the best way to achieve this now that we are in 2013.
I am looking to use websockets as the primary technology for this functionality but my understanding is that PHP itself is not the way to go about implementing this server side and that decoupling the real time notifications from the main app is my best bet.
Currently it looks as though installing node.js/socket.io alongside PHP is the way to go. Although I am really not clear on how I can send a message from my PHP app to node.js in order to initiate the push. However, I really would rather not get into node.js right now and would prefer a separate solution if it all possible. I have read a little about pywebsocket. How does this compare?
In summary, what is the best way to set up a scalable real time notifications system using websockets that can have pushes initiated from my PHP app? Are there any standalone websockets server available? If so how do they compare to a node.js implementation?