Rating 4.25 out of 5 (2 ratings in Udemy)
What you'll learn- Students will learn all Node JS concepts with line by line visualize coding explanation and real time application project.
DescriptionHello Guys, Now I'll give a quick intro about Node.js
Node JS Introduction
Node.js is an open source server environment.
Node.js is not a programming language itself. It is a platform which runs JavaScript on server side
Node.js = Runtime Environment + JavaScript Library
Its runs on various platforms …
Rating 4.25 out of 5 (2 ratings in Udemy)
What you'll learn- Students will learn all Node JS concepts with line by line visualize coding explanation and real time application project.
DescriptionHello Guys, Now I'll give a quick intro about Node.js
Node JS Introduction
Node.js is an open source server environment.
Node.js is not a programming language itself. It is a platform which runs JavaScript on server side
Node.js = Runtime Environment + JavaScript Library
Its runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
Node.js has built-in libraries to handle web requests and responses. So, we don’t need a separate web server or other dependencies.
Why we want to learn Node.js & How its work ?
Extremely fast: Node.js is built on Google Chrome's V8 JavaScript Engine, its used for converting javascript code to machine code faster
I/O Non Blocking and Asynchronous : All APIs of Node.js library are asynchronous i.e. non-blocking. So a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call. It is also a reason that it is very fast.
Single threaded: Node.js follows a single threaded model with event looping. Node.js uses a single threaded program and the same program can provide service to a much larger number of requests than traditional servers like Apache HTTP Server.
No buffering: Node.js cuts down the overall processing time while uploading audio and video files. Node.js applications never buffer any data. These applications simply output the data in chunks.
Difference Between PHP and Node.js
How PHP or ASP handles a file request
A web server sends the task to the computer's file system and its waits untill when the file system opens and reads the file then it returns the content to the client.
When the task completed then only its ready to handle the next request.
How Node.js handles a file request
A web server sends the task to the computer file system then immediately its ready to handle the next request. Node.js eliminates the waiting, and simply continues with the next request.
When the file system has opened and read the file, the server returns the content to the client.
Node.js can generate dynamic page content
Node.js can create, open, read, write, add,modify, delete, and close files on the server and database.
Node.js doesn’t support CPU intensive work its only work on I/O intensive.
In this course you will learn all the key concepts of Node.js. This course will helpful for you to develope a backend application using Nodejs. Following topics are covered in this course.
Introduction
How Nodejs Work
Single Thread vs Multiple Thread
PHP vs NodeJS
Git & GitHub Tutorial
Nodejs, Npm and Visual Studio Code Installation
Nodejs Modules
Nodejs Built-in Modules
How HTTP Works?
Nodejs HTTP Module
Nodejs File System Module
Web Application Architecture
How Web Server Works?
Nodejs URL Module
Send Mail Using Nodejs
Upload Files and Send Html Form
Nodejs + MySQL
MongoDB Installation and Environmetal Variable Setup
Nodejs + MongoDB
RESTful API
JSON
Express JS Installation
CRUD Application