Hi, I'm pretty new to Rachet/PHP - but have used websockets with Java. I'd like to get a little advice on the simplest design for a small project (its for me only). I have a single device that will be connecting to a local webpage (written with PHP backend). I want to be able to "push" messages to the browser from a few external scripts (some in python, some shell scripts).
My thought was to have a Rachet server running on port 8080 alongside the http server. The JS in the client would connect to Rachet, Rachet would also receive messages (http gets) on port 8080 (or another port) process them and send the appropriate message back over the WS connection. Problem is I'm not sure how to have PHP/Rachet receive the http messages and the WS connections. Any tips?