News for hackers. Stuff that matters.
Re:How SoundCloud built its new single-page main website usi... by crescentfresh on Thursday June 14, 2012 @09:38AM (#4111264)
> It seems that with Backbone people have forgotten this practice

To be fair, Backbone's events hash idiom is implemented using event delegation straight out of the box. It's not forgotten at all.

Although to your point: since Backbone offers no OOTB mechanism for sub-views, it offers no OOTB support for event delegation on a parent view. I just wanted to clarify where that line is drawn wrt event delegation being "forgotten".

Re:How SoundCloud built its new single-page main website usi... by rudasn on Thursday June 14, 2012 @09:46AM (#4111292)
> I just wanted to clarify where that line is drawn wrt event delegation being "forgotten".

Yes, I should have been more clear on that. I mentioned that because SC says that they may have a view (DOM element) that contains a single button (or whatever). This means they bind events on each one of those buttons, even if they have 100 of those at any given time on the DOM. Maybe they have some other form of event delegation but they haven't mentioned it.