3 ms·
It has not yet been done successfully, but that does not mean it cannot be done. I have used Django and Ember together for a couple of projects, and having to
by ralmidani 9y ago
It has not yet been done successfully, but that does not mean it cannot be done.
I have used Django and Ember together for a couple of projects, and having to define model classes twice is extremely wasteful in a large application. Not to mention having to use a third library for client-side validation (Ember does not do validations out-of-the-box), even though Django has most (if not all) the information needed for thorough validation sitting on the server.
In lieu of code-sharing, Django REST Framework does have schema generation support, but no major client-side framework supports it yet.