Node JS Training

Node JS

 Overview – 
Node.js is a packaged compilation of Google’s V8 JavaScript engine, the libuv platform abstraction layer, and a core library, which is itself primarily written in JavaScript.” Beyond that, it’s worth noting that Ryan Dahl, the creator of Node.js, was aiming to create real-time websites with push capability, “inspired by applications like Gmail”. In Node.js, he gave developers a tool for working in the non-blocking, event-driven I/O paradigm. After over 20 years of stateless-web based on the stateless request-response paradigm, we finally have web applications with real-time, two-way connections.
 
Module 1 – Introduction to Node JS
Learning Objective:
In this module, you will learn what is Node JS and advantages of Node JS and How Node JS Works and the difference between the traditional web server and what are the limitations of the traditional web server modal.
 Topics:
•        What is Node JS?
•        Advantages of Node JS
•        Traditional Web Server Model
•        Node.js Process Model
 
Hands-On:
•        Usage of Node JS architecture and Server Model.
 
Module 2 – Setup Dev. Environment
Learning Objective:
In this module, you will learn about the tools required and steps to setup development environment to develop a Node.js application and to work with the REPL to work with the console.
 Topics:
•       Install Node.js on Windows
•       Installing in mac os
•       Working in REPL
•       Node JS Console
Hands-On:
•        Node Setup on Dev box and execution of Script using REPL.
 
Module 3 – Node JS Modules
Learning Objective:
In this module, you will know what is a module, function and example. and achieving modularity and separation of concern with the Node JS Modules.
 Topics:
•        Functions
•        Buffer
•        Module
•        Module Types
•        Core Modules
•        Local Modules
•        Module Exports
 
Hands-On:
•        Familiarity with Node modules and its usage.
  
Module 4 – Node Package Manager
Learning Objective:
In this module, you will know what is npm and how to install and update packages.
 Topics:
•       What is NPM?
•       Installing packages globally
•       Updating packages
 
Hands-On:
•        Familiarity with npm and its usage.
Module 5 – Creating Web server
Learning Objective:
In this module, you will learn how to create web server, handling GET, POST,PUT and Delete requests and listening to certain port numbers and handling routing with basic web server.
 
Topics:
•        Creating web server
•        Handling http requests
•        Sending requests
 Hands-On:
•        Familiarity with http module and creation of http web server.
 
Module 6 – File System
Learning Objective:
In this module, you will learn how to use file module, and work with files for different operation like reading, writing, updating files, and the concept of Chunks, buffers, and uploading files synchronously and asynchronously.
 Topics:
•       Fs.read File
•       Writing a File
•       Writing a file asynchronously
•       Opening a file
•       Deleting a file
•       Other IO Operations
Hands-On:
•        Familiarity with file module and different operation with files.
 
Module 7 – Debugging Node JS Application
Learning Objective:
In this module, you will learn how to debug node js application. Debugging is a process
Of tracing the bugs and performance issues to optimize your code.
 
Topics:
•        Core Node JS debugger
 Hands-On:
•        Familiarity with debugger and how to debug node JS application.
 
Module 8 – Events
Learning Objective:
In this module, you will learn events in Node JS, and the significance of the events, writing your own events because Node is event driven framework.
 Topics:
•       Event Emitter class
•       Returning event emitter
•       Inhering events
 Hands-On:
•        Familiarity with events and its usage.
 
Module 9 – Serving Static Resources
Learning Objective:
In this module, you will learn how to serve static html pages to the browser, and serving other file formats and restricting certain files. In this you will to serve static resources with built in middle ware..
 
Topics:
•        Serving static files
•        Working with middle ware
Hands-On:
•        Familiarity with node-static module and fetching static resources.
 
Module 9 – Database connectivity
Learning Objective:
 In this module, you will learn how to connect to SQL Server and perform CRUD operations. It is like ADO.net for MS.NET applications and JDBC for java. We will use different Node JS modules to connect with database.
 Topics:
•       Connection string
•       Configuring
•       creation of tables
•       Working with select command
•       Updating records
•       Deleting records
 
Hands-On:
•        Familiarity with sql module and using SQL query.
 
Module 10 – API Creation
Learning Objective:
 In this module, you will learn how to create an API in node having get, post, put and delete method.
 Topics:
•       API Creation
•       Creation of JSON files
•       Get method to fetch data
•       Working with delete, post and put
 Hands-On:
•        Familiarity with API creation and accessing using postman tool.