RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Breaking the News: Wisper + Pub-Sub

As Rubyists, we often find ourselves trying to figure out the best way to both abstract out logic into self-contained components, as well as how to effectively send messages between objects. The publish-subscribe pattern is one solution to this problem, though it is far less common in Rails applications. This blog post looks at how to implement pub-sub in Ruby by using the wisper gem

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in