SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxGetting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxIlesh Mistry
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS Ganesh Kondal
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN StackWeb Applications Development with MEAN Stack
Web Applications Development with MEAN StackShailendra Chauhan
 
FULL stack -> MEAN stack
FULL stack -> MEAN stackFULL stack -> MEAN stack
FULL stack -> MEAN stackAshok Raj
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.jsVikash Singh
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners Varun Raj
 
ReactJS presentation
ReactJS presentationReactJS presentation
ReactJS presentationThanh Tuong
 
Introduction to node.js
Introduction to node.jsIntroduction to node.js
Introduction to node.jsDinesh U
 
Mean full stack development
Mean full stack developmentMean full stack development
Mean full stack developmentScott Lee
 
Mean Stack - An Overview
Mean Stack - An OverviewMean Stack - An Overview
Mean Stack - An OverviewNaveen Pete
 
Introduction to Node js
Introduction to Node jsIntroduction to Node js
Introduction to Node jsAkshay Mathur
 

Mais procurados (20)

Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptxGetting started with Next.js - IM Tech Meetup - Oct 2022.pptx
Getting started with Next.js - IM Tech Meetup - Oct 2022.pptx
 
WEB DEVELOPMENT USING REACT JS
 WEB DEVELOPMENT USING REACT JS WEB DEVELOPMENT USING REACT JS
WEB DEVELOPMENT USING REACT JS
 
NodeJS - Server Side JS
NodeJS - Server Side JS NodeJS - Server Side JS
NodeJS - Server Side JS
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN StackWeb Applications Development with MEAN Stack
Web Applications Development with MEAN Stack
 
FULL stack -> MEAN stack
FULL stack -> MEAN stackFULL stack -> MEAN stack
FULL stack -> MEAN stack
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners
 
ReactJS presentation
ReactJS presentationReactJS presentation
ReactJS presentation
 
Nodejs
NodejsNodejs
Nodejs
 
Introduction to node.js
Introduction to node.jsIntroduction to node.js
Introduction to node.js
 
Nodejs vatsal shah
Nodejs vatsal shahNodejs vatsal shah
Nodejs vatsal shah
 
React JS part 1
React JS part 1React JS part 1
React JS part 1
 
Mean full stack development
Mean full stack developmentMean full stack development
Mean full stack development
 
Node js
Node jsNode js
Node js
 
Mean Stack - An Overview
Mean Stack - An OverviewMean Stack - An Overview
Mean Stack - An Overview
 
ReactJS presentation.pptx
ReactJS presentation.pptxReactJS presentation.pptx
ReactJS presentation.pptx
 
Introduction to Node js
Introduction to Node jsIntroduction to Node js
Introduction to Node js
 
NEXT.JS
NEXT.JSNEXT.JS
NEXT.JS
 
React js
React jsReact js
React js
 
Reactjs
ReactjsReactjs
Reactjs
 

Semelhante a 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
 
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
 
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A PrimerNode.js In The Enterprise - A Primer
Node.js In The Enterprise - A PrimerNaveen S.R
 

Semelhante a 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
 
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
 
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A PrimerNode.js In The Enterprise - A Primer
Node.js In The Enterprise - A Primer
 

Mais de Hariharan Ganesan

Introduction to Social Networking
Introduction to Social NetworkingIntroduction to Social Networking
Introduction to Social NetworkingHariharan 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
 

Mais de 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
 

Último

%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%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
 
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
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%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
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%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
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 

Último (20)

%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%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
 
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-...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%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
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%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
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 

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.