0% found this document useful (0 votes)
3 views59 pages

Understanding Node.js and Its Architecture

The document discusses Node.js, its runtime environment, and its architecture, emphasizing its non-blocking nature and various modules. It explores different types of applications that can be built with Node.js and provides examples of using various modules such as path, os, fs, and http. Additionally, it touches on event handling and the use of EventEmitter in Node.js.

Uploaded by

chavanharshal581
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)
3 views59 pages

Understanding Node.js and Its Architecture

The document discusses Node.js, its runtime environment, and its architecture, emphasizing its non-blocking nature and various modules. It explores different types of applications that can be built with Node.js and provides examples of using various modules such as path, os, fs, and http. Additionally, it touches on event handling and the use of EventEmitter in Node.js.

Uploaded by

chavanharshal581
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

What is Node JS?

What is Runtime Environment?


What is Runtime Environment?
What is Runtime Environment?
What is Node JS?
What is Node JS?
Different Types of Applications
Different Types of Applications
What is special about node?
What is special about node?
Restaurant scenareo

Waiter
Architecture of Node

Waiter
Blocking Architecture

Waiter
Node Architecture

Waiter
Node Architecture

Waiter
Node Architecture

Waiter
Work with Node
Work with Node

Waiter
Work with Node

Waiter
Work with Node

Waiter
Work with Node
Work with Node - Output
Work with Node – Is there window object?
Work with Node – We get exception
Wrong
Node has modules
Node has modules
Node has modules
Node has modules
Node has modules
Node has modules
Node has modules – code wrapped in function
Node has modules – using path module
Node has modules – using path module
Node has modules – using os module
Node has modules – using fs module
Node has modules – using event module
Node has modules – using http module
Node has modules – using EventEmitter
Node has modules – using handle event
Node has modules – handle event
Node has modules – handle event
Node has modules – using http module output
Node has modules – using Events from logger
Node has modules – using Events from logger
Node has modules – using Events from logger
Node has modules – using Events from logger

Wrong
Node has modules – using Events from logger
Node has modules – using Events from logger outrput
Node has modules – using HTTP module
Node has modules – using HTTP module
Node has modules – using HTTP module
Node has modules – using HTTP module
Node has modules – using HTTP module
Node has modules – using HTTP module

You might also like