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

Slides:



Advertisements
Similar presentations
Tornado Web and MongoDB An Introduction to AsyncMongo MongoBoston John C. Zablocki Development Manager, HealthcareSource Organizer, Beantown.
Advertisements

Internet of Things with Intel Edison Web controller
N ODE.J S S ERVER S IDE J AVASCRIPT Diana Roiswati ( ) Ahmad Syafii ( ) Asri Taraqiadiyu ( )
© 2014 IBM Corporation Empowering the IBM ecosystem Introduction to Developing applications using node.js on Bluemix IBM Ecosystem Development Instructors.
Jerry Neal. Agenda ➢ About Node ➢ Modules ➢ Node Architecture ➢ NPM ➢ FAQ ➢ Other Awesome Modules! get ready to node, this session is hands on!
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
 A JavaScript runtime environment running Google Chrome’s V8 engine ◦ a.k.a. a server-side solution for JS ◦ Compiles JS, making it really fast  Runs.
Written by Matthew Shelley for Professor Wei Shi.
ASP.NET vNEXT & development tools Marco De
Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.
Node.js - What is Node.js? -
Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a.
Zz SOCKET.IO going real time with Arnout Kazemier
Stacey Mulcahy | Technical Evangelist Rami Sayar | Technical Evangelist.
Node.Js 1. 2 Contents About Node.Js Web requirement latest trends Introduction Simple web server creation in Node.Js Dynamic Web pages Dynamic web page.
Stacey Mulcahy | Technical Evangelist Rami Sayar | Technical Evangelist.
Node.JS introduction. What is Node.JS? v8 JavaScript runtime Event driven Non-blocking standard libraries Most APIs speak streams Provides a package manager.
Learn Nodejs by Building 10 projects. What is Nodejs  An Open source, Cross platform, Event Based and Non-blocking framework used to develop server side.
Introduction to Node.js® Jitendra Kumar Patel Saturday, January 31, 2015.
1 Cutting Edge FE technologies for complex product August 6, 2015.
Profound.js: The future of open source development on IBM i
2nd year Computer Science & Engineer
Fundamental of Databases
Introduction to MEAN (JavaScript Full Stack Development)
NodeJS and MEAN cs6320.
Web Technologies Computing Science Thompson Rivers University
NodeJS.
Node.Js Server Side Javascript
Physics validation database
Angular 4 + TypeScript Getting Started
The Server-side JavaScript
Node.js Express Web Applications
CSE 775 – Distributed Objects Submitted by: Arpit Kothari
NodeJS and MEAN Prof. L. Grewe.
Node.Js online Training at GoLogica.
Hybrid Mobile Applications
Build Better Apps with MEAN.
Cross platform automated appium testing - A Primer
Node.js talking to PROGRESS
CMPE 280 Web UI Design and Development January 30 Class Meeting
Node.Js Server Side Javascript
Microsoft Build /8/2018 3:30 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
2017, Fall Pusan National University Ki-Joune Li
CS 174: Server-Side Web Programming January 29 Class Meeting
NodeJS coding basics L. Grewe.
CMPE 280 Web UI Design and Development January 30 Class Meeting
03 | Building a Backend with Socket.IO and Mongo
Nathan Totten Technical Evangelist Windows Azure
Web Programming Language
Database Software.
Cordova & Cordova Plugin Installation and Management
CMPE 280 Web UI Design and Development January 29 Class Meeting
Web Programming Language
INTRODUCTION TO By Stepan Vardanyan.
Week 01 Node.js Week 01
Lecture 12: The Fetch Api and AJAx
Week 02 Node.js Week 02
Web Technologies Computing Science Thompson Rivers University
UFCEUS-20-2 Web Programming
Introduction.
Introduce to Angular 6 Present by: Võ Văn Hào
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Web Application Development Using PHP
CMPE 280 Web UI Design and Development August 27 Class Meeting
Presentation transcript:

l

Node.js was created by Ryan Dahl starting in 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.package managerJavaScriptNode.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.orgsearch.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).EJSJadeDust.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.MongoDBMongoose

Socket.IO enables real-time bidirectional event-based communication. This module is good for creation of chatting based applications. What is socket.io?

Installation Steps You Can download setup for link

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 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 PlatformNumber of request per second PHP ( via Apache)3187,27 Static ( via Apache )2966,51 Node.js5569,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……

● ● # of modules = 1,21,943 Node.js Modules…..

$npm install Install module…..

var http = require(‘http’); var fs = require(‘fs’); var express = require(‘express’); Using module…..

l