Let's Do Node

— 2 minute read

What? permalink

Node.js is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side. Node.js enables JavaScript to be used for server-side scripting and runs scripts server-side to produce dynamic web page content before the page is sent to the user's web browser.

Why? permalink

It's a different use of JS and it's used to solve problems I don't think about solving with JS. Clearly, that indicates a gap in my understanding of how it works and how it can be used. Time to fill in that gap.

How? permalink

Using a few early morning hours each day from Tuesday, June 20th to Sunday, June 25th, 2017 using:

Takeaways permalink

  1. Node's event-driven, single-threaded, non-blocking I/O model is unlike most other server-side technologies
  2. Node's I/O model makes it fast but since it's single-threaded it also means all users share the same memory space. Scoping variables properly is very important.
  3. Basics of these frameworks: Express, Supertest, Tape
  4. Basics of PM2 and REPL
  5. Global scope and what it contains
  6. The Buffer and its main methods

Worthy Resources Next Time permalink