Node JS Syllabus
Course Objectives
v Understand the JavaScript and technical concepts behind Node JS
v Structure a Node application in modules
v Understand and use the Event Emitter
v Understand Buffers, Streams, and Pipes
v Build a Web Server in Node and understand how it really works
v Use npm and manage node packages
v Build a web application and API more easily using Express
v Connect to a SQL or Mongo database in Node
v Understand how the MEAN stack works
Pre-requisite / Target Audience:
v Basic Knowledge of JavaScript and OOPS
v Knowledge in async programming will be added advantage
Module 1:- Introduction to Node JS
In this module, you 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.
v Introduction
v What is Node JS?
v Advantages of Node JS
v Traditional Web Server Model
v Node.js Process Model
Module 2:- Setup Dev Environment
In this chapter, 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.
v Install Node.js on Windows / MacOs
v Working in REPL
v Node JS Console
Module 3:- Node JS Modules
In this chapter, you will know what is a module, functions and examples. And achieving
modularity and separation of concern with the NodeJS Modules.
v Functions
v Buffer
v Module
v Module Types
v Core Modules
v Local Modules
v Module.Exports
Module 4:- Node Package Mananger
This deals with working with npm to install and update packages and Updating your
package to the NPM and managing and updating your current Packages.
v What is NPM
v Installing Packages Locally
v Adding dependency in package.json
v Installing packages globally
v Updating packages
Module 5:- Creating Web server
In this chapter we will learn creating web server, hadling GET, POST,PUT and Delete
requests and listening to certain port numbers and handling routing with basic web server.
v Creating web server
v Handling http requests
v Sending requests
Module 6:- File System
In this module, we will work with files, reading, writing, updating files, and the concept
of chunks, buffers, and uploading files synchronously and asynchronously.
v Fs.readFile
v Writing a File
v Writing a file asynchronously
v Opening a file
v Deleting a file
v Other IO Operations
Module 7:- Debugging Node JS Application
In this chapter you will learn how to debug node js application. Debugging is a process of
tracing the bugs and performance issues to optimize your code.
v Core Node JS debugger
v Debugging with Visual Studio
Module 8:- Events
In this chapter you work with the events in Node JS, and the significance of the events,
writing your own events because Node is event driven framework.
v EventEmitter class
v Returning event emitter
v Inhering events
Module 9:- Express.JS
In this chapter you will learn how to use express framework to create web applications.
Express is the most popular framework to build efficient web applications with minimum
coding.
v Configuring routes
v Working with express
Module 10:- Serving Static Resources
In this chapter 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.
v Serving static files
v Working with middle ware
Module 11:- Database connectivity
In this chapter 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.
v Connection string
v Configuring
v Working with select command
v Updating records
v Deleting records
Module 12:- Template Engines
In this chapter you learn how use template engines to perform 2 way databinding and
appending dynamic data to the webpage and different view engines and their sytax.
v Why Template Engine
v What is Jade
v What is vash
v Example