Course Outline


Pre-requisites

Participants must have good knowledge of Javascript and have knowledge of atleast one server-side framework

Duration

1.5 days

Lab Setup

  • Node.js must be installed in a Linux system – please make sure the latest version is installed
  • Windows/Linux/Mac system with the following browsers and extensions:
    • Firefox and Firebug – latest versions
    • Chrome

Course Outline for Node.js

JS in the Server
  • A short history of Javascript
  • Javascript in the server
  • Difference between JS as a programming language and JS in the browser
Installation
  • Node.js as a Javascript shell
  • Node.js Hello World
  • Reading command line arguments
  • Working with Console APIs
Sync v/s Async
  • Synchronous programming
  • Asynchronous programming
  • Event driven, single-threaded server
  • Multi-threaded server
  • Async gotchas (or things to remember when using Node)
  • Cluster APIs
  • Async module
File System APIs
  • Reading files
  • Writing files
  • Synchronous v/s Asynchronous operations
  • Working with directories
  • Buffers
Modules
  • Built-in modules
  • Writing your own modules
  • Installing 3rd party modules using npm
  • Forever
  • ExpressJS
  • SocketIO
Misc (skim)
  • Debugging Node.js apps
  • Timers
  • Deploying Node.js apps
  • Exception Handling
  • Logging

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.