.NET 中的远程可观察对象
我一直遇到这种情况,但除了本地解决方案之外从未找到任何其他解决方案:
- 您查看订单列表
- 当您对这些订单进行更改时,它们会在查看同一列表的任何其他客户端屏幕上动态更新,反之亦然,
我将这个想法称为“远程可观察量”......不确定它是否有更好的名称。
你可能会说这可以通过轮询或连续刷新浏览器页面来完成,但我已经看到了更好的方法(套接字、花哨的增量跟踪等)。
无数的框架可以让您将对象/数据公开给远程客户端……但老实说,我无法说出您在哪里自动获得对该数据的流式更改。
我是否缺少一个令人惊奇的秘密框架?坚持写我自己的吗?
I encounter this scenario all the time, but have never found anything but home-grown solutions to it:
- You view a list of orders
- When you make changes to those orders, they dynamically update on any other clients screens who are looking at the same list, and vice versa
I call this idea "Remote observables"... not sure if it has a better name.
You could argue this could be accomplished by polling, or refreshing your browser page continuously but I have seen much better ways (sockets, fancy delta tracking etc).
Zillions of frameworks let you expose your objects/data to remote clients... but I honestly cannot name any where you automatically get streamed changes to that data.
Am I missing an amazing secret framework for this? Stick writing my own?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅 pubsubhubbub:
See pubsubhubbub: