0845 450 6120

Developing Node.js Web Applications

This Developing Node.js Web Applications course is for developers who wish to use JavaScript to create network applications.

This course explains the concepts of event loop structure of Node.js applications and goes on to explain the appropriate time to use features such as callbacks, streams and buffers.  It takes a hands-on approach to developing Node.js applications and includes details on error handling, database access and frameworks.

The delegate will learn and acquire skills as follows:

  • Setting up the Node.js environment
  • Creating and using Node.js modules
  • Event based programming
  • Using callbacks to pass parameters
  • Dealing with errors efficiently
  • Using buffers to handle binary data
  • Transferring of data using streams
  • Developing templates with Express
  • Storing data to a database

Who will the Course Benefit?

This course is aimed at JavaScript developers who wish to use Node.js to build fast, efficient and scalable applications.

Learning Objectives

Course Objectives

By the end of the course delegates should be able to:

  • Install Node.js, NPM and Express
  • Understand Node.js event-based programming
  • Create a web server and build web applications on it
  • Create and use modules
  • Build a web application using events, callbacks, buffers and streams
  • Improve an application with robust error handling
  • Add templates with Express.js
  • Use Node.js to connect to a database

Pre-Requisites

Requirements

An understanding of HTML and CSS selectors, as well as some knowledge of JavaScript is required.  This knowledge can be obtained by attendance on the pre-requisite courses.

Pre-Requisite Courses

  • HTML & CSS
  • JavaScript 1
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Course Content

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCING NODE.JS

  • What is Node.js?
  • Node.js in Context
  • Server-side JavaScript
  • Event Driven Architecture

Session 2: GETTING STARTED

  • Installing Node.js
  • Using NPM
  • Understanding Modules
  • Writing to the Console

Session 3: THE EVENT MODEL

  • Node.js Events
  • Avoiding Blocking I/O
  • Event Emitters
  • The Event Queue
  • Event Timers

Session 4: CALLBACKS

  • Callback Functionality
  • Passing Parameters
  • Handling Closure
  • Implementing Chaining

Day 2

Session 5: ERROR HANDLING

  • Catching Exceptions
  • Propagation of Errors
  • Types of Errors
  • Error Handling Classes

Session 6: MANAGING DATA

  • JSON and Node.js
  • Using Buffers
  • Streaming Data
  • Readable and Writable Streams
  • Duplex and Transform Streams

Session 7: THE EXPRESS FRAMEWORK

  • Introducing Express
  • Installing Express
  • Configuring Routes
  • Serving Pages
  • The Template Engine

Session 8: DATABASE INTEGRATION

  • Accessing the File System
  • Connecting to SQL Databases
  • Connecting to MongoDB
  • Transaction Handling

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Online Courses

You may prefer an online course if you are looking for a flexible and cost-effective solution. Online courses allow you to study at your own pace, at a time that suits you.

We have the following eLearning options available:

Our Customers Include