Use publish-and-subscribe (PubSub) messaging.
使用发布订阅(PubSub)消息。
For the OpenSocial gadgets, you can use the following regular pubsub apis.
对于OpenSocialgadget,您可以使用以下常规pubsubapi。
While using PubSub for notifications is a good architectural approach, many took issue with the title of the presentation.
尽管使用PubSub进行通知是一个优秀的架构方法,但是很多人对幻灯片的标题存有疑问。
Searches can also be mixed with RSS to let people subscribe to content via topic and tag RSS feeds (from PubSub or Feedster, for example).
搜索也可以和RSS相结合,帮助人们通过标题和标签(可以通过PubSub或Feedster等等)来订阅所需的内容。
These characteristics make PubSub a scalable choice for scenarios where update notifications need to be sent to a large number of clients.
在需要向大量客户端发送更新通知的场合下,这些特征使得PubSub成为一种合适的可伸缩性选择。
The pubsub.js and pubsub-router.js interfaces invoke the RPC APIs for gadget-to-gadget communication and message routing between the container and the gadgets.
js和pubsub-router.js接口调用RPCAPI用于 gadget 到 gadget通信以及容器和 gadget之间的消息路由。
To make the APIs available, a gadget definition file must declare the pubsub required feature (<Require feature="pubsub"/>) as a child element of as shown in listing 3.
要使API可用,gadget定义文件必须将pubsub要求的特性(<Requirefeature="pubsub"/>)声明为 的子元素,如清单3 所示。
To make the APIs available, a gadget definition file must declare the pubsub required feature (<Require feature="pubsub"/>) as a child element of as shown in listing 3.
要使API可用,gadget定义文件必须将pubsub要求的特性(<Requirefeature="pubsub"/>)声明为 的子元素,如清单3 所示。
应用推荐