that is referenced again the person I am talking to?
Without looking too much into it I’d hazard a guess that this
communicates through the web server.
Browser 1 updated an input field
Ajax sends it to the web server @ google gmail.com?
Browser 2 polls the web server via Ajax to receive Browser 1’s text.
Actually I think that’s how they’re doing definitely and the question is
how are they doing it? How do you have Browser 2 (B2) pick the values up
from Browser 1 (B1)? Note that it’s true B1 to B2 communication will be
doable but imagine if you even just have 10 users. Since they are all
served by the same controller, they will be fighting over the same
resources and since B2’s polling mech is independent from the actions of
B1’s message sending, eventualy with more users, you will see messages
being rendered to other users will be missent and unrendered in some
(bec the polling mech is all calling the same def and they are assigning
their own unique values)
Without installing additional software on the browser clients I don’t
think it’s possible to do peer-peer chat.
This is what the web chat on gtalk does. No installation needed and you
can do peer to peer.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.