$30 off During Our Annual Pro Sale. View Details »

NodeSchool Intro: Sept 27, 2014

Jason Rhodes
September 27, 2014

NodeSchool Intro: Sept 27, 2014

Jason Rhodes

September 27, 2014
Tweet

More Decks by Jason Rhodes

Other Decks in Technology

Transcript

  1. Welcome! Make sure you’re ready by visiting: bit.ly/nodeschool-install

  2. None
  3. None
  4. Why learn node?

  5. None
  6. youtube.com/user/cascadiajs/videos

  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. 1 episode: 10 months 1 batch: 30 days Entire programming

    language: 10 days
  17. DOM AND THE DARK YEARS OF THE DOM CSS 1

    XML RDF HTML 4.0
  18. Jesse James Garrett 2005

  19. None
  20. NOT BAD

  21. <4 years later>

  22. youtube.com/watch?v=ztspvPYybIY

  23. None
  24. BYE BYE DOM

  25. None
  26. COMMONJS

  27. var foo = require(“foo”);

  28. var bar = require(“./bar”);

  29. GLOBALS

  30. globals • require • console • process • module

  31. ASYNC/CALLBACKS

  32. the sync way var up = upperCase(“ok”); ! console.log(up); //

    => OK
  33. with a callback upperCase(“ok”, function (err, up) { ! console.log(up);

    // => OK ! });
  34. bit.ly/nodeschool-install

  35. How Today Works

  36. Driver Navigator Pair Programming

  37. jason@venkman[~] $ learnyounode

  38. None
  39. Open new file… > program.js ! ! $ learnyounode verify

    program.js ! ! $ learnyounode run program.js ! ! $ node program.js
  40. Make a new file or folder for each lesson. TIPS!

  41. TIPS!

  42. Ask for help. TIPS!

  43. Think things out loud. TIPS!

  44. Help each other. TIPS!

  45. Watch for hints in previous exercises. TIPS!

  46. Get started! TIPS!

  47. nodeschool.io/baltimore @bmorenodeschool @rhodesjason