在Atmosphere的the creators blog中有一个可用的框架列表。我想使用scala和Atmosphere附带的Play Framework。他在博客中写道,大气适用于“每一个”框架。集成大气有那么容易吗?如何集成?
发布于 2013-06-10 21:49:25
是的,看看this project --它是在Play之上运行的Atmosphere的原生实现!
发布于 2012-12-19 06:54:29
我知道这不一定是你想要的答案,但我建议你看看Play的原生comet支持。
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
发布于 2013-06-10 15:03:09
我也在找这个。它提供的好处是从websocket到长轮询的优雅降级,以及客户端和服务器端的通用api。
https://stackoverflow.com/questions/13939192
复制相似问题