Wednesday, 16 July 2014

MEAN (MongoDB,EmberJS,AngularJS&NodeJS)

MEAN Framework STack

MEAN stands for

  • M stands for Mongo DB
  • E stands for Express JS
  • A stands for Angular JS
  • N stands for Node JS


Node JS provides the Server Platform for this stack. 
Mongo DB provides the backend data store(No SQL Database). 
Express provides the Server-side Framework. 
Angular JS provides the Client-side Rramework.

Main advantages of this MEAN Stack is

  • Single language for UI to Backend i.e. Java Script
  • Single Object Type on all layers i.e. JSON. That means Angular JS supports JSON, Express JS Supports JSON and Mondo DB also support same JSON object to store data.
  • Easy to test from UI to Server Logic

Pre-requisites:

a) Basics of HTML5,CSS 3 and Java Script
b) JSON
c) Install Node
d) Install Mongo DB

MEAN Stack Framework Architecture:




Here we write UI Logic by using Angular JS, Server side logic in Express JS, Data store in Mongo DB and Node JS provides server platform.


Mongo DB:
  • No SQL Scalable Database 
  • Document-based Database
  • Supports JSON-like data store

Express JS
  • Server-side Web Framework for Node JS

Node JS
  • Runs on Google's V8 Engine

Angular JS
  • MVC UI Framework
  • Two-way data binding
  • Cross-Component DI(Dependency Injection)
  • Developed by Google