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:
- Let the developer to write the entire code in JavaScript from client side to server side.
- The data is stored in JSON format , so transfer of data becomes very easy .
- A wide range of Node Plug-ins are available for various functionality.
- Follows MVC architecture
Mean
Architecture:
MEAN Stack
Architecture Explanation:
- When client makes any request it is firstly processed by the AngularJS. AngularJS is a client side language in JavaScript.
- After that the Request enters in phase 2 which is NodeJS. NodeJS is a server side language in JavaScript.
- After that Request enter in the phase 3 which is ExpressJs it make request to the database.
- After that MongoDB retrieve the data and return the response to the ExpressJs.
- 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
Post a Comment