一旦订阅了主题,就将根据此主题发布的所有消息发送到订阅服务器。
Once subscribed to a topic, all messages that are published on that topic will be sent to the subscriber.
php页面返回发布到服务器的最新消息。
发布/订阅消息模型极其强大,可以将UI元素本身及UI元素与服务器端进行解耦。
The publish/subscribe messaging paradigm is EXTREMELY powerful and enables clean decoupling of user-interface elements from each other, and from the serverside.
应用推荐