Get in Touch

Course Outline

Introduction to Node.js

  • RAM versus I/O latency
  • Blocking versus non-blocking operations
  • Event-driven programming
  • The event loop
  • Blocking the event loop
  • Node.js philosophy

Node.js Platform Setup

  • Download and installation
  • Node REPL
  • Creating a 'Hello World' application

Modules and npm

  • Anatomy of a module
  • Encapsulated code
  • Importing and utilizing modules
  • npm commands
  • package.json

The Callback Pattern

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

Events

  • When to use Event Emitters
  • Binding functions to events
  • Event emission
  • Event listening

Error Handling

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

Buffers

  • The purpose of buffers
  • Creating buffers
  • Reading and writing to buffers
  • Manipulating buffers

Streams

  • Understanding streams
  • Read and Write Stream API
  • Flow control
  • Piping
  • Duplex streams
  • Transform streams

Express.js

  • Introduction and installation of Express.js
  • Developing a 'Hello Express' application
  • Defining routes
  • Rendering layouts
  • Implementing templates
  • Integrating partials
  • Using locals and conditional templates
  • Modularizing routes

Socket.io

  • Listening for events
  • Broadcasting
  • Responding to events

Connecting to Databases

  • NoSQL and document stores
  • Relational databases
  • Configuration and platform setup
  • CRUD operations

Requirements

Participants are expected to have prior programming experience with JavaScript.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories