from Hacker News

Backbone.js: Hacker's Guide Part 2 (Backbone.Collection)

by raja on 7/27/12, 11:14 AM with 8 comments

  • by brlewis on 7/27/12, 12:20 PM

    For relational data, would a Model represent a row and a Collection represent a result set? I usually think of an MVC app as having a single model representing a schema. It sounds like Backbone is different.
  • by sroussey on 7/27/12, 9:31 PM

  • by MatthewPhillips on 7/27/12, 2:27 PM

    Can the JavaScript elite please get together and make a decision on Backbone.Events vs. EventEmitter vs. EventTarget?

    Also, I recommend everyone read TJ Holowaychuck's latest blog post[1] and lets start distributing these types of things as components instead of "frameworks".

    [1]http://tjholowaychuk.com/post/27984551477/components

  • by blktiger on 7/27/12, 1:50 PM

    That void 0 trick was new to me.