Get in Touch

Course Outline

Introduction to Node.js

  • RAM vs. I/O latency
  • Blocking vs. Non-Blocking operations
  • Event-driven Programming
  • The Event Loop
  • Blocking the Event Loop
  • Node.js Philosophy

Node.js Platform Setup

  • Download and Installation
  • Using the Node REPL
  • First Hello World program

Modules and npm

  • Module anatomy
  • Encapsulating private code
  • Accessing and utilizing modules
  • npm commands
  • package.json

The Callback Pattern

  • Defining callbacks
  • Callback-last convention
  • Error-first convention

Events

  • Use cases for Event Emitters
  • Binding functions to events
  • Issuing event requests
  • Listening to events

Error Handling

  • Callbacks: Error-first approach
  • Managing errors in Event Emitters
  • Handling Uncaught Exceptions
  • Utilizing Domains

Buffers

  • Purpose of Buffers
  • Creating Buffers
  • Reading from and writing to Buffers
  • Manipulating Buffers

Streams

  • Concept of streams
  • Read and Write Stream API
  • Flow Control
  • Piping
  • Duplex Stream
  • Transform Stream

Express.js

  • Introduction and installation of Express.js
  • Building a Hello Express application
  • Defining routes
  • Rendering Layouts
  • Utilizing templates
  • Adding partials
  • Using locals and conditional templates
  • Modularizing routes

Socket.io

  • Listening for events
  • Broadcasting messages
  • Answering questions

Connecting to Databases

  • NoSQL and Document Stores
  • Relational Databases
  • Configuration and platform setup
  • CRUD Operations

Requirements

Participants enrolling in this course should possess prior experience in JavaScript programming.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories