News for hackers. Stuff that matters.
Re:Lets Talk; An EventBus in Backbone.js by shinuza on Monday April 16, 2012 @10:46AM (#3847553)
I've being using this pattern since day one with Backbone.js. If you want to avoid spaghetti code you need to have a central mediator that will take care of the communication between your modules.

It's also easier to debug if all your events business happens in one place.

There are no comments on this comment yet.