dtukyb8095 2013-03-06 22:42
浏览 39
已采纳

在我开始之前需要帮助,将图像显示给多个人[关闭]

I am looking into what language I would need to learn to do the following,

The screen needs to be view able by multiple people such as a map First they would log in, 1 Person has control over the entire map including controls such as Fog of War, Place tokens down. 1-5 People should be able to see the map but with out being able to make any changes to it.

Any help into the right direction would be helpful. If this does have a name in programming or what not, please let me know and I at least go do some research on it.

  • 写回答

1条回答 默认 最新

  • douwei3280 2013-03-06 22:49
    关注

    This is achievable in a couple ways, but one newer technique/methodology that would fit well is Comet. The basic idea is that users subscribe to various server feeds and receive updates when the server broadcasts new events.

    In this way, Person 1 could send a request to the server to trigger placing a token on the map. Then the server would be set up to broadcast this event to all subscribers (People 2-5).

    The glue would be some kind of client-side application you put together in Javascript that will handle the responses from the server and function as an application for the users. You would need to consider some means for controlling the difference between Person 1 and Person 2-5. That could be done via client-server setup where the client application depends on permissions and authentications from an application server.

    You can accomplish the tasks in the last paragraph with any number of technologies, choose whatever feels most comfortable to you. If I were to do it, I might use backbone.js on the client-side and then some kind of RESTful API on the server side. RESTful is rather ubiquitous so just implement the server side in any language you prefer that has a 3rd party library support for Comet and REST.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀