Home ยป Backbone.js Sync

Backbone.js Sync

Backbone.js Sync is a function that it is called every time, it attempts to read or save a model to the server.

It persists the state of the model to the server.

Following is a list of methods that can be used to manipulate the Backbone.js Sync:

IndexMethodDescription
1.Backbone.syncIt persists the state of the model to the server.
2.Backbone.emulateHTTPIf web server does not support REST or HTTP approach then turn on the Backbone.emulateHTTP.
3.Backbone.emulatejsonIt is used to handle the requests encoded with application/JSON by setting the method to true.
4.Backbone.AJAXIt is used to specify the custom AJAX function.
Next TopicBackbone.js View

You may also like