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

Intro to Node.js

Intro to Node.js

An introduction to Node.js

Thanos Polychronakis

September 10, 2014
Tweet

More Decks by Thanos Polychronakis

Other Decks in Programming

Transcript

  1. Why Node? • Asynchronous • Robust • Blazingly FAST •

    Javascript / Browserify / React • Largest growth year over year • Largest frontend tool belt
  2. Robust • Very small footprint / stack • Hundreds thousand

    production installations • Easily Scalable • Every major company is deploying node ◦ Yahoo ◦ Paypal ◦ eBay ◦ LinkedIn
  3. Blazingly Fast • Superior V8 engine under the hood •

    2x speed compared to Threaded langs ◦ PHP ◦ Java ◦ Ruby • Wins both in RPS and Response Time
  4. Javascript & the Web • Javascript is the Lingua Franca

    of the web • Huge & Growing developer pool • Minimum context switching for back / front • Websockets / Isomorphic applications
  5. Largest Growth source: http://www.modulecounts.com/ • 95k NPM Modules • Grows

    at 159m/day • Second is Maven with 73/d That was Jul 2014...
  6. Middleware Pattern HTTP Request Express JS Matched Route CORS Middleware

    CSRF Middleware Auth Middleware Main Task HTTP Response