Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
process
window
ReferenceError: alert is not defined
$ sudo apt-get install node
$ vi server.js
$ node server.js
express.js
language that you already know
server and client paradigms
are different
$ sudo apt-get install npm
$ npm install express
low entry barrier
callbacks are a pain
socket.io
productivity
async code is hard to read
lightweight, low memory usage
not type safe
async.js
no great IDE
or promises
throughput
performs better than you expect
single thread works for non CPU-intensive apps
var http = require('http');
http.createServer(function(req, res) {
res.end('Hej världen!');
}).listen(8080);
console.log('¡Hola el mundo!')
"Almost no function in Node directly performs I/O, so the process never blocks. Because nothing blocks, less-than-expert programmers are able to develop fast systems."
V8
REPL
Single-threaded
no concurrency
One language
non-blocking
that you already know
Reactor pattern
npm
Play with it to broad your horizons!
Good for small projects
(LinkedIn and Wallmart use it for mobile apps)
(also trendy and cool)
Perfect for prototypes!