NodeJS

Live Online (VILT) & Classroom Corporate Training Course

Node.js is a popular open-source cross-platform runtime environment for JavaScript execution. Powered using a combination of Google's V8 JavaScript engine, an event loop, and a low-level I/O API, Node.js is the best lightweight platform for data-intensive applications.
NodeJS logo

How can we help you?

  • CloudLabs
    CloudLabs
  • Projects
    Projects
  • Assignments
    Assignments
  • 24x7 Support
    24x7 Support
  • Lifetime Access
    Lifetime Access
Box

Overview

This training teaches experienced JavaScript developers how to create server-side applications with JavaScript and Node.js, culminating with an MVC application built on the Express framework that queries databases and calls back-end web services.

Box

Objectives

At the end of NodeJS training course, participants will be able to

  • Learn why server-side JavaScript is useful
  • Install Node.js
  • Learn how Node.js is architected to allow high scalability with asynchronous code
  • Create basic web applications with Node.js
  • Automate tasks with Gulp
  • Build an HTTP server using the core modules in Node.js
  • Use stream I/O to efficiently serve the web pages
  • Create modules to organize the server
  • Test the reliability of the application with unit tests
  • Convert the application to an MVC framework using Express
Box

Prerequisites

Node.js training attendees should have a thorough knowledge of JavaScript. They should be familiar with web server application design concepts (such as accessing databases and SOA concepts), as well as basic HTML and CSS.

Box

Course Outline

  • The Node.js framework
  • Installing Node.js
  • Using Node.js to execute scripts

  • The Node Package Manager
  • Creating a project
  • The package.json configuration file
  • Global vs. local package installation
  • Automating tasks with Gulp.

  • The HTTP protocol
  • Building an HTTP server
  • Rendering a response
  • Processing query strings
  • Using Representational State Transfer
  • Configuring TLS

  • Synchronous vs. asynchronous I/O
  • Path and directory operations
  • __dirname and __filename
  • Asynchronous file reads and writes

  • Using buffers for binary data
  • Flowing vs. non-flowing streams
  • Streaming I/O from files and other sources
  • Processing streams asynchronously
  • Configuring event handlers

  • Modularization
  • The CommonJS and RequireJS specifications
  • Defining modules with exports
  • Modules are singletons
  • Creating a package
  • Module scope and construction
  • Unit testing frameworks
  • What to test and how to test it
  • Building unit tests with Mocha

  • The model-view-controller pattern
  • Defining Jade and Handlebars templates
  • Building a front-end controller
  • Defining routes
  • Creating actions
  • Configuring Express to use Handlebars
  • Using REST
  • Reading POST data
  • Building Handlebars helpers
  • Adding middleware

  • How Node.js connects to databases
  • RDBMS databases and NoSQL databases
  • Connecting to RDBMS and NoSQL databases
  • Performing CRUD operations
  • Building client requests to web services
Box

Testimonials