0% found this document useful (0 votes)
9 views4 pages

1 Introduction To Node

Uploaded by

feret82429
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

1 Introduction To Node

Uploaded by

feret82429
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

What is node.js?

 Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript


engine.
 Node.js is a JavaScript running on the server.

Built on Chrome’s V8 JavaScript Engine.

Node.js = Runtime Environment + JavaScript Library

History Of Nodejs

 In 2009 an idea came in the mind of Ryan Dahl(Google Engineer)


that why not run JavaScript outside browser, so he took V8 Engine
and embedded in a C++ Program and called it Node.exe later on
became Nodejs.

Js Server

 In 1995 Netscape written a program called Netscape Enterprise


Server which allowed Developer to run JavaScript at server side.
Why do we use node?

 Node js mostly used for API


 So we can connect the same database with Web App, Mobile App.
 Node is easy to understand who know JavaScript.
 Node is Super-fast for APIs.
 With node and JavaScript, you can become full Stack Developer.

JavaScript & Node are the Same?

 JavaScript and Node js Code Syntax is Same


 If you know JavaScript you can easily understand Node
 But both are not exactly the same
 You can not connect JavaScript to DB
 Node can connect with DB
 Node js run on the server side
 JavaScript is run on the browser

What can node.js do?

 Node.js can generate dynamic page content.


 Node.js can create, open, read, write, delete, and close files on the
server.
 Node.js can collect form data.
 Node.js can add, delete, modify data in your database.
What is node.js file?

 Node.js files contain tasks that will be executed on certain events


 A typical event is someone trying to access a port on the server
 Node.js files must be initiated on the server before having any effect
 Node.js files have extension ".js"

Download Node.js
 nodeJs
 Visual Studio

You might also like