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.
Course Syllabus - Node JS Training
Structure a Node application in modules
Understand and use the Event Emitter
Understand Buffers, Streams, and Pipes
Build a Web Server in Node and understand how it really works
Use npm and manage node packages
Build a web application and API more easily using Express
Connect to a SQL or Mongo database in Node
Understand how the MEAN stack works
Pre-requisite / Target Audience:
Knowledge in async programming will be added advantage
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.
What is Node JS?
Advantages of Node JS
Traditional Web Server Model
js Process Model
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.
Install Node.js on Windows
Installing in mac os
Working in REPL
Node JS Console
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.
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.
What is NPM
Installing Packages Locally
Adding dependency in package.json
Installing packages globally
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.
Creating web server
Handling http requests
In this module, we will work with files, reading, writing, updating files, and the concept of chunks, buffers, and uploading files synchronously and asynchronously.
Writing a File
Writing a file asynchronously
Opening a file
Deleting a file
Other IO Operations
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.
Core Node JS debugger
Debugging with Visual Studio
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.
Returning event emitter
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.
Working with express
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.
Serving static files
Working with middle ware
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.
Working with select command
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.
Why Template Engine
What is Jade
What is vash
At the end of the course participants will be able to
Develop a web application which involves database operations.
Node JS Training Introduction
Why Node js Training?
Before starting why, here’s the formal definition given on official website.
Just imagine a multi-threaded server that reads file saved on the server and sends it to the requesting browser. Ruby just tell the file system to read the file and return the content. Which slow-down the request-response operation. And here comes the Node.js, in node while the file
system is reading file in server, node uses idle time to handle other pending request. When the file system is done, it tells the node to take resource and send it to browser.
Its improved framework like React Native which let you to make mobile applications. This is a huge advantage now that everything you build will also work as mobile app. Which will surely help you in future if you want to monetize your web pages.
Another fantastic usage of Node.js is chatting system in websites. You can make your own chat system using Node.js.
Career opportunity in Node js