hackference 2014 - node.js, the awesome parts
DESCRIPTION
The awesome parts of Node.jsTRANSCRIPT
Hackference 2014
HACK
1
Dan Jenkins
The Awesome Parts
Hackference 2014
HACK
2
About me
I’m Dan Jenkins I’m primarily a Node.js developer
Been working with Node since 0.4
Founder of Nimble Ape Ltd
!
Twitter @dan_jenkins Web nimbleape.com
Hackference 2014
HACK
3
Node.js
Server Side Javascript
Hackference 2014
HACK
4
easily build fast, scalable network applications
event-driven
lightweight and efficient
non-blocking I/O
perfect for data-intensive real-time applications that run across distributed devices
Taken from nodejs.org
Hackference 2014
HACK
5
Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for
data-intensive real-time applications that run across distributed devices.
Hackference 2014
HACK
6
Single Threaded
Hackference 2014
HACK
7
Asynchronous
Hackference 2014
HACK
8
Lightweight
Hackference 2014
HACK
9
Customisable
Hackference 2014
HACK
10
Non-blocking I/O
Hackference 2014
HACK
11
Community Driven
Hackference 2014
HACK
12
How To Get It
Hackference 2014
HACK
13
www.nodejs.org
Hackference 2014
HACK
14
Homebrew
Hackference 2014
HACK
15
Nodesource | Chris Lea
Unofficial Apt Repos
Hackference 2014
HACK
16
Awesome-ness
Hackference 2014
HACK
17
Readability
Hackference 2014
HACK
18
Both server side & client side
Hackference 2014
HACK
19
Some people run same code client side & server side
routes & templates
Hackference 2014
HACK
20
Personally, it’s just less context
switching
Hackference 2014
HACK
21
npm
Hackference 2014
HACK
22
95 169 Packages
94 996 Thursday (-173)94 809 Wednesday (-360)94 698 Tuesday (-471)
Hackference 2014
HACK
23
Impressive
Hackference 2014
HACK
24
Not really…
we build apps & modules in
different ways
Hackference 2014
HACK
25
It’s like comparing apples and oranges
Hackference 2014
HACK
26
Modularisation
Hackference 2014
HACK
27
Small, reusable code
Small modules, greater power
However, with great power, comes great responsibility
Hackference 2014
HACK
28
Testability
Hackference 2014
HACK
29
Moar testing mechanismsMocha Should
Chai Sinon
Nock | Hock Supertest Istanbul
JSHint | JSCS
Hackference 2014
HACK
30
Rapid
Hackference 2014
HACK
31
Hackference 2014
HACK
32
Hackference 2014
HACK
33
Learning!
Hackference 2014
HACK
34
Node Schoolnodeschool.io
Hackference 2014
HACK
35
Node School Events Worldwide!
Hackference 2014
HACK
36
Workshop Modules
npm install -g learnyounode
Hackference 2014
HACK
37
howtonodehowtonode.org
Hackference 2014
HACK
38
nodebots
nodebots.io
Hackference 2014
HACK
39
Community
Hackference 2014
HACK
40
Node Weekly & Javascript Weekly
javascriptweekly.com
nodeweekly.com
Peter Cooper Press | @peterc
Hackference 2014
HACK
41
nodeup.com @dshaw
Hackference 2014
HACK
42
Mailing List
https://groups.google.com/forum/#!forum/nodejs
Hackference 2014
HACK
43
Stack Overflow
node.js tag
Hackference 2014
HACK
44
IRC
#nodejs
irc.freenode.net
Hackference 2014
HACK
45
Node Security Projectnodesecurity.io
Hackference 2014
HACK
46
Build ANYTHING
Hackference 2014
HACK
47
Grunt Gulp Yo
Custom
CLI Tools
Hackference 2014
HACK
48
Weberversexpress restify hapi
loopback
Hackference 2014
HACK
49
Websockets
socket.io engine.io
Hackference 2014
HACK
50
Client Side Code
Browserify
Hackference 2014
HACK
Node-webkit Atom-shell
51
Native apps!
Hackference 2014
HACK
52
Hardware & Software
Anyone can do hardware development now
Hackference 2014
HACK
53
Tessel Arduino (spark core etc)
Johnny-five Beagle Bone Raspberry Pi
Xbox controllers / Playstation controllers Ar Drones
Hackference 2014
HACK
54
Thanks! Questions?
Dan Jenkins
@dan_jenkins