Monday, April 6, 2015

Episode 41: Node.js

Download


Introduction: Net Neutrality

User Feedback: Pre vs Post Increment CORRECTION

We are sponsored by audible! http://www.audibletrial.com/programmingthrowdown

News

Book of the Show

Tool of the Show

Node.js

  • Overview
    • Javascript is the only language supported in all modern browsers
    • Node.js allows javascript client & server
    • npm - node package manager
  • History
    • 2008 V8 Javascript Engine Released
      • Developed by Google for Chrome
    • 2009 Initial version released by Ryan Dahl working at Joyent
  • Pros
    • Javascript object -> JSON string -> Javascript object -> object database
    • Share libraries across client/server
      • Especially important for validation
    • Great MVC Frameworks
      • Express
    • Asynchronous
  • Cons
    • Weakly Typed
    • Callback hell (explicit async/sync)
    • Performance
      • Single threaded
      • Interpreted