/ Node

Let's do Node - Week 1


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. Wikipedia


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.


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

What I Learned

  • Node's event-driven, single-threaded, non-blocking I/O model is unlike most other server-side technologies
  • 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.
  • Using the Node
  • Frameworks: Express, Supertest, Tape
  • Tools: PM2, REPL
  • Global scope and what it contains
  • The Buffer and its main methods

Resources for future learning