-
Avoid javascript framework fatigue
-
The simplest, modern, client side app possible
-
Run from the filesystem - and server (avoid ajax)
-
Use localstorage https://github.com/marcuswestin/store.js/
-
Client templating https://github.com/blueimp/JavaScript-Templates
-
Learn about electricity and solar
- Compile template views: https://github.com/blueimp/JavaScript-Templates#compiled-templates
- Watch template changes: https://github.com/vol4ok/nwatch/blob/master/fswatch.rb
- Store data locally: https://github.com/marcuswestin/store.js/
I'm currently using them but am looking for alternatives. They account for 80% of the code for this app and I'd like to bring that figure to 10%.
- Re-org model / controller. State = model != controller
- Remove Jquery and Bootstrap