external libraries, algorithms, data strucutres
- Implementation Details
Relevant commits & files from other projects
- Dynamic Parsley Validation
- Add Sphinx Docs
- Integrate Bootstrap
- Integrate Bootstrap w/ Forms
- Integrate Bootstrap w/ Parsley
- Integrate Bootstrap w/ Messages
- Printable Pages
- Quickselect Widgets
- Formset Autocompletes
- django rest framework - seems like the better REST framework in terms of speed & capability (versus tastypie)
- django-ajax - easily create an AJAX view, useful if we go with simple HTML + jQuery.
- django-websocket-redis - websockets for realtime updates using the redis message queue
- SwampDragon - add websocket support & fallbacks to Django
- Yesod - Haskell! Probably the easiest haskell framework to use. Lots of magic, auto code generation. Project scaffolding & cli program make it easy to get going & easy to add on. A full yesod stack is definitely HTML-oriented, but REST is pretty easy to do as well.
- Angular.js - Full-featured, apparently version 2 makes many breaking changes to v1 apps
- Backbone.js - More of a library then a full front-end?
- Elm - Once you go statically-typed functional programming, you don't go back...
- React + Flux
- Ember.js - Targeted towards long-running, single-page applications. Changes are more developer friendly... Lots of love from the devs.
- Vue.js - Less opinionated on app structure
- rest framework and angularJS - a tutorial on using DRF with the AngularJS frontend framework
- rest2backbone - for automatically generating Backbone.js frontend code from a DRF API
- rest framework and emberJS - a tutorial on using DRF with the Ember.js frontend framework
There's even an ember starter project that uses AdminLTE called ember-admin-dashboards
The other option is to use Bourbon along with it's friends Neat, Bitters, & Refill. It's nice because all the layout stays in SASS instead of polluting your HTML like Bootstrap...
RSSonate uses ember + bootstrap, the
om-ember folder in the
om-prototypes repository shows ember + bourbon.
I built a "ToDo" app with Django REST Framework & Ember.js to test this out:
Seems to be built for long-running clients, full application in initial load, rest of navigation is just GET, POST, PUT & DELETE requests to a json rest API.
Uses lots of included tooling to automate builds & reduce boilerplate.
- ember-cli - CLI for developing Ember apps
- ember-bootstrap - bootstrap components
- ember-django-adapter - what I used in the ToDo app, works on the Ember side
- django-ember-authentication - a project showing session-based authentication with Ember.js
I also made an RSS reader using Ember & Django REST Framework:
Vue seems pretty cool, haven't built anything with it yet, but:
There's enough JS libraries out there, we could carve out our own framework &
Ideally, we'd use libraries for:
- Models/Resources/REST API Client * Amygdala * Redux
- Routing(and mapping routes to resources/models?)
- Nested/Routed View/Components
Parsley.js is used in the
Maybe send everything through REST/AJAX & use the backend for all validation?
Ember.js supports that.
Returns JSON: https://hackage.haskell.org/package/digestive-functors + https://hackage.haskell.org/package/digestive-functors-aeson
In general: https://github.com/agrafix/validate-input
Yesod has HTML forms
Django REST Framework runs validation in the serializer:
In-page Help / User Guide¶
https://tracelytics.github.io/pageguide/ seems like the nicest one & could be used to provide a tutorial/help information for each individual page.
Or we could simply create a
settings Django app, with a "Singleton" admin class for holding easily adjustable(i.e. not hardcoded into settings.py) settings: https://github.com/lazybird/django-solo/ or https://github.com/racingtadpole/django-singleton-admin