4 ms·
I use Django + DRF along with Ember, and love the combination. All the new schema generation functionality is interesting. It's probably just a matter of time
by ralmidani 10y ago
I use Django + DRF along with Ember, and love the combination.
All the new schema generation functionality is interesting. It's probably just a matter of time before someone builds a tool that reads the schema generated by Django, and syncs the Ember models with it. That's currently one of the drawbacks of using separate frameworks (and languages) for the client and server.
- postcarnival 10y agoI'm using that stack for two fairly large projects and loving it... I use the ember-django-adapter to translate data on the client side (previously had used drf json-api).. so far it's not too much hassle to build the ember models as needed but I see what you're saying..
- ralmidani 10y agoWhy did you switch away from DRF JSON API? We used it for one project, then realized how much of a hassle it was to get nested representations of data (last time I checked, it didn't just work out of the box). But going back and changing to Ember Django Adapter is a lot of work, since we have some custom AJAX calls. For a new project where we were starting from scratch, we stuck with Ember Django Adapter.