Training

 

 

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

821A Bloor Street West
Toronto, ON
M6G 1M1

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

Home > Training > Web Development, HTML, and JavaScript > Node.js Software Development Training

Node.js Software Development Training

Quick Enroll

Course#: WA2452

This 2 day course teaches Node.js software development.

Objectives

  • Learn what Node.js is and how its best used
  • Install and configure Node.js using platform installation packages and source code
  • Manage Node.js Packages with the Node Package Manager
  • Use and create Node.js Modules
  • Configure and secure a Web Application
  • Utilize file and stream resources with Node.js
  • Understand common Node.js programming patterns
  • Explore performance issues with Node.js
  • Troubleshoot Node.js problems

Duration

2 Days

Outline of WA2452 Node.js Software Development Training

Chapter 1. Introduction to Node.js

  • What is Node.js?
  • Application of Node.js
  • Installing Node.js and NPM
  • "Hello, Node World!"
  • How it Works
  • Built on JavaScript – benefits
  • Traditional Server-Side I/O Model
  • Disadvantages of the traditional Approach
  • Event-Driven, Non-Blocking I/O
  • Concurrency
  • Using Node Package Manager (NPM)
  • Express
  • Summary

Chapter 2. Module and Dependency Management

  • Nature of a Node.js Project
  • Introduction to Modules
  • A Simple Module
  • Using the Module
  • Directory Based Modules
  • Example Directory Based Module
  • Using the Module
  • Making a Module Executable
  • Core Modules
  • Loading Module from node_modules Folders
  • Dependency Management Using NPM
  • Installing a Package
  • About Global Installation
  • Setting Up Dependency
  • Package Version Numbering Syntax
  • Updating Packages
  • Uninstalling Packages
  • Alternate Dependency Management
  • Summary

Chapter 3. The File System Module

  • Introduction
  • Basic File Manipulation
  • Getting File/Directory Meta Data
  • Read an Entire File
  • The Buffer Class
  • Writing to a File
  • Reading in Chunks
  • Writing in Chunks
  • The open() Method
  • Stream API
  • The Readable Interface
  • Example Reading Data in Chunks
  • The Writable Interface
  • Summary

Chapter 4. Basic Web Application Development

  • Introduction to the HTTP Module
  • The Request Handler Callback Function
  • The Server Object
  • Example Use of Server Object
  • The Request Object
  • The Response Object
  • Parsing Request Body
  • Serving Static Files
  • The HTTP Client API
  • Making POST/PUT/etc. Requests
  • Where To go from Here?
  • Summary

Chapter 5. Debugging and Unit Testing

  • Problem Determination Options
  • Using console.log
  • Using the debug Logging Package
  • Configure Logging
  • The Node Inspector Debugger
  • Basic Usage of the Debugger
  • Unit Testing Node.js Applications
  • Getting Setup
  • Writing a Test Script
  • Running Unit Test
  • Testing Asynchronous Code
  • Using the Chai Assert API
  • The Chai Expect API
  • Summary

Chapter 6. Logging in Node.js

  • Logging in Node.js
  • What is Missing?
  • Getting a Little Help with the debug Module
  • Logging with the winston Module
  • Example of Using winston
  • The morgan Module
  • Installing and Using Morgan
  • Examples of morgan Configuration Options
  • Apache Log Output Formats
  • Morgan's Dev Log Output Format
  • Logging for Debugging
  • Summary

Chapter 7. Introduction to Express

  • Introduction to Express
  • Basic Routing Example
  • Defining Routing Rules
  • Route Path
  • The Response Object
  • Supplying URL Parameters
  • Ordering of Routes
  • Defining Catch All Route
  • Full Example Web Service
  • Summary

Chapter 8. Express Middleware

  • Introduction to Express Middleware
  • Writing a Middleware Function
  • Binding to a Path
  • Order of Execution
  • Raising Error
  • Handling Error
  • Serving Static Files
  • Handling POST Request Body
  • Enable Response Compression
  • Summary

Chapter 9. Jade Template Engine

  • Introduction to Jade
  • Using Jade
  • A Simple Template
  • Passing Data to a Template
  • Basic HTML Tag Rendering
  • Rendering Values
  • Conditional Rendering
  • Rendering a List
  • Layout Template
  • Creating a Layout Template
  • Creating a Content Template
  • Summary

Chapter 10. Accessing MongoDB from Node.js

  • Getting Started
  • The Connection URL
  • Obtaining a Collection
  • Inserting Documents
  • Updating a Document
  • Querying for Documents
  • Deleting a Document
  • Connection Pooling
  • Summary

Chapter 11. Clustering and Failover

  • Process Management
  • Managing the Process Using OS Tools
  • Installing a Service in Window
  • Create an Upstart Script in Ubuntu
  • Process Management Using forever
  • Clustering Basics
  • Example Clustered Application
  • More About Clustering
  • Child Process Failover
  • Summary

Lab Exercises

Lab 1. Getting Started With Node.js
Lab 2. Basics of a Node.js Module
Lab 3. Using Node Package Manager (npm)
Lab 4. Building Module Dependency
Lab 5. Using the Stream API
Lab 6. Basic Web Application Development
Lab 7. Debugging a Node.js Application
Lab 8. Logging with Morgan
Lab 9. Introduction to Unit Testing
Lab 10. Web Service Using Express
Lab 11. Using MongoDB
Lab 12. Using the Jade Template Engine
Lab 13. Clustering a Node.js Application

Address Start Date End Date
Instructor Led Virtual 04/24/2017 04/25/2017
Instructor Led Virtual 06/26/2017 06/27/2017
Instructor Led Virtual 08/14/2017 08/15/2017
Instructor Led Virtual 10/30/2017 10/31/2017
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

04/24/2017 - Online Virtual
$1,295.00
Enroll

06/26/2017 - Online Virtual
$1,295.00
Enroll

08/14/2017 - Online Virtual
$1,295.00
Enroll

10/30/2017 - Online Virtual
$1,295.00
Enroll

Other Details

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.