All posts tagged api

Working with api responses in backbone.js using parse

One backbone.js behavior that was kind of upsetting me recently is the fact that it re-syncs your model after you save it on the server.

You know, you just set a model you changed, save it on the server in the background and continue your day in your application. Backbone however awaits patiently the response from the server api, and if the response does not correspond with your current model state, it sets the response attributes back to your… Read the rest