Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Introduction to MEAN Stack

DZone's Guide to

Introduction to MEAN Stack

·
Free Resource

Today JavaScript is developing rapidly, the gaining popularity of MEAN Stack brings with it due to flexibility and ease of web development .

MEAN Stack is a combination of the most dynamic JavaScript based technologies.

·  MongoDB – this is a database that uses JSON style documents and represents data in such a way that JavaScript can interpret it easily. MongoDB is a schema less NoSQL database system. MongoDB saves data in binary JSON format which makes it easier to pass data between client and server.

  • ExpressJS – Express is lightweight web application framework that provides many helpful components and modules that are used to build web applications in Node. It provides a number of robust features for building single and multi-page web application. Express is inspired by the popular Ruby framework, Sinatra.

·  AngularJS – AngularJS is a JavaScript framework developed by Google that architects the complex JavaScript code to modular code along with a data binding UI. It provides awesome features like the two-way data binding. It’s a complete solution for rapid and awesome front end development.

  • Node.js – Node.js is a server side JavaScript execution environment. It’s a platform built on Google Chrome’s V8 JavaScript runtime. It helps in building highly scalable and concurrent applications rapidly.

Tools used to develop MEAN stack

Some of the tools that are used for development with the MEAN Stack are:

  • NPM which is a node package manager that helps install node modules on a per project basis or globally.
  • Bower is a front end package manager developed by Twitter and helps install the front end libraries like AngularJS and Bootstrap. Grunt is a JavaScript task runner.

Why MEAN stack

For one, it lets you write your code entirely in JavaScript, from client to server. This in itself makes MEAN a very lucrative full-stack option for web pros who’ve already invested time learning JavaScript for client-side tasks.

Second, it supports strong design patterns (in particular, MVC or Model/View/Controller) to help guide your architecture. And of course the components of MEAN are all open-source projects, which means the stack is free to use, regularly updating, and very flexible to both use and customize to your needs.

These are some of the advantages of a MEAN stack:

  • Single language is used in the whole application
  • Support for the MVC pattern
  • JSON is used for transferring data
  • Node.js’s huge module library
  • Open source so you can tweak it to your preferences if you’re an experienced user.
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}