douyingmou1389 2016-03-29 21:52
浏览 51
已采纳

将PHP与Diffusion集成

I can see from the docs how I can integrate a Java webserver, or an IIS but I can’t see how I can integrate our Apache servers using PHP with Diffusion or Reappt. I see there is a C client, but I don’t have remit to build a PHP wrapper for that. PHP is everywhere, what am I missing?

  • 写回答

1条回答 默认 最新

  • doukan5332 2016-03-30 12:45
    关注

    You do not need to integrate the server, but rather the client.

    You could develop a JavaScript client (using the JS API) that is delivered by your HTTP server, and use it to connect to the Diffusion (or Reappt) server. The client will be able to access and subscribe to topics that are stored by the Diffusion server.

    enter image description here

    The scenario is:

    1. Deliver HTML and JS to the browser

    2. Use the Diffusion JS client inside the browser to connect to and subscribe to topics from the Diffusion server

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

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程