On 4/28/06, bujji choudhary [email protected] wrote:
I want to implement publish subscribe pattern for small application like “stock market” or " reservation of trains". Can any body tell me where to start. I am new to ruby.
If anybody is having any code for that please send me. I’ll be greatful.
If what you’re looking for is a simple non-distributed observer
pattern, Ruby includes one in the standard library. Check  for the
documentation. The example usage on that page is actually a simple
Otherwise, if you’re looking for a distributed solution, check DRb 
(Distributed Ruby) and Rinda , Ruby’s implementation of the
tuplespace paradigm. It’s not classical publish/subscribe but can be
used to do the same kind of things.