RKCP Information Technology




Node.JS
Home » Courses   » Node JS

Node.JS

Learn Node.js Introduction, Code Modularization, Events & Streams, Building Web Apps In Express.js, Scaling Node Apps, Advanced Node.js in Node.js Tutorial/Training-LIVE Online & Classroom sessions

Overview

This fully hands-on training course teaches the participants how to design and develop server side applications using the event-driven non-blocking model framework - Node.js. This program inducts the participant in some of the advanced concepts of the JavaScript language so that the participant is well equipped to build end-to-end application using JavaScript. Also couple of case studies will be taken up during the program:

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


Objective

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

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

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

Duration - 2 Days


Prerequisites

Must Have

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

Good To Have

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


Syllabus

Expand All
  • 1. Introduction to Node.js
    • Installing Node.js
    • Node's Event Loop
    • Alternatives to Node.js
    • Writing asynchronous code
  • 2. Modularizing code
    • Understanding built-in modules
    • Techniques for modularizing JavaScirpt code
    • Using require() to modularize application code
    • Using npm for third-party modules
    • Handling 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 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