Get MEAN! Node.js and the MEAN stack
-
Upload
nicholas-mcclay -
Category
Technology
-
view
10.773 -
download
2
description
Transcript of Get MEAN! Node.js and the MEAN stack
![Page 1: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/1.jpg)
Get Mean! Node.js and the MEAN stack
![Page 2: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/2.jpg)
NICHOLAS MCCLAY
![Page 3: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/3.jpg)
The original Article
http://blog.mongodb.org/post/49262866911/the-mean-stack-mongodb-expressjs-angularjs-and
![Page 4: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/4.jpg)
What is the MEAN
Stack?
100%100%
JavaScriptJavaScript
100%100%
JavaScriptJavaScript
NoSQL!!!NoSQL!!!
NoSQL!!!NoSQL!!!
On Sale NowOn Sale Now
$0.00!$0.00!On Sale Now
On Sale Now
$0.00!$0.00!
![Page 5: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/5.jpg)
Client
Server
Database
Example Application
![Page 6: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/6.jpg)
Why Go MEAN?
JavaScript all the way downConsistent models across stackConsistent best practices across stackLeverage JavaScript’s popularity
![Page 7: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/7.jpg)
(APPLICATION PLATFORM)
![Page 8: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/8.jpg)
Server-side javascript platform built on V8 engine
What javascript has done for the web browser, Node.js is doing for the backend server
Learn more at: http://nodejs.org/
What it does
![Page 9: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/9.jpg)
Running Node
![Page 10: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/10.jpg)
NodeJS module package manager
There is a module for everything, probably more than one.
Key commands - install, remove, update, search, -g flag for global
https://npmjs.org/
![Page 11: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/11.jpg)
High performance server-side JavaScriptModule loadingAsynchronous IOApplication platform foundation
Node.js And MEAN Stack
![Page 12: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/12.jpg)
(WEB SERVER)
![Page 13: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/13.jpg)
A simple and robust web application framework for Node.js
Gives you everything you would expect to build a modern web server
Middleware, routing, templating, static-files, cookies, mime-types and much much more
Learn more at: http://expressjs.com/
What it does
![Page 14: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/14.jpg)
Running Express
![Page 15: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/15.jpg)
(MANY OTHER NODE FRAMEWORKS)
PIMP YOUR STACK
![Page 16: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/16.jpg)
(THE DATABASE)
![Page 17: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/17.jpg)
A simple and scalable document based NoSQL DB
JSON based model persistence
Flexible Schemas, Query Selectors, Sharding and much much more
Learn more at: http://www.mongodb.org/
What it does
![Page 18: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/18.jpg)
DOCUMENT DATA
![Page 19: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/19.jpg)
Its not SQL!
![Page 21: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/21.jpg)
(MANY OTHER JSON DB OPTIONS)
PIMP YOUR STACK
![Page 22: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/22.jpg)
(CLIENT APPLICATION)
![Page 23: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/23.jpg)
An extensible client-side application framework
A swiss army knife of JavaScript MVW goodness
Data-binding, syncing, templating, components and much, much more
Learn more at: http://angularjs.org/
What it does
![Page 24: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/24.jpg)
Angular Views
![Page 25: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/25.jpg)
Angular Models & Controllers
![Page 26: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/26.jpg)
(OR A MILLION OTHERS)
PIMP YOUR STACK
![Page 27: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/27.jpg)
LET’S GET STARTED!
![Page 29: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/29.jpg)
YEOMAN Generators
https://github.com/chrisenytc/generator-meanis
https://github.com/wlepinski/generator-
meanstack
![Page 30: Get MEAN! Node.js and the MEAN stack](https://reader036.fdocuments.net/reader036/viewer/2022062418/554f4524b4c90572088b55c2/html5/thumbnails/30.jpg)
Thanks! @NickMcClay