3 ms·
Django+tastypie works with backbone.js with very little configuration.
by akoumjian 14y ago
Django+tastypie works with backbone.js with very little configuration.
- bm1362 14y agoExactly what I used on my first non-trivial web app. I had Django + Tastypie serving a REST API and Backbone.js on the front-end. Bootstrap for styling. Apache/mySQL. It turned out to be a success but when I look at the codebase it is a nightmare. I ended up writing a mobile app version which was nice since I was able to just plug it in to the REST api. But, at the end, I was annoyed with Django and Tastypie- something just didn't sit right. Implementing things like sessions, which in PHP are obvious but verbose, relied too much on Django's hidden magic that I felt I was hacking a solution rather than architecting one.
- amccloud 14y agoYup! and i've packaged those little configurations into a plugin. https://github.com/amccloud/backbone-tastypie https://github.com/amccloud/backbone-tastypie