Get in Touch
 Duration 21 hours

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
  • Node REPL
  • First Hello World application

Modules and npm

  • Structure of a module
  • Encapsulating private code
  • Accessing and utilizing modules
  • npm commands
  • package.json

The Callback Pattern

  • Definition of callbacks
  • Callback-last convention
  • Error-first convention

Events

  • Scenarios for using Event Emitters
  • Binding Functions to Events
  • Event Requests
  • Event Listening

Error Handling

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

Buffers

  • The purpose of Buffers
  • Creating Buffers
  • Reading and Writing Buffers
  • Manipulating Buffer data

Streams

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

Express.js

  • Introduction and Installing Express.js
  • Creating a Hello Express application
  • Defining routes
  • Rendering Layouts
  • Utilizing templates
  • Incorporating partials
  • Using locals and conditional templates
  • Modularizing route definitions

Socket.io

  • Listening for events
  • Broadcasting messages
  • Responding to client queries

Connecting to Databases

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

Requirements

Participants enrolled in this course are expected to have prior experience in JavaScript programming.

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories