I’m building a dashboard application with Backbone.js
There is a grid of panes called modules. Each module has its own custom data that it needs to listen to.
each module has both shared responsibilities and separate responsibilities, as in, they all have titles, descriptions, etc, and yet they each have individual datasets.
how should I structure the application to achieve the constant flow of data to these separate modules?
When dealing with so many dependencies I would suggest a global pubSub class via
This way you can share events through
with multiple modules and structure their response to it.