13
Node - An Introduction

Node Introduction

Embed Size (px)

Citation preview

Node - An Introduction

Node

- Why use Node.js - Node JS History- Node course content

Web Usage was Passive

● The web in the 1990s was used before for passive consumption of data, like browsing pictures of puppies

We interact using the internet. Applications like chatting, booking cabs, updates are expected to be real time.

Internet is Interactive

Real Time Apps with HTTP

● HTTP is based on a request response cycle, where server reacts to requests from client

● For chat applications, every chat user will have to poll the server to check for new messages

Welcome to Node● Asynchronous,

JavaScript based language

● Useful in Application that have a lot of IO and less CPU

● Easy to write push application and WebSockets

Evolution of Node● Created by Ryan Dahl in

2009● Sponsored by Joyent● It uses the Google V8

engine internally● Thriving developer

community ● Third party libs like

Express, Async, Socket.IO

Node - Course OverviewIntroduction

- Understand Asynchronous programming- Refresh JavaScript, Event triggers, Callbacks- Deeper dive into how NodeJS works- Manage Files, Processes and Buffers

Node - Course OverviewNetworking● HTTP servers and

Clients● Make TCP and UDP

servers● Use node to create a

simple chat server

Node - Course Overview● Connect to a MySQL

Database● Use Mongoose to

connect to MongoDB● Write to and Read from

Databases

Node - Course OverviewCreate Websites with Express● Use Express to create a

website ● Use EJS templates to

create web layouts

Node - Course OverviewSocket.IO is the de-facto standard library for building WebSockets in Node● Use Socket.IO to create

a chat application

Node Course Overview

- Access to CloudLabs for hands on experience in developing cloud application

- Real Life Project using Node- Certificate at the end of the Course

For more details:www.knowbigdata.com