Ralph Shnelvar wrote:
> My fundamental lack understanding of Rails and the architecture of the
> 'Net wil be demonstrated by the following question:
> 
> 
> The following is a contrived example:
> 
> Assume I have several users looking at (identical) screens.  Say, there
> is some slowly changing stock market data that they are all looking at.
> The price of the stock changes, say, once every minute.
> 
> Assume that a Rails application detects a change to the price and wants
> to push the change out to the users without the users needing to do
> anything?  How does one make that happen?

One doesn't, at least not without using Flash, Java, or Comet.  Web 
technologies don't do push.

The best you can do is to have the client poll the server every so 
often.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to