sockets - send message from backend to front on Symfony2 ClankBundle -
i'm trying achieve following:
when server doing x want send message user y.
as can see in clankbundle's documentation can achieve in 2 ways:
- make call user side on js.
- to make loop checks if x happened every z seconds.
both of them not effective don't want check db every z seconds know when x happens , want send message when happens, mean.. symfony2 events based i'm pretty sure i'm missing around here.
Comments
Post a Comment