3 ms·
I was catching a bit of the twitter back-and-forth this afternoon: http://bettween.com/ireneros/tdreyno/ http://bettween.com/ireneros/tdreyno/ ... and was a b
by jashkenas 15y ago
I was catching a bit of the twitter back-and-forth this afternoon:
http://bettween.com/ireneros/tdreyno/ http://bettween.com/ireneros/tdreyno/
... and was a bit disappointed by the level of discussion.
"Live Collections", such as they are, have nothing to do with Backbone.js and Ember.js intrinsically -- and indeed, you probably can, and should, implement it in Backbone exactly as Thomas does in this article.
In other words, if you're looking for anything Backbone or Ember specific, there's nothing to see here -- both libraries support this idiom (Ajax some data, check for ids, add if not already present) in precisely the same way.
- tdreyno 15y agoI was actually trying my hardest to present it as a technique worth being aware of rather than specific to one framework or another. Totally agree. I use both frameworks for work and posted my article because Rick Waldron asked me too as penance for a bit too much snark on my behalf.