Slide 1

Slide 1 text

node.js // io.js General Assembly 2015 by @vladikoff

Slide 2

Slide 2 text

node.js ● A platform built using the JavaScript runtime ● First released in 2009 ● Open Source ( github.com/joyent/node ) ● Cross-platform, install it from nodejs.org

Slide 3

Slide 3 text

Latest Stable Release: 0.12 February 6, 2015 V8 JavaScript Engine: v3.28.73 node.js Latest Stable: 1.20.0 February 10, 2015 V8 JavaScript Engine: v4.1.0.14 Read more at https://iojs. org/en/es6.html io.js

Slide 4

Slide 4 text

why node ● JavaScript, JavaScript everywhere! ● Server-side frameworks, lots of developer tools! ● Modular: 125,000+ modules on npm! ○ see npmjs.com ● Works particularly well for: ○ JSON APIs ○ single page apps, realtime apps ○ command line tools

Slide 5

Slide 5 text

Buffer C/C++ Addons Child Processes Crypto Events File System HTTP HTTPS Modules Net the API OS Path Process Query Strings Readline REPL Stream Timers URL Utilities...

Slide 6

Slide 6 text

using the api

Slide 7

Slide 7 text

using the api

Slide 8

Slide 8 text

using the api

Slide 9

Slide 9 text

install from npm

Slide 10

Slide 10 text

managing callbacks

Slide 11

Slide 11 text

managing callbacks

Slide 12

Slide 12 text

what else is there? ● Server Frameworks ● Full Stack Frameworks ● Testing Frameworks ● CSS Preprocessors ● Developer Tools ● Native Applications

Slide 13

Slide 13 text

let’s build an app...