MEAN Stack(explained)

MEAN Stack(explained):




M- Mongo DB, database manager which implements NOSQL architecture.
E-Express , framework which supports or used to host  Node.js projects .
A-Angular, another robust framework for building web applications.
N-Node, this is a runtime environment for running sever side web applications.

Features:

  1.          Let the developer to write the entire code in JavaScript from client side to server side.
  2.          The data is stored in JSON format , so transfer of data becomes very easy .
  3.          A wide range of Node Plug-ins are available for various functionality.
  4.          Follows MVC architecture


Mean Architecture:



MEAN Stack Architecture Explanation:
  1. When client makes any request it is firstly processed by the AngularJS. AngularJS is a client side language in JavaScript.
  2. After that the Request enters in phase 2 which is NodeJS. NodeJS is a server side language in JavaScript.
  3. After that Request enter in the phase 3 which is ExpressJs it make request to the database.
  4. After that MongoDB retrieve the data and return the response to the ExpressJs.
  5. Then ExpressJs return response to the NodeJS and then NodeJS return it to the AngularJS to display the result.


Advantages of using No SQL databases over traditional server:

  • Support for non structured data. This allows ability to change over time.
  • There are no JOINS required instead they have embedded documents. All reference  details is clubbed in the same document and retrieved in a single transaction.
  • High level of performance can be achieved as the load can be shared across clusters.
  • Sharding is the process  of partitioning the database into multiple clusters.
  • Massive Write performance
  • Fast key-value access: indexing possible
  • CAP: provide slider capability on the CAP triangle

Comments