#Noderiety JavaScript 100
##URL https://github.com/Noderiety/javascript100/
##IRC #noderiety on freenode.net
##Schedule
- 09:30: Overview & Execution Environments: node.js, Google Chrome Developer Tools
- 09:45: Basics & Primitives
- 10:30: Functions
- 11:15: ES6 & "strict mode"
- 11:45: Lunch
- 12:45: Class-based Inheritance
- 1:15p: Logging, Errors
- 1:30p: Workshops:
- 2:30p: this
- 2:45p: Object.create
- 3:00p: Break
- 3:15p: Prototypal Inheritance
- 4:00p: Workshops:
##Preparation Install nvm:
# Mac
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
echo 'source ~/.nvm/nvm.sh' >> ~/.bash_profile
source ~/.bash_profile
# Linux
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
source ~/.bashrc
# Windows
npm install -g n
Install latest:
# Mac / Linux
nvm alias default v0.11 # Current version is >= 0.11.14
# Windows
n latest
Or, install stable:
# Mac / Linux
nvm install v0.10 # Current version is >= 0.10.32
nvm alias default v0.10
# Windows
n stable
Set npm install directory:
# Mac / Linux
mkdir ~/.npmprefix
npm config set prefix ~/.npmprefix
# Windows
# Necessary?
and add to PATH:
# Mac
echo 'export PATH=`npm config get prefix`/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
# Linux
echo 'export PATH=`npm config get prefix`/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
# Windows
# Necessary?
##Workshops ####Assigned workshops:
- Javascripting (Language introduction)
- Functional JavaScript
- Count-to-6 (ES6 introduction)
- Planetproto (Prototypal inheritance introduction)
- Lololodash
Workshops can be run in 1 of 2 ways:
####Local executable:
$ npm install functional-javascript-workshop # UNNECESSARY, INCLUDED IN REPO
$ ./npm_exec functional-javascript-workshop
####Global install and executable:
$ npm install functional-javascript-workshop -g
$ functional-javascript-workshop
###ES6 / Traceur
$ npm install -g node-es6 traceur-cli gulp
$ node-es6 foo.es6.js # Execute uncompiled code
$ traceur-cli # Start an ES6 REPL
javascript100/$ gulp watch #start traceur daemon
##Resources JavaScript Garden
Douglas Crockford's JavaScript Resources
MDN, Mozilla Developer Nework (the de facto language reference)