basic ember.js django app showing simple crud in action
I built this ember.js app to show how you would use a custom mixin for
pagination filtering sorting
To run this django application
What is missing from the application is it exists today?
the ability to use all the features together ** you can go to page 2, but if you then search or filter down the url changes to show search ** but even though the url doesn't reflect it, the filter/sort/page is being applied to the ArrayController ** in the final verison I'd much prefer to keep each item in the url so I can email a url to someone directly
the sort only takes into account the column (not the sort direction just yet)
If you are just stopping by to see the ember.js part of the app here is the javascript
https://github.com/toranb/ember-django-rest/blob/master/ember/static/script/app/person.js
Here is the pagination mixin used in the ArrayController shown in the above ember.js app
https://github.com/toranb/ember-django-rest/blob/master/ember/static/script/vendor/filtersortpage.js
And here is the handlebars template to match
https://github.com/toranb/ember-django-rest/blob/master/ember/person/templates/index.html