From: Curt Hibbs Date: 2006-04-28T21:41:40+09:00 Subject: Re: Implementing publish subscribe in ruby ------=_Part_8652_6559512.1146228096672 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry for all the typos... I had just gotten out of bed. :-( Curt On 4/28/06, Curt Hibbs wrote: > > Actually what you would probably bemost interested in the FreeRIDE's > Databus. This is the basic pub/sub class. FreeBASE (which build on top of > the Dtaabus) is a dynamically loading plugin system. > > You can read abot both of them here: > > http://freeride.rubyforge.org/wiki/wiki.pl?DevDoc > > Curt > > > On 4/28/06, Wang Austin-W22255 wrote: > > > > If you want a publish/subscribe framework, I found freebase, which is > the > > core of the freeride ruby IDE, elegant and powerful. > > > > Austin > > > > > -----Original Message----- > > > From: Pierre-Charles David [mailto:pcdavid@gmail.com] > > > Sent: 2006年4月28日 14:55 > > > To: ruby-talk ML > > > Subject: Re: Implementing publish subscribe in ruby > > > > > > On 4/28/06, bujji choudhary wrote: > > > > Hi all... > > > > 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 [1] for the documentation. The example usage on that > > > page is actually a simple stock market! > > > > > > Otherwise, if you're looking for a distributed solution, > > > check DRb [2] (Distributed Ruby) and Rinda [3], Ruby's > > > implementation of the tuplespace paradigm. It's not classical > > > publish/subscribe but can be used to do the same kind of things. > > > > > > [1] > > > http://www.ruby-doc.org/stdlib/libdoc/observer/rdoc/files/obse > > > rver_rb.html > > > [2] http://www.ruby-doc.org/stdlib/libdoc/drb/rdoc/index.html > > > [3] http://www.ruby-doc.org/stdlib/libdoc/rinda/rdoc/index.html > > > > > > > > > > > ------=_Part_8652_6559512.1146228096672--