Top "Backbone.js-collections" questions

For Backbone questions specific to Backbone's collections.

For Loop over Backbone Collection

Fairly new to backbone, so this is a really basic question. I have a Backbone collection passed into a function …

javascript backbone.js model coffeescript backbone.js-collections
Best practice for saving an entire collection?

Say that I have a Collection and I've made changes to many of its Models. What's the best way to …

jquery model-view-controller backbone.js backbone.js-collections
Mapping JSON to backbone.js collections

Alright, it looks like I need a hint to point me in the right direction. This question is two part …

javascript json backbone.js backbone.js-collections
detect when a backbone collection has been fetched (Backbone 1.0.0)

There's a new behaviour in the latest version of Backbone (1.0.0 in which the reset event is no longer triggered by …

backbone.js backbone.js-collections
Backbone.js - How to get an array of object literals out of a collection?

I'm trying to keep an array of object literals in sync with server data. These objects are being placed on …

javascript backbone.js backbone.js-collections
Find model in Backbone.js collection by cid rather than id

Can I use Collection.get(id) to find a model within a Backbone.js collection by cid, for a model …

javascript backbone.js backbone.js-collections
BackboneJS model.url using collection.url

From my understanding the default behavior of Backbone JS Models are to return the Collection's URL, unless the model has …

backbone.js backbone.js-collections
Backbone.js fetch method with data option is passing URL params with square brackets

I have the following code to fetch the data for my collection but with specifying what colors should come from …

backbone.js backbone.js-collections
How to place a collection within a model in Backbone.js?

I would like some insight on how one would add structure a collection within a model. My simple app has …

backbone.js backbone.js-collections
Retrieving index position of item added to Backbone.js Collection

If I add an item to a Collection how can I find the position at which it was added? The …

backbone.js underscore.js backbone.js-collections