I love the config driven style of total.js, However I feel like it still suffers from the same problem as other popular frameworks. which is it is really difficult to share modules / components / definitions, views, etc.
the directions for official total.js modules is basically the same:
- Copy Foo.js
- npm install Foo-dependancy
- modify config-foo
everytime there is a change to total.js or the module is updated, i have to re-copy chunks of code around to apply an update
What would be way better is if I could:
- npm install total-foo
- tell framework to use total-foo ( add to a config )
A package could define as much or as little as it wanted. framework would just need to expose the hooks, and pass it self through.
updates then can become:
NPM is a pretty awesome system that handles modules, depenencies and version really well and total js