javascript Programming Glossary: model.save
backbone.js ajax calls http://stackoverflow.com/questions/11331604/backbone-js-ajax-calls form events click #login login login function this.model.save username this. el.find #username password this. el.find #password.. in baby steps part 3 One more thing on the AJAX vs model.save debate. If your application was a stateless chat room like IRC.. already there just because of semantics. Always read model.save as model.post its not just for saving its for sending. share..
Backbone.js partial model update http://stackoverflow.com/questions/5273369/backbone-js-partial-model-update
Want to call a function if iframe doesn't load or load's? http://stackoverflow.com/questions/9534001/want-to-call-a-function-if-iframe-doesnt-load-or-loads
Getting started with backbonejs - what should a server return http://stackoverflow.com/questions/9706260/getting-started-with-backbonejs-what-should-a-server-return should server return assuming validation went well for model.save What JSON should server return for model.fetch What JSON should.. server. So to answer your questions The JSON request for model.save should return the attributes that have changed as part of the.. the model in JSON form. So the same example I used for model.save would work. I'm not entirely sure but I don't think Backbone..
|