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

Intro to Node.JS

Intro to Node.JS

Joe Andaverde

May 02, 2013
Tweet

Other Decks in Programming

Transcript

  1. What is Node.JS? • JavaScript out of the browser •

    Bindings to perform File and Network I/O ◦ Behavior not present in JavaScript
  2. Who uses Node.JS? • Trello http://blog.fogcreek.com/the-trello-tech-stack/ • Microsoft • Yahoo!

    • eBay • LinkedIn • Twitter More listed at: https://github.com/joyent/node/wiki/Projects,-Applications,- and-Companies-Using-Node
  3. What are some benefits of using Node.JS? • Very easy

    to get started • Handles I/O elegantly • Concurrency made easy ◦ Blocking operations use callbacks ◦ Single threaded ◦ Thread pool for I/O ◦ Handles thousands of concurrent users • It's friggen' JavaScript!
  4. • I/O intensive API's • Realtime apps • Most websites

    • When you want your API to speak JSON natively Use Node Don't use Node • CPU bound • You hate JavaScript