I'm building a project on Symfony 2.2.11 and working on a Chat script.
The concept is new for me to build, I could find the perfect solution to get online and offline users, now my question is:
What is the best way (on Symfony) to send a message on a chat box (just like Facebook), and get a realtime response when it lands on the database?
I'm aware that this will works on Ajax protocols (I know how to handle that), but my question is more on the server side.