SlideShare a Scribd company logo
l
3 Things Everyone Knows About Node JS That You Don't
• Node.js was created by Ryan Dahl
starting in 2009.
• Node.js is server side javascript.
• Runs on Google's V8 JavaScript
Engine.
• Node js is free.
What is node js?
• Node.js is an open source, cross-
platform runtime environment for
developing server-side and
networking applications.
• Node.js applications are written in
JavaScript, and can be run within the
Node.js runtime on OS X, Microsoft
Windows, and Linux.
V8 is Google’s open source high-
performance JavaScript engine, written in
C++ and used in Google Chrome, the open
source browser from Google, and in Node.js,
among others.
What is V8 engine?
NPM is a package manager for
the JavaScript programming language. It is
the default package manager for the
JavaScript runtime environment Node.js.
What is npm?
Node Package Manager (NPM) provides
two main functionalities −
1. Online repositories for node.js
packages/modules which are searchable
on search.nodejs.org
2. Command line utility to install Node.js
packages, do version management and
dependency management of Node.js
packages.
Express js a light-weight web application
framework to help organize your web
application into an MVC architecture on the
server side. You can use a variety of choices
for your templating language (like EJS, Jade,
and Dust.js).
What is express js?
You can then use a database
like MongoDB with Mongoose (for modeling)
to provide a backend for your Node.js
application. Express.js basically helps you
manage everything, from routes, to handling
requests and views.
Socket.IO enables real-time bidirectional
event-based communication. This module is
good for creation of chatting based
applications.
What is socket.io?
3 Things Everyone Knows About Node JS That You Don't
Installation Steps
You Can download setup for link
https://nodejs.org/en/download/
Double click on the downloaded .msi file to start the
installation
In the next screen Accept the license agreement
and click on the Next button.
Accept the default components and click on the
next button.
Click the Finish button to complete the installation.
• Open Command line interface (cmd)
• Type for node : node –v
V6.7.0
• Type for npm version : npm -v
3.10.8
Check node js installed
Open Command line interface (cmd)
• C://mkdir your_project_name
• C://cd your_project_name
Use the npm init command to create
a package.json file for your application.
•C:// your_project_name/ npm init
How to make project
Open Command line interface (cmd)
• C://mkdir your_project_name
• C://cd your_project_name
Use the npm init command to create
a package.json file for your application.
•C:// your_project_name/ npm init
How to make project
Project informations
• Name
• Version
• Dependencies
• Licence
• Main file
Etc...
File package.json…..
● Non Blocking I/O
● V8 Javascript Engine
● Single Thread with Event Loop
● 40,025 modules
● Windows, Linux, Mac
● 1 Language for Frontend and Backend
● Active community
Why use node.js ?
1. It's fast
2. It can handle tons of concurrent requests
3. It's written in JavaScript (which means you
can use the same code server side and
client side)
Node Js VS Apache
Platform Number of request per
second
PHP ( via Apache) 3187,27
Static ( via Apache ) 2966,51
Node.js 5569,30
Node.js Event Loop
Success Stories…..
● Another Web framework
● For beginner
● Multi-thread
Node.js is not……
Example :: Read data from file and show data
Blocking vs Non-Blocking……
● https://npmjs.org/
● # of modules = 1,21,943
Node.js Modules…..
$npm install <module name>
Install module…..
• var http = require(‘http’);
• var fs = require(‘fs’);
• var express = require(‘express’);
Using module…..
l
www.f5buddy.com
contact@f5buddy.com

More Related Content

PPTX
Node js for beginners
PPT
Node js
PDF
Best node js course
PDF
Introduction to node js - From "hello world" to deploying on azure
PPTX
Node js introduction
PPTX
Nodejs getting started
PPTX
Node js Introduction
PDF
Node js (runtime environment + js library) platform
Node js for beginners
Node js
Best node js course
Introduction to node js - From "hello world" to deploying on azure
Node js introduction
Nodejs getting started
Node js Introduction
Node js (runtime environment + js library) platform

What's hot (20)

PDF
An Introduction of Node Package Manager (NPM)
PPTX
Node js training (1)
PDF
PPTX
Introduction to node.js
PPTX
Basic Concept of Node.js & NPM
PDF
Node JS Crash Course
PDF
PDF
Fundamental of Node.JS - Internship Presentation - Week7
PPT
PDF
Nodejs presentation
PPTX
A slightly advanced introduction to node.js
PPTX
Node js Global Packages
PDF
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
PPTX
Nodejs basics
PPT
Node.js an introduction
PPTX
Introduction to Node js
PDF
Use Node.js to create a REST API
PDF
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
PPTX
Introduction to Node js
PDF
Introduction to Node.js
An Introduction of Node Package Manager (NPM)
Node js training (1)
Introduction to node.js
Basic Concept of Node.js & NPM
Node JS Crash Course
Fundamental of Node.JS - Internship Presentation - Week7
Nodejs presentation
A slightly advanced introduction to node.js
Node js Global Packages
JavaScript as a Server side language (NodeJS): JSConf 2011, Dhaka
Nodejs basics
Node.js an introduction
Introduction to Node js
Use Node.js to create a REST API
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Introduction to Node js
Introduction to Node.js
Ad

Similar to 3 Things Everyone Knows About Node JS That You Don't (20)

PPTX
Kalp Corporate Node JS Perfect Guide
PDF
Node, express & sails
PDF
Node JS - A brief overview on building real-time web applications
PPTX
Node js crash course session 1
PDF
🚀 Node.js Simplified – A Visual Guide for Beginners!
PPTX
Node js meetup
DOCX
unit 2 of Full stack web development subject
PPT
Node.js Basics
PPT
detailed explanation for the node js nodejs-part1-181125103807.ppt
PPTX
Node.js Test
PDF
Node.js for beginner
PPTX
Introduction to Nodejs.pptx for b.tech computer science engineering data science
PPTX
Nodejs
PPTX
NodeJS Presentation
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
PPTX
PDF
Node intro
PDF
Steps to Install NPM and Node.js on Windows and MAC
Kalp Corporate Node JS Perfect Guide
Node, express & sails
Node JS - A brief overview on building real-time web applications
Node js crash course session 1
🚀 Node.js Simplified – A Visual Guide for Beginners!
Node js meetup
unit 2 of Full stack web development subject
Node.js Basics
detailed explanation for the node js nodejs-part1-181125103807.ppt
Node.js Test
Node.js for beginner
Introduction to Nodejs.pptx for b.tech computer science engineering data science
Nodejs
NodeJS Presentation
Server Side Web Development Unit 1 of Nodejs.pptx
Node intro
Steps to Install NPM and Node.js on Windows and MAC
Ad

Recently uploaded (20)

PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
Internet___Basics___Styled_ presentation
DOCX
Unit-3 cyber security network security of internet system
PPTX
Introduction to Information and Communication Technology
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
522797556-Unit-2-Temperature-measurement-1-1.pptx
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Introuction about WHO-FIC in ICD-10.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Paper PDF World Game (s) Great Redesign.pdf
Cloud-Scale Log Monitoring _ Datadog.pdf
Sims 4 Historia para lo sims 4 para jugar
Unit-1 introduction to cyber security discuss about how to secure a system
SAP Ariba Sourcing PPT for learning material
Internet___Basics___Styled_ presentation
Unit-3 cyber security network security of internet system
Introduction to Information and Communication Technology
presentation_pfe-universite-molay-seltan.pptx
PptxGenJS_Demo_Chart_20250317130215833.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Tenda Login Guide: Access Your Router in 5 Easy Steps
The New Creative Director: How AI Tools for Social Media Content Creation Are...
QR Codes Qr codecodecodecodecocodedecodecode

3 Things Everyone Knows About Node JS That You Don't

  • 1. l
  • 3. • Node.js was created by Ryan Dahl starting in 2009. • Node.js is server side javascript. • Runs on Google's V8 JavaScript Engine. • Node js is free. What is node js?
  • 4. • Node.js is an open source, cross- platform runtime environment for developing server-side and networking applications. • Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.
  • 5. V8 is Google’s open source high- performance JavaScript engine, written in C++ and used in Google Chrome, the open source browser from Google, and in Node.js, among others. What is V8 engine?
  • 6. NPM is a package manager for the JavaScript programming language. It is the default package manager for the JavaScript runtime environment Node.js. What is npm?
  • 7. Node Package Manager (NPM) provides two main functionalities − 1. Online repositories for node.js packages/modules which are searchable on search.nodejs.org 2. Command line utility to install Node.js packages, do version management and dependency management of Node.js packages.
  • 8. Express js a light-weight web application framework to help organize your web application into an MVC architecture on the server side. You can use a variety of choices for your templating language (like EJS, Jade, and Dust.js). What is express js?
  • 9. You can then use a database like MongoDB with Mongoose (for modeling) to provide a backend for your Node.js application. Express.js basically helps you manage everything, from routes, to handling requests and views.
  • 10. Socket.IO enables real-time bidirectional event-based communication. This module is good for creation of chatting based applications. What is socket.io?
  • 12. Installation Steps You Can download setup for link https://nodejs.org/en/download/
  • 13. Double click on the downloaded .msi file to start the installation
  • 14. In the next screen Accept the license agreement and click on the Next button.
  • 15. Accept the default components and click on the next button.
  • 16. Click the Finish button to complete the installation.
  • 17. • Open Command line interface (cmd) • Type for node : node –v V6.7.0 • Type for npm version : npm -v 3.10.8 Check node js installed
  • 18. Open Command line interface (cmd) • C://mkdir your_project_name • C://cd your_project_name Use the npm init command to create a package.json file for your application. •C:// your_project_name/ npm init How to make project
  • 19. Open Command line interface (cmd) • C://mkdir your_project_name • C://cd your_project_name Use the npm init command to create a package.json file for your application. •C:// your_project_name/ npm init How to make project
  • 20. Project informations • Name • Version • Dependencies • Licence • Main file Etc... File package.json…..
  • 21. ● Non Blocking I/O ● V8 Javascript Engine ● Single Thread with Event Loop ● 40,025 modules ● Windows, Linux, Mac ● 1 Language for Frontend and Backend ● Active community Why use node.js ?
  • 22. 1. It's fast 2. It can handle tons of concurrent requests 3. It's written in JavaScript (which means you can use the same code server side and client side) Node Js VS Apache Platform Number of request per second PHP ( via Apache) 3187,27 Static ( via Apache ) 2966,51 Node.js 5569,30
  • 25. ● Another Web framework ● For beginner ● Multi-thread Node.js is not……
  • 26. Example :: Read data from file and show data Blocking vs Non-Blocking……
  • 27. ● https://npmjs.org/ ● # of modules = 1,21,943 Node.js Modules…..
  • 28. $npm install <module name> Install module…..
  • 29. • var http = require(‘http’); • var fs = require(‘fs’); • var express = require(‘express’); Using module…..