Get in Touch
 Duration 21 hours

Course Outline

Introduction to Node.js

  • RAM versus I/O latency
  • Blocking versus Non-Blocking operations
  • Event-driven Programming principles
  • The Event Loop mechanism
  • Preventing the Event Loop from being blocked
  • Core Philosophy of Node.js

Node.js Platform Configuration

  • Downloading and Installation
  • Using the Node REPL
  • Creating your first Hello World program

Modules and npm

  • Structure of a module
  • Managing Private code
  • Accessing and utilizing modules
  • Essential npm commands
  • The package.json file

The Callback Pattern

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

Events

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

Error Handling

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

Buffers

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

Streams

  • Concept of streams
  • Read and Write Stream APIs
  • Flow Control mechanisms
  • Piping data
  • Duplex Streams
  • Transform Streams

Express.js

  • Overview and Installation of Express.js
  • Building a Hello Express application
  • Creating routes
  • Rendering Layouts
  • Utilizing templates
  • Including partials
  • Using locals and conditional templates
  • Modularizing routes

Socket.io

  • Listening for connections
  • 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 are expected to possess prior experience in JavaScript programming.

Testimonials (7)

Related Categories