Get in Touch

Course Outline

Introduction to Node.js

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

Setting Up the Node.js Platform

  • Download and installation procedures
  • Introduction to Node REPL
  • Creating a Hello World application

Modules and npm

  • Understanding module anatomy
  • Managing private code
  • Accessing and utilizing modules
  • Essential npm commands
  • Configuring package.json

The Callback Pattern

  • Defining callbacks
  • The callback-last approach
  • The error-first convention

Events

  • When to employ Event Emitters
  • Binding functions to events
  • Managing event requests
  • Implementing event listeners

Error Handling

  • Error-first callbacks
  • Handling errors in Event Emitters
  • Addressing uncaught exceptions
  • Utilizing domains

Buffers

  • The purpose of buffers
  • Creating buffers
  • Reading and writing buffers
  • Buffer manipulation techniques

Streams

  • Introduction to streams
  • Read and Write Stream API
  • Flow control mechanisms
  • Piping data
  • Duplex streams
  • Transform streams

Express.js

  • Introduction and installation of Express.js
  • Building a Hello Express application
  • Defining routes
  • Rendering layouts
  • Utilizing templates
  • Incorporating partials
  • Leveraging locals and conditional templates
  • Modularizing route configurations

Socket.io

  • Listening for events
  • Broadcasting messages
  • Handling inquiries

Connecting to Databases

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

Requirements

Participants should possess prior experience with JavaScript programming.

 21 Hours

Testimonials (7)

Upcoming Courses

Related Categories