Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node on the Road

Node on the Road

Eric Ferraiuolo

April 22, 2014
Tweet

More Decks by Eric Ferraiuolo

Other Decks in Programming

Transcript

  1. “To me, Node.js was never about replacing everything on the

    server with JavaScript. The fact that you can do such a thing is amazing and empowering, but that doesn’t make it the right choice in every situation. No, to me, I had a very different use in mind: liberating the back-end UI layer from the rest of the back-end.” — Nicholas Zakas
  2. var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type':

    'text/plain'}); res.end('Hello World\n'); }).listen(1337, '127.0.0.1'); console.log('Server running at 127.0.0.1:1337'); SUCCESS: EARLY & OFTEN