How to use Backbone.js with the JS API

Discussion created by beck3905 on Feb 18, 2014
Latest reply on May 29, 2014 by jorge.vinagreesri-portugal-pt-esridist
I am starting to develop a new Javascript application using the Esri Javascript API.  I'd like to organize my app using MVC structures.  I have heard about Backbone.js, but I've never used it.

I was looking at the documentation and tutorials for Backbone.js and it looks very promising.  However, it looks like Backbone.js has built in functionality for interacting with a database from a model.  I have not been able to figure out how to override this built in behavior so Backbone.js models can communicate with feature services using esri/tasks/query or esri/layers/FeatureLayer.applyEdits.

Does anyone have experience doing this or have any idea how I might accomplish this?