开发者

rails 3.1 realtime update feature

开发者 https://www.devze.com 2023-04-11 23:39 出处:网络
I\'ve seen many sites that their messages feed is keep sliding down incessantly. For example: the previous version of twitter and now the foursquare. How to do that?

I've seen many sites that their messages feed is keep sliding down incessantly. For example: the previous version of twitter and now the foursquare. How to do that?

Moreover, I also want to know 开发者_JS百科how to implement meetup's RSVP instant push in rails, they update it by seconds?

Thanks.


These companies will most likely be using realtime web technologies. Here are a few you could use with a rails and/or ruby applications:

  • http://juggernaut.rubyforge.org/
  • http://faye.jcoglan.com/
  • http://cramp.in/
  • https://github.com/raggi/async_sinatra
  • http://postrank-labs.github.com/goliath/

You could also use Pusher (who I work for) as we have a Pusher gem. If you do this it means you are not hosting the realtime infrastructure yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消