MEan
and why it isn't really
But what DOES MEAN STAND FOR?
M

E

A

N

MEAN




{ name: "Mike", presentation: "mean"}
JAVASCRIPT
Mongo DB in action
No schema (unless you want one)
So no more migrations!
Just get some JSON and stick it in.
MONGO DB IN ACTION
It's just JSON

MONGO DB IN ACTION

Node + EXPRESS
Light weight scalable web application + framework
Good for data intensive real time applications
aka - 'javascript rails'
NODE + EXPRESS: THE SETUP

NODE + EXPRESS: THE SETUP

NODE + EXPRESS: THE SETUP




MONGODB SETUP
No migration but we do have to add to our node/express app.
package.json is express' gemfile


MONGODB SETUP
var mongo = require('mongoskin');
var db = mongo.db("mongodb://localhost:27017/mikenode4", {native_parser:true});
app.use(function(req,res,next){
req.db = db;
next();
});
MONGODB IN USE WITH NODE

MONGODB IN USE WITH NODE

ANGULAR
Javascript framework
ANGULAR
Chat app from last week - original HTML

ANGULAR
Chat app from last week - ANGULARIZED! ng is angular command


JQUERY FOR CHAT APP
ANGULAR JS FOR CHAT APP

PLANETS BACKBONE 
PLANETS ANGULAR
PLANETS BACKBONE JS


PLANETS ANGULAR

BACKBONE
Two way data binding
Notepad BACKBONE
180 lines of JS
Templates in separate section in HTML
NotePAD ANGULAR
30 lines of JS
HTML more descriptive
https://github.com/mikemjharris/monggodb_express_angular_node
Full running mean stack application.
Also include standalone, single page HTML angular example - no need for any installation. See the readme.md
deck
By Mike Harris
deck
A look at the Mongo, Ember, Angular, Node stack and comparing it to rails.
- 740