SlideShare ist ein Scribd-Unternehmen logo
1 von 36
MEAN STACK
TEAM MEMBERS
Hariharan.G - 17MX105
Kalaiyarasan.D -17MX106
Keerthana.R.A -17MX107
Kirubhanandhan.R -17MX108
AGENDA
• Introduction to MEAN
• What is MEAN Stack?
• Why MEAN?
• Architecture of MEAN Stack
• What is MongoDB?
• What is ExpressJS?
• What is AngularJS?
• What is NodeJS?
• Benefits of Mean Stack Website Development
• Conclusion
Introduction to MEAN
• MEAN was coined by Valeri Karpov,
a MongoDB developer in 2013.
• MEAN is an acronym for Mongo DB, Express JS,
Angular JS and Node. Js.
MongoDB – the database
ExpressJS – the web framework
AngularJS – the front-end framework
NodeJS – the web server
What is MEAN Stack?
• MEAN is a collection of JavaScript-based
technologies
• MEAN is a full-stack development toolkit
• It is used to develop fast and robust web
application
• MEAN represents a major shift in architecture
from relational databases to NoSQL and from
server-side
• JSON is the primary format to exchange data
Why MEAN?
• Single language is used throughout the application
• Helps avoid unnecessary ground work and keep our
application organized
• Comes with a very powerful suite of testing tool
• Create a simple open source solution that is used to
build robust and maintainable solution
• Helps in rapid development of applications
• From client to server to database, MEAN is full stack
JavaScript
Architecture of MEAN Stack
MongoDB
• Has been around since 2007
• A simple and scalable document based NoSQL
database
• Use JSON-style documents with dynamic schemas
• Mongoose provides “Elegant MongoDB object
modeling for node.js”
• It provides a balance between the speed of pure
document databases and the power of relational
databases
Why NoSQL?
• Non-relational or distributed database system.
• Dynamic schema
• Horizontally scalable
• Unstructured query language
• Best suited for hierarchical data storage
• Examples: MongoDB, BigTable, Redis,
Cassandra, Hbase, Neo4j, CouchDB
SQL Schema Statements
• CREATE TABLE people
( user_id NOT NULL
AUTO_INCREMENT,
Varchar(30), age Number,
status char(1), PRIMARY KEY
(user_id) )
• ALTER TABLE people ADD
join_date DATETIME
• ALTER TABLE people DROP
COLUMN join_date
• DROP TABLE people
MongoDB Schema Statements
• db.createCollection("people")
db.people.insertOne(
{ user_id: "abc123",
age: 55, status: "A" } )
• db.people.updateMany ( {
$set: { join_date: new Date() } }
)
• db.people.updateMany( { }, {
$unset: { "join_date": "" } } )
• db.people.drop()
Sample code
Consider the representation of a person in XML and it's JSON
• XML:
<person>
<first-name>John</first-name>
<last-name>Carter</last-name>
</person>
• JSON:
{
"firstname":"John",
"lastname":"Carter“
}
Features of MongoDB
• Fast, Iterative Development
• Flexible Data Model
• JSON everywhere
• Lightweight
• Scalable architecture
• No more SQL statements
• Replication and high availability
AngularJS
• It was created in 2009 and develop client side
application
• Uses Google’s open-source V8 JavaScript
engine at its core
• It is a Single Page Applications (SPA)
• Directives are integrated in HTML directly
• Built highly interactive, responsive and
dynamic web application
• Angular brings the Model-View-Controller
(MVC) architecture
Two Way Data-binding
Features of AngularJS
• Great for Frontend development
SPA
Mobile Apps
• Great Browser support (> IE8)
• Easily Testable components
• Less load on the server
• Directives, which extend HTML attributes.
NodeJS
• Developed by Ryan Dahl in 2009
• Node.js is a server-side platform built on
Chrome's JavaScript runtime for easily
building scalable network applications.
• Uses event-driven, callback function, non-
blocking I/O model
• NPM- node ecosystem
• Single threaded-no deadlock
Blocking I/O vs. Non-Blocking I/O
NodeJS Single Tread Architecture
Features of NodeJS
• Speed and efficient
• Built on the top of chrome’s engine
• Can easily handle 10k concurrency connections
• Fast development cycles
• Unified database queries
• Perfect for real time applications
• No buffering
• Appropriate for android device
Who uses Node.js?
ExpressJS
• Express was first released in 2009
• Most popular framework for Node.js
• Minimal, flexible and extensible web
application framework
• Building single and multi-page, and hybrid
web applications.
Architecture of ExpressJS
Features of ExpressJS
• Allows and responds to HTTP requests
• Defines routes
• Makes usage of Node JS even easier
• Easy implement of REST API
• Dynamic rendering of HTML pages
• Helper functions for Web Applications
• Using Templating Engines
Summing it up..
• M is for MongoDB
• E is for ExpressJs
• A is for AngularJS
• N is for NodeJS
• Each piece serves a different purpose.
• MongoDB is the database engine, NodeJS is the
web server and server-side API, ExpressJS is the
routing engine, and AngularJS is the front-end UI
framework.
Why MEAN?
• But here's where it gets cool. MongoDB stores
its data in JSON, NodeJS is JavaScript, and
AngularJS is JavaScript;
• this means that there is literally no translation
is required between how the data is stored
and how it's manipulated.
• This also means there is literally only 1
language for the entire stack: JavaScript.
MEAN Vs Others
• The server-side technology is very heavy and
relies on web servers. Even the lightest server-
side technology, ASP.NET is still heavier than
NodeJS.
• To get into a platform like Visual Studio, you need
to invest as much as $13K.
• The typical .NET stack is not homogeneous in
nature. The data alone, and the transitions it
must go through from database engine, to data
model, to view model, to JSON, and back again
requires lot of translations.
Benefits Of MEAN Stack
• Fully an open source and free web standards
• Supports the MVC (Model View Controller)
architecture.
• Not just startups, big players are also moving to
Node.js: Wal-Mart, PayPal, Yahoo, Netflix,
Uber, LinkedIn.
Survey Results
Conclusion
• MEAN is a full stack, based on JavaScript, web
application framework.
• If you require a fast, easy, simple way to create a
modern, responsive, dynamic web site then
MEAN would be a great solution.
References
• https://insights.stackoverflow.com/survey/20
17
• https://www.airpair.com/mean-
stack/posts/developers-moving-dotnet-to-
mean
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.jsRob O'Doherty
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS Ganesh Kondal
 
Front end architecture
Front end architectureFront end architecture
Front end architectureRemus Langu
 
Arquitetura Node com NestJS
Arquitetura Node com NestJSArquitetura Node com NestJS
Arquitetura Node com NestJSVanessa Me Tonini
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPTAmit Baghel
 
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.jsPractical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.jsasync_io
 
The Enterprise Case for Node.js
The Enterprise Case for Node.jsThe Enterprise Case for Node.js
The Enterprise Case for Node.jsNodejsFoundation
 
React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentationBojan Golubović
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET CoreAvanade Nederland
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation洪 鹏发
 

Was ist angesagt? (20)

Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
MERN PPT
MERN PPTMERN PPT
MERN PPT
 
Angular
AngularAngular
Angular
 
Node js
Node jsNode js
Node js
 
WEB DEVELOPMENT USING REACT JS
 WEB DEVELOPMENT USING REACT JS WEB DEVELOPMENT USING REACT JS
WEB DEVELOPMENT USING REACT JS
 
Angular
AngularAngular
Angular
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS
 
AngularJS
AngularJSAngularJS
AngularJS
 
Front end architecture
Front end architectureFront end architecture
Front end architecture
 
Arquitetura Node com NestJS
Arquitetura Node com NestJSArquitetura Node com NestJS
Arquitetura Node com NestJS
 
React introduction
React introductionReact introduction
React introduction
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Introduction to NodeJS
Introduction to NodeJSIntroduction to NodeJS
Introduction to NodeJS
 
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.jsPractical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.js
 
The Enterprise Case for Node.js
The Enterprise Case for Node.jsThe Enterprise Case for Node.js
The Enterprise Case for Node.js
 
NodeJS for Beginner
NodeJS for BeginnerNodeJS for Beginner
NodeJS for Beginner
 
Angular
AngularAngular
Angular
 
React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentation
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET Core
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
 

Ähnlich wie MEAN Stack - Introduction & Advantages - Why should you switch to MEAN stack development?

web development with mern stack in power point
web development with mern stack in power pointweb development with mern stack in power point
web development with mern stack in power pointRAMKUMARRIT20
 
Final year presentation topicssssss in 1
Final year presentation topicssssss in 1Final year presentation topicssssss in 1
Final year presentation topicssssss in 1RAMKUMARRIT20
 
Introduction to MERN Stack
Introduction to MERN StackIntroduction to MERN Stack
Introduction to MERN StackSurya937648
 
recenttrendtechnology-2112N18132657.pptx
recenttrendtechnology-2112N18132657.pptxrecenttrendtechnology-2112N18132657.pptx
recenttrendtechnology-2112N18132657.pptxAMITKUMAR938671
 
Overview of MEAN Stack development
Overview of MEAN Stack developmentOverview of MEAN Stack development
Overview of MEAN Stack developmentCETPA
 
Meanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraMeanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraKishore Chandra
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN StackWeb Applications Development with MEAN Stack
Web Applications Development with MEAN StackShailendra Chauhan
 
What is Mean Stack Development ?
What is Mean Stack Development ?What is Mean Stack Development ?
What is Mean Stack Development ?Balajihope
 
Node js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share pptsNode js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share pptsHemaSenthil5
 
Top 10 frameworks of node js
Top 10 frameworks of node jsTop 10 frameworks of node js
Top 10 frameworks of node jsHabilelabs
 
Building Modern Web Apps with MEAN Stack
Building Modern Web Apps with MEAN StackBuilding Modern Web Apps with MEAN Stack
Building Modern Web Apps with MEAN StackSuresh Patidar
 
An introduction to Node.js
An introduction to Node.jsAn introduction to Node.js
An introduction to Node.jsKasey McCurdy
 
When to Use Node.js Development Services.pptx
When to Use Node.js Development Services.pptxWhen to Use Node.js Development Services.pptx
When to Use Node.js Development Services.pptxSeasia Infotech
 
Mern stack vs mean stack
Mern stack vs mean stackMern stack vs mean stack
Mern stack vs mean stackwebskittersacademy
 

Ähnlich wie MEAN Stack - Introduction & Advantages - Why should you switch to MEAN stack development? (20)

web development with mern stack in power point
web development with mern stack in power pointweb development with mern stack in power point
web development with mern stack in power point
 
Final year presentation topicssssss in 1
Final year presentation topicssssss in 1Final year presentation topicssssss in 1
Final year presentation topicssssss in 1
 
Introduction to MERN Stack
Introduction to MERN StackIntroduction to MERN Stack
Introduction to MERN Stack
 
recenttrendtechnology-2112N18132657.pptx
recenttrendtechnology-2112N18132657.pptxrecenttrendtechnology-2112N18132657.pptx
recenttrendtechnology-2112N18132657.pptx
 
Overview of MEAN Stack development
Overview of MEAN Stack developmentOverview of MEAN Stack development
Overview of MEAN Stack development
 
Mean stack
Mean stackMean stack
Mean stack
 
Meanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraMeanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore Chandra
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN StackWeb Applications Development with MEAN Stack
Web Applications Development with MEAN Stack
 
MEAN Stack
MEAN StackMEAN Stack
MEAN Stack
 
What is Mean Stack Development ?
What is Mean Stack Development ?What is Mean Stack Development ?
What is Mean Stack Development ?
 
Mean Stack
Mean StackMean Stack
Mean Stack
 
Node js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share pptsNode js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share ppts
 
Top 10 frameworks of node js
Top 10 frameworks of node jsTop 10 frameworks of node js
Top 10 frameworks of node js
 
Knonex
KnonexKnonex
Knonex
 
Building Modern Web Apps with MEAN Stack
Building Modern Web Apps with MEAN StackBuilding Modern Web Apps with MEAN Stack
Building Modern Web Apps with MEAN Stack
 
An introduction to Node.js
An introduction to Node.jsAn introduction to Node.js
An introduction to Node.js
 
Oracle application container cloud back end integration using node final
Oracle application container cloud back end integration using node finalOracle application container cloud back end integration using node final
Oracle application container cloud back end integration using node final
 
When to Use Node.js Development Services.pptx
When to Use Node.js Development Services.pptxWhen to Use Node.js Development Services.pptx
When to Use Node.js Development Services.pptx
 
Mern stack vs mean stack
Mern stack vs mean stackMern stack vs mean stack
Mern stack vs mean stack
 
Intro to Node.js
Intro to Node.jsIntro to Node.js
Intro to Node.js
 

Mehr von Hariharan Ganesan

Introduction to Social Networking
Introduction to Social NetworkingIntroduction to Social Networking
Introduction to Social NetworkingHariharan Ganesan
 
GFS & HDFS Introduction
GFS & HDFS IntroductionGFS & HDFS Introduction
GFS & HDFS IntroductionHariharan Ganesan
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonHariharan Ganesan
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsHariharan Ganesan
 
Letter writing - Sample formats
Letter writing - Sample formatsLetter writing - Sample formats
Letter writing - Sample formatsHariharan Ganesan
 
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'Hariharan Ganesan
 
Alan turing - Life History & how he broke enigma code?
Alan turing - Life History & how he broke enigma code?Alan turing - Life History & how he broke enigma code?
Alan turing - Life History & how he broke enigma code?Hariharan Ganesan
 
Wearable computers - Types, Applications & Future?
Wearable computers - Types, Applications & Future?Wearable computers - Types, Applications & Future?
Wearable computers - Types, Applications & Future?Hariharan Ganesan
 
Security threats in Android OS + App Permissions
Security threats in Android OS + App PermissionsSecurity threats in Android OS + App Permissions
Security threats in Android OS + App PermissionsHariharan Ganesan
 

Mehr von Hariharan Ganesan (9)

Introduction to Social Networking
Introduction to Social NetworkingIntroduction to Social Networking
Introduction to Social Networking
 
GFS & HDFS Introduction
GFS & HDFS IntroductionGFS & HDFS Introduction
GFS & HDFS Introduction
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - Comparison
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
 
Letter writing - Sample formats
Letter writing - Sample formatsLetter writing - Sample formats
Letter writing - Sample formats
 
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'Probability & Statistics - Bitcoin Vs Ethereum using 'R'
Probability & Statistics - Bitcoin Vs Ethereum using 'R'
 
Alan turing - Life History & how he broke enigma code?
Alan turing - Life History & how he broke enigma code?Alan turing - Life History & how he broke enigma code?
Alan turing - Life History & how he broke enigma code?
 
Wearable computers - Types, Applications & Future?
Wearable computers - Types, Applications & Future?Wearable computers - Types, Applications & Future?
Wearable computers - Types, Applications & Future?
 
Security threats in Android OS + App Permissions
Security threats in Android OS + App PermissionsSecurity threats in Android OS + App Permissions
Security threats in Android OS + App Permissions
 

KĂźrzlich hochgeladen

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationShrmpro
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburgmasabamasaba
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 

KĂźrzlich hochgeladen (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 

MEAN Stack - Introduction & Advantages - Why should you switch to MEAN stack development?

  • 1. MEAN STACK TEAM MEMBERS Hariharan.G - 17MX105 Kalaiyarasan.D -17MX106 Keerthana.R.A -17MX107 Kirubhanandhan.R -17MX108
  • 2. AGENDA • Introduction to MEAN • What is MEAN Stack? • Why MEAN? • Architecture of MEAN Stack • What is MongoDB? • What is ExpressJS? • What is AngularJS? • What is NodeJS? • Benefits of Mean Stack Website Development • Conclusion
  • 3. Introduction to MEAN • MEAN was coined by Valeri Karpov, a MongoDB developer in 2013. • MEAN is an acronym for Mongo DB, Express JS, Angular JS and Node. Js. MongoDB – the database ExpressJS – the web framework AngularJS – the front-end framework NodeJS – the web server
  • 4. What is MEAN Stack? • MEAN is a collection of JavaScript-based technologies • MEAN is a full-stack development toolkit • It is used to develop fast and robust web application • MEAN represents a major shift in architecture from relational databases to NoSQL and from server-side • JSON is the primary format to exchange data
  • 5. Why MEAN? • Single language is used throughout the application • Helps avoid unnecessary ground work and keep our application organized • Comes with a very powerful suite of testing tool • Create a simple open source solution that is used to build robust and maintainable solution • Helps in rapid development of applications • From client to server to database, MEAN is full stack JavaScript
  • 7. MongoDB • Has been around since 2007 • A simple and scalable document based NoSQL database • Use JSON-style documents with dynamic schemas • Mongoose provides “Elegant MongoDB object modeling for node.js” • It provides a balance between the speed of pure document databases and the power of relational databases
  • 8. Why NoSQL? • Non-relational or distributed database system. • Dynamic schema • Horizontally scalable • Unstructured query language • Best suited for hierarchical data storage • Examples: MongoDB, BigTable, Redis, Cassandra, Hbase, Neo4j, CouchDB
  • 9. SQL Schema Statements • CREATE TABLE people ( user_id NOT NULL AUTO_INCREMENT, Varchar(30), age Number, status char(1), PRIMARY KEY (user_id) ) • ALTER TABLE people ADD join_date DATETIME • ALTER TABLE people DROP COLUMN join_date • DROP TABLE people MongoDB Schema Statements • db.createCollection("people") db.people.insertOne( { user_id: "abc123", age: 55, status: "A" } ) • db.people.updateMany ( { $set: { join_date: new Date() } } ) • db.people.updateMany( { }, { $unset: { "join_date": "" } } ) • db.people.drop()
  • 10. Sample code Consider the representation of a person in XML and it's JSON • XML: <person> <first-name>John</first-name> <last-name>Carter</last-name> </person> • JSON: { "firstname":"John", "lastname":"Carter“ }
  • 11. Features of MongoDB • Fast, Iterative Development • Flexible Data Model • JSON everywhere • Lightweight • Scalable architecture • No more SQL statements • Replication and high availability
  • 12. AngularJS • It was created in 2009 and develop client side application • Uses Google’s open-source V8 JavaScript engine at its core • It is a Single Page Applications (SPA) • Directives are integrated in HTML directly • Built highly interactive, responsive and dynamic web application
  • 13. • Angular brings the Model-View-Controller (MVC) architecture
  • 15. Features of AngularJS • Great for Frontend development SPA Mobile Apps • Great Browser support (> IE8) • Easily Testable components • Less load on the server • Directives, which extend HTML attributes.
  • 16. NodeJS • Developed by Ryan Dahl in 2009 • Node.js is a server-side platform built on Chrome's JavaScript runtime for easily building scalable network applications. • Uses event-driven, callback function, non- blocking I/O model • NPM- node ecosystem • Single threaded-no deadlock
  • 17. Blocking I/O vs. Non-Blocking I/O
  • 18. NodeJS Single Tread Architecture
  • 19. Features of NodeJS • Speed and efficient • Built on the top of chrome’s engine • Can easily handle 10k concurrency connections • Fast development cycles • Unified database queries • Perfect for real time applications • No buffering • Appropriate for android device
  • 21. ExpressJS • Express was first released in 2009 • Most popular framework for Node.js • Minimal, flexible and extensible web application framework • Building single and multi-page, and hybrid web applications.
  • 23. Features of ExpressJS • Allows and responds to HTTP requests • Defines routes • Makes usage of Node JS even easier • Easy implement of REST API • Dynamic rendering of HTML pages • Helper functions for Web Applications • Using Templating Engines
  • 24. Summing it up.. • M is for MongoDB • E is for ExpressJs • A is for AngularJS • N is for NodeJS • Each piece serves a different purpose. • MongoDB is the database engine, NodeJS is the web server and server-side API, ExpressJS is the routing engine, and AngularJS is the front-end UI framework.
  • 25. Why MEAN? • But here's where it gets cool. MongoDB stores its data in JSON, NodeJS is JavaScript, and AngularJS is JavaScript; • this means that there is literally no translation is required between how the data is stored and how it's manipulated. • This also means there is literally only 1 language for the entire stack: JavaScript.
  • 26. MEAN Vs Others • The server-side technology is very heavy and relies on web servers. Even the lightest server- side technology, ASP.NET is still heavier than NodeJS. • To get into a platform like Visual Studio, you need to invest as much as $13K. • The typical .NET stack is not homogeneous in nature. The data alone, and the transitions it must go through from database engine, to data model, to view model, to JSON, and back again requires lot of translations.
  • 27. Benefits Of MEAN Stack • Fully an open source and free web standards • Supports the MVC (Model View Controller) architecture. • Not just startups, big players are also moving to Node.js: Wal-Mart, PayPal, Yahoo, Netflix, Uber, LinkedIn.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Conclusion • MEAN is a full stack, based on JavaScript, web application framework. • If you require a fast, easy, simple way to create a modern, responsive, dynamic web site then MEAN would be a great solution.