balderdashy / mast

UI conventions built on top of Backbone.JS
MIT License
81 stars 14 forks source link

Model.set() automatically saves if model has urlRoot or model.collection has url #62

Closed mikermcneil closed 12 years ago

mikermcneil commented 12 years ago

Might need to override Backbone.Model.set()

This is necessary to do a lot of the binding magic ahead

mikermcneil commented 12 years ago

Not sure this is the best idea-- there's a difference between updating the DOM and saving to the server, and it's important to respect that:

add() vs. create() remove() vs. destroy() set() vs. save() toJSON() vs. fetch()