【问题标题】:play framework atmosphere玩框架氛围
【发布时间】:2012-12-06 00:38:07
【问题描述】:

the creators blogAtmosphere 中有一个可用框架的列表。我想使用scalaAtmosphere 中包含的Play Framework。在博客中,他写道 Atmosphere 可以与“每个”框架一起使用。集成 Atmosphere 有那么容易吗?如何集成?

【问题讨论】:

    标签: scala playframework-2.0 atmosphere


    【解决方案1】:

    我知道这不一定是您要寻找的答案,但我建议您查看 Play 的原生彗星支持。

    http://www.playframework.org/documentation/2.0/ScalaComet http://www.playframework.org/documentation/api/2.0/scala/play/api/libs/Comet$.html

    您有 Atmosphere 可以更优雅地解决的特定用例吗?如果是这样,这里有一个线程可能会有所帮助。

    https://groups.google.com/forum/m/?fromgroups#!topic/atmosphere-framework/GM6fC6-eSLE

    【讨论】:

      【解决方案2】:

      是的,看看this project - 它是在 Play 之上运行的 Atmosphere 的原生实现!

      【讨论】:

        【解决方案3】:

        我也在找这个。它带来的好处是从 websocket 到长轮询的优雅降级以及客户端和服务器端的通用 api。

        【讨论】:

          猜你喜欢
          • 2012-03-07
          • 2012-04-09
          • 1970-01-01
          • 2015-07-20
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2014-11-21
          • 2012-08-11
          相关资源
          最近更新 更多