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

Node.js for Publishers

Paul Serby
February 25, 2014

Node.js for Publishers

Paul Serby

February 25, 2014
Tweet

More Decks by Paul Serby

Other Decks in Technology

Transcript

  1. var hiddenBox = $( "#banner-message" ); $( "#button-container button" )

    .on( "click", function( event ) { hiddenBox.show(); });
  2. var hiddenBox = $( "#banner-message" ); $( "#button-container button" )

    .on( "click", function( event ) { hiddenBox.show(); }); JAVASCRIPT
  3. var hiddenBox = $( "#banner-message" ); $( "#button-container button" )

    .on( "click", function( event ) { hiddenBox.show(); }); JAVASCRIPT
  4. var hiddenBox = $( "#banner-message" ); $( "#button-container button" )

    .on( "click", function( event ) { hiddenBox.show(); }); JAVASCRIPT JQUERY
  5. 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 http://127.0.0.1:1337/');
  6. 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 http://127.0.0.1:1337/'); JAVASCRIPT
  7. 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 http://127.0.0.1:1337/'); NODE.JS JAVASCRIPT
  8. 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 http://127.0.0.1:1337/');
  9. 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 http://127.0.0.1:1337/'); WEB SERVER!
  10. 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 http://127.0.0.1:1337/');
  11. BLOCKING Take Order Prepare Panini 100% 100% 0% 100% 15s

    Cook Panini Take Payment PHP / Ruby / Python etc… 100s 360s 20s 100% Panini in Grill 5s
  12. BLOCKING Take Order Prepare Panini 100% 100% 0% 100% 15s

    Cook Panini Take Payment PHP / Ruby / Python etc… 100s 360s 20s 100% Panini in Grill 5s
  13. BLOCKING Take Order Prepare Panini 100% 100% 0% 100% 15s

    Cook Panini Take Payment PHP / Ruby / Python etc… 100s 360s 20s 100% Panini in Grill 5s
  14. BLOCKING Take Order Prepare Panini 100% 100% 0% 100% 15s

    Cook Panini Take Payment PHP / Ruby / Python etc… 100s 360s 20s 100% Panini in Grill 5s
  15. BLOCKING Take Order Prepare Panini 100% 100% 0% 100% 15s

    Cook Panini Take Payment PHP / Ruby / Python etc… 100s 360s 20s 100% Panini in Grill 5s
  16. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  17. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  18. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  19. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  20. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  21. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  22. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  23. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  24. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  25. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  26. Take Order 3 Prepare Panini 3 Take Payment 1 Panini

    1 in Grill Take Order 2 Prepare Panini 2 Panini 2 in Grill Take Order 1 Prepare Panini 1 Panini 1 Ready Take Payment 2 Panini 2 Ready Take Payment 3 Panini 3 Ready NODE.JS Panini 3 in Grill
  27. BETTER PRODUCT “Don’t waste time launching a single product, launch

    many and take the opportunity to learn.” - Bill Scott (Paypal)
  28. “A news organization must be responsive, both to its readers

    and to a fast-paced flow of information. Node provides a level of flexibility we haven't found anywhere else — and enables us to deliver performant apps that can be easily adjusted.” - Trevor Landau “The simple truth is Node has reinvented the way we create websites. Developers build critical functionality in days, not weeks.” - Michael Yormark WSJD Product Operations “Node made the team super productive, and this led to the freedom to implement the changes that were made, and this has resulted in problems being solved that genuinely people didn’t think could be solved.” - Clifton Cunningham CTO WHO’S USING IT
  29. NODE.JS Easy to adopt, simple to learn, quick to build,

    powerful, scales well, extendable and has great community and professional support.
  30. THANK YOU @serby Chef Hat by Jake Rubin, Thought Bubble

    by irene hoffman, Ruler by Michela Tannoia, Sandwich by Claire Jones, Beard by Philip Glenn, Glasses by Factorio.us collective from The Noun Project http://www.swipestation.co.uk http://www.looksgoodworkswell.com http://www.nearform.com/nodecrunch/how-node-js-has-revolutionized-the-mailonline http://clock.co.uk http://nodejs.org http://nodeschool.io Links http://clock.co.uk