Top "Backbone-model" questions

Models in the Backbone.

Backbone.js get and set nested object attribute

I have a simple question about Backbone.js' get and set functions. 1) With the code below, how can I 'get' …

javascript backbone.js backbone-model
Nested Models in Backbone.js, how to approach

I've got the following JSON provided from a server. With this, I want to create a model with a nested …

javascript backbone.js backbone-model
Easiest way to reset Backbone's model to initial defaults?

My models already have a defaults hash. When parts of the view/page are reset, I wish to reset the …

javascript backbone.js backbone-model
Correct way of binding multiple attribute changes to a Backbone.js model

I have the following code, where I bind a change to a single attribute "attribute_1". var Mine = Backbone.Model.extend({ …

javascript backbone.js backbone-events backbone-model
Backbone.js - How to save model by form and post to server

I'm n00b in BackboneJS/RequireJS and I'm developing an web app that use a RESTful API. So I've a …

post backbone.js requirejs backbone-model
Updating changed attributes with backbone.js

So I'm setting a model with updated attributes. Then in my view I'm listening for a change event for this …

javascript backbone.js backbone-model
Error: a url property or function must be specified

These are my initial days of working on BackBone.js. I am actually stuck with the router part as i …

backbone.js underscore.js backbone-routing backbone-model
{silent:true} in Backbone 1.0 version

I was updating my backbone version from 0.9.2 to 1.0 yet I've encountered a problem. The model is not updating properly. It …

backbone.js backbone-events backbone-model
In Backbone.js, why do silent changes trigger change events eventually?

When I pass {"silent":true} while setting an attribute in a Backbone model, why doesn't that just suppress the change:…

backbone.js backbone-events backbone-model
Backbone.js - model.save() not firing a PUT request

I have a basic application using Backbone.js that is not making PUT calls (updating model). From the front-end, I …

backbone.js put backbone-model