Re:Step by step from jQuery to Backbone
by geuis on Tuesday July 24, 2012 @04:16PM
(#4287729)
It depends, but generally yes as I do it. I've found that in most cases the size of data associated with an event is quite small and easily passed around as objects, arrays, or whatever is needed. So if a particular module for a sidebar, a headbar, or mainview all need to update based on an event they subscribe to, each module constructs it's own templates based in the data passed with the event.
[ Parent
| on HN ]
There are no comments on this comment yet.