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:

    1. make call user side on js.
    2. 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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -