Node.js

Overview

Node is...


  1. libuv: cross platform evented I/O library
  2. V8: Google's javascript engine that
    powers Chrome
  3. JS/C++: Custom code to tie it all together 
    and power the platform

Overview


  • Non-blocking, asynchronous architecture
    • Event loop
  • Native support for 
    • HTTP
    • SSL
    • Compression
    • Filesystem access
    • Raw TCP and UDP
  • Huge module ecosystem: 66,969
    • npm - Node Package Manager

What you need


  • Node.js installed
    • via MSI
    • via nodist (from GitHub)
    • via chocolatey (packaged nodist)
  • Text Editor
    • or Visual Studio 2012/2013
      with Node.js Tools for Visual Studio

What Makes a node.jS Application



Who's Using Node?

  1. Microsoft 
    1. extensively in Azure
  2. Yahoo!
  3. Wal-Mart
    1. powers their middleware
    2. Runs their api's
    3. Runs their mobile site
  4. HBO
  5. Beats Music

But can we use it?

YES!

  1. Approved!
  2. Works with MS SQL (node-sqlserver)
  3. Works with AD (passport-azure-ad)
    1. ldap.js

References

Node.js

By Ryan Hirsch

Node.js

Introduction to Node.js

  • 926