Websockets versus ajax polling?

I recall I did a small project a couple of years ago with
websockets/faye
plugin. It was a little complex, but I was wondering if many people use
websockets in stead of what seems like the more typical ajax polling and
is
it very easy to implement in sinatra ?

here is a good websockets implementation

https://github.com/websocket-rails/websocket-rails

it might make your next project easier

----- Original Message -----

From: “[email protected][email protected]
To: [email protected]
Sent: Monday, October 7, 2013 7:30:25 AM
Subject: [Rails] websockets versus ajax polling ?

I recall I did a small project a couple of years ago with
websockets/faye plugin. It was a little complex, but I was wondering if
many people use websockets in stead of what seems like the more typical
ajax polling and is it very easy to implement in sinatra ?


You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/3ca60429-cc92-4ba3-9e66-4e1a93121809%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out .

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs