RKCP Information Technology




Node.JS
Home » Courses   » Node JS

Node.JS

From this training, the participants will be able to learn Node.js Introduction, Code Modularization, Events & Streams, Building Web Apps In Express.js, Scaling Node Apps, Advanced Node.js in Node.js

Overview

This fully hands-on training teach its participants about how to design and develop server side applications using the event-driven, non-blocking model framework - Node.js. This program inducts the participants into some of the advanced concepts of the JavaScript language so that the participants are well equipped to build end-to-end applications using JavaScript. Also a couple of case studies will be taken up during this training:

  • A Task Manager application<\/li>
  • A Real-time chat application using Socket.io<\/li><\/ul>


Objective

At the end of this Node.js training, the participants will:

  • Understand the non-blocking nature of Node.js
  • Write asynchronous code with callbacks and streams
  • Learn modularizing codes using NPM and require()
  • Understand and take advantages of the built-in apis for building scalable few applications
  • Learn how to build web applications using Express.js
  • Building views using Jade view engine
  • Understand how to handle authentication and authorization
  • Learn how to build real-time applications using WebSockets and socket.io

Preferred Audience - Web developer who wants to build data intensive scalable applications using Node.js

Total Duration - 2 Days


Prerequisites

PArticipants with the following knowledge are best suited for this training:

  • Experience in Application Development using any programming language
  • Basic knowledge of JavaScript

Better to have:

  • Exposure to any server technology (J2EE, .NET, Ruby etc)


Syllabus

Expand All
  • 1. Introduction to Node.js
    • Installation of Node.js
    • Node's Event Loop
    • Alternatives of Node.js
    • Writing asynchronous code
  • 2. Modularizing code
    • Understanding the built-in modules
    • Techniques of modularizing JavaScirpt code
    • Use of require() in modularizing application code
    • Using npm for third-party modules
    • Handling of Exceptions
  • 3. Events and Streams
    • Understanding Events
    • EventEmitter class
    • Understanding Streams
    • Reading and writing streams
    • Using pipe()
  • 4. Accessing Local Resources
    • Process Object
    • Manipulating File System
    • Understanding Buffers
  • 5. Node.js and the web
    • Handling web requests
    • Building a web server
    • Understanding the need for web sockets
    • Realtime interaction using socket.io
  • 6. Building web applications using Express.js
    • Installing Express.js
    • Routing
    • Parameters and queries in routing
    • Building views using Jade view engine
    • Using blocks for layout
    • Displaying data
    • Working with forms
    • Serving files
    • Working with cookies and sessions
    • Authentication and authorization
    • Error Handling
  • 7. Scaling of Node applications
    • The Child process model
    • exec, spawn, and fork functions
    • Using the Cluster module
  • 8. Node.js Eco System
    • Node Packages
    • Packages of interest
    • Deciding Factors
  • 9. Monitoring
    • Monitoring Node.js processes
    • Detecting Memory Leaks
  • 10. Advanced
    • Configuration Node processes