MEAN Stack

 

What is MEAN Stack?

The MEAN Stack is a full-stack, JavaScript based framework for developing web applications. MEAN Stands for MongoDB, Express, Angular, Node.

  •        MongoDB – document database
  •        Express (.js) – Node.js web framework
  •        Angular(.js) – a client-side javascript framework
  •        Node (.js) – the premier JavaScript web server

There are 2 main variations to the MEAN Stack. MERN(replacing Angular.js with React.js) and MEVN(replacing Angular.js with Vue.js)

How does the MEAN Stack work?

The MEAN architecture is designed to develop web applications and handle JSON easily.



Angular.js Front End
At the very top of the MEAN stack is Angular.js, the self-styled “Superheroic JavaScript MVW Framework” (MVW stands for “Model View and Whatever”).
Angular.js allows you to extend your HTML tags with metadata in order to create dynamic, interactive web experiences much more powerfully than, building them yourself with static HTML and JavaScript (or jQuery).
Angular has all of the bells and whistles you’d expect from a front-end JavaScript framework, including form validation, localization, and communication with your back-end service. 

Is MEAN a full-stack solution?

Yes, MEAN follows the traditional 3-tier stack pattern, including the display tier (Angular.js), application tier (Express.js and Node.js), and database tier (MongoDB).


Why choose the MEAN stack?

If you’re building a JavaScript application, particularly in Node.js, then you should give MEAN a serious look.

MongoDB stores data in a JSON-like format, the MongoDB Query Language (MQL) is defined in JSON, and its command line interface (CLI) is a JavaScript interpreter. Not only is MongoDB essentially a JavaScript/JSON data store, it’s full of advanced features like indexing and querying deep into JSON documents, has powerful native Node.js drivers, and is designed for horizontal scale-out. It’s even easier to develop apps in the cloud using MongoDB Atlas, the cloud-native database-as-a-service from the creators of MongoDB.

The E and A of MEAN (Express and Angular) are two of the most popular and well-supported JavaScript frameworks for back-end and front-end development, respectively.

·        Express (.js) - Express makes routing and managing HTTP requests and responses super easy, and includes great support for middleware to handle JSON endpoints and form posts.

·        Angular (.js) - Angular is a powerful tool for building dynamic HTML pages that communicate with a back-end server.



Comments