Open ovidiuch opened 10 years ago
@aismail @valentinzberea what do you think? Not really something to implement in a single increment, but something to strive towards maybe? (B plan)
I love it - we're going to be implementing this partially for our next release (due within a few weeks).
:heart:
Need
Decouple DataSource from Widgets: We want the DataSource to be a self-sustained encapsulated module. Maybe even a separate OS component.
Deliverables (specs in this case)
Object {}
subclass) subscribes to a DS channel, its reference is put into a global mapping within the DS, and not bound directly to the Backbone collection/model. When the DS receives an event for a channel, it traverses the global mapping of subscribers->channels, and dynamically establish which methods of which widget to call. This has a lot of advantagesSolution
Prerequisites
TODO
Files
Notes
ETA [0-2]p