I have heard alot about Node.js and watched a few tutorials and read some 
stuff. I get the impression that in certain situations AJAX calls with 
node.js is alot faster than with rails. I also have somewhat of an 
impression that with Rails web sockets are complicated to implement but 
with node.js web sockets might be alot easier. 

  I am trying to figure out if I should learn some node.js or if it could 
be a passing fad to be replaced with some other technology soon. I am also 
wondering what sorts of improvements to rails might be coming in the future 
that could make AJAX calls faster in some situations as well as easier web 
socket implementations ? Are there things out there already ? Does it make 
sense to run a sinatra app along with rails for faster AJAX ? 

 How can a websocket implementation work easily with rails when it is 
different than the typical request cycle of HTTP ? 

 Otherwise I guess alot of AJAX stuff is just based on polling if the 
server wants to refresh page content without any user triggered events ? 

 I did an experimental web socket implementation using ruby faye a couple 
of years ago that needed event machine. I did think it was a bit 
complicated. 


-- 
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/806b2117-9e54-4fa1-bda2-f9be49a94680%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to