NodeJS

Pre-requisites: Javascript

 

Software Tools required: nodejs, notepad++

 

 

COURSE CONTENT :
Introduction ·         Serverside javascripting

·         Hello World

·         Get Node and npm

A full blown web application with Node.js
  • Use cases
  • Application stack
Building the application stack
  • A basic HTTP server
  • HTTP server – Analysis
  • Passing functions
  • HTTP server – using function passes
  • Event-driven asynchronous callbacks
  • Node modules
  • Events
  • Handling requests in server
  • ExpressJS
  • Request ‘Route’-ing
  • Routing to real request handlers
  • Making the request handlers respond
  • POST requests handler
  • File upload handler
Accessing Data
  • SQL server
Working with Socket io
  • Broadcasting messages
  • Private messaging with events
  • Storing socket specific data
  • Namespaces
Clusters
  • How clusters work
  • Creating a cluster
Clusters
  • How clusters work
  • Creating a cluster
Unit Tests ·                           Jasmine