推送技术能否在移动浏览器上成功运行?
如果我有一个网页,上面有一个正方形,并且如果我使用推送技术来更新页面上这个正方形的坐标,我可以在移动浏览器中很好地看到这些更新(“实时”会多少)反应是)?我想使用 Sencha 制作棋盘游戏,并希望能够使用推送消息来更新项目的坐标。这有可能吗?如果是的话,它的可扩展性如何?
If I had a webpage that had a square on it and if I was using push technology to update the coordinates of this square on the page, could I see these updates well in a mobile browser (how much in "real-time" would the responses be)? I want to use Sencha to make a board game and want to be able to use push messaging to update coordinates of items. Is this at all possible? If so how scalable would it be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是和不是。
这完全取决于移动设备上的特定浏览器。例如,iPhone 浏览器很可能支持不止一种推送技术,但 Opera Mini 或旧手机中更简单的浏览器可能不支持。
话又说回来,较旧的/功能较少的浏览器可能也不支持“普通”Ajax。
至于可扩展性,用作客户端的设备类型对可扩展性没有影响。
Yes and no.
It entirely depends on the specific browser on the mobile device. For example, the iPhone browser will most likely support more than one push tech, but something like Opera Mini or a simpler browser in an older phone might not.
Then again, older/less feature-rich browsers might not support "normal" Ajax either.
As for scalability, the type of the device used as the client does not have an effect on scalability.