NodeJS By Examples

Intro Notes

NodeJS characteristics

  • use Chrome V8 JS runtime
  • event driven and non-blocking I/O
  • created 2009 by Ryan Dahl and turned over in 2012 by  Isaac Schlueter
  • sponsored by Joyent Cloud (Scott Hammond)
  • uses NPM with >120000 modules (packages)
  • everything is asynchronous

Synchronous or blocking executes row by row in your code.

Asynchronous or non-blocking means that you do each async methos starts from brggining. You dont have to wait response.