试图建立简单的法耶实时通知制度,以便我能够对某些行动实施某种分类。 这一概念相对简单,尽管在阅读传闻文件后,并没有确定在座右边的道路。
现思
- One unique faye channel per logged-in user, so you can push a action (popup, set text) to a certain user only
- One div in my app layout that I can write text to
- One div in my app that holds layout for a popup
现在,我看到了从控制者/行动方法中产生的法耶但干.的铁路线。 我不想在 d中插入一 st,只是从任何地方称为“联合文件”功能(建立申请助手是我所认为的好想法),我只想做像“精彩的javascript set_text”和执行javascript show_popup。
用法耶建设这种功能的最佳方式是什么,基本上我只得去做。
- Execute a javascript function on a certain Faye channel
To accomplish the popup and text message. A bit lost on this anyone can point me in the right direction or maybe have build such functionality already? thx in advanche!