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
  • Private code
  • Accessing and utilizing modules
  • npm commands
  • package.json

The Callback Pattern

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

Events

  • Appropriate use of Event Emitters
  • Binding Functions to Events
  • Event Requests
  • Event Listening

Error Handling

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

Buffers

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

Streams

  • Understanding 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
  • Creating 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

  • No SQL and Document Stores
  • Relational DBs
  • Configuration and platform setup
  • CRUD Operations

Requirements

Participants should possess prior experience in JavaScript programming.

Number of participants


Price per participant

Testimonials (7)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories