10 things about AMD
- Simplified CommonJS Wrapper - don't maintain long list of dependencies
- Cajon - get rid of module wrapper at all
- Circular Dependencies - avoid, detect and live with those
- Almond - don't keep XHR loading code when in production
- text! - don't store all your templates in one template überfile (applies to any other text resource, too)
- i18n! - localize JS apps right way
- jQuery - use jQuery in an AMD manner
- Packages - find the best place for every piece of code
- Bootstrap - customize your libraries with no effort (applies to many other libs, too)
- browserify - know alternative
... here
You need running webserver to be able to use XHR. Just jump to repository root, type python -m SimpleHTTPServer
and visit localhost:8000
.
First - grab node.js from nodejs.org. Then:
- bower:
npm install -g bower
- madge:
npm install -g madge
- graphviz:
aptitude install graphviz
(Debian/Ubuntu) - r.js:
npm install -g requirejs
- browserify:
npm install -g browserify
If directory contains (can be both):
bower.json
, then install vendors withbower install
package.json
, then install vendors withnpm install
MIT