I started building a Django application, but this probably also applies to other frameworks. In the Backbone.js methods that invoke the server (fetch (), create (), destroy (), etc.), Should I use a suitable RESTful API such as provided by Tastypie or Django-Piston? I founded it simpler and more flexible, just to build JSON in my Django views that map to some URLs that Backbone.js can use. Again, I probably don't use the full Tastypie / Django-Piston functionality.
I'm not ready yet to make a full RESTful API for my application. I would just like to use some of the AJAXy features supported by Backbone.js.
Pros / cons of this?
source
share