All you want to know about MEAN stack
M-MONGODB -as the database
E-Expressjs -as the web framework
A-Angularjs -as the front-end framework
N-Nodejs -as the server platform
robust, and maintainable production web applications using MongoDB,
Express,AngularJS, and Node.js.
-MEAN is very easy to use with web UI.
-MEAN is integrated with Mongo-express and webmin with file transfer.
-MEAN stack development helps to get started and avoid useless grunt work and common pitfalls,while keeping the application organized.
What is Mongodb?
-MongoDB is an open-source document database and leading NoSQL database.
MongoDB is written in C++. This tutorial will give you great
understanding on MongoDB concepts needed to create and deploy a
highly scalable and performance-oriented database.
-MongoDB is a cross-platform, document oriented database that provides, high
performance, high availability, and easy scalability. MongoDB works
on concept of collection and document.
-MongoDb supports data transfer through JSON format, data transfer from the
web application is easy and economical. JSON also allows easy client
server data transmission.
When not to use MongoDB
-Many to many relationship is very hard to manage in MongoDB so if you are
not clear what exactly want in your Document then it’s very hard to
manage in MongoDB
-MongoDB uses BSON – Binary JSON so it only supports number and string
formats but if you want to store images like Blog data type as in SQL
then its not supported in MongoDB
-MongoDB only supports ACID transactions for a single document.
-Mongodb is a schemaless NoSQL database system. MongoDB saves data in binary
JSON format which makes it easier to pass data between client and
Importance of MongoDB
-Mongo DB is a prudent choice for database system when managing huge tables
with tons of data.
-Unlike any other database, adding a field to Mongo DB is simpler as it does
not require updating the entire table.
-Moreover,it is a no SQL and a document model database, which is extremely
flexible to use in a variety of applications.
-It hence becomes simplified, minimizing the usage of joins.
Read more: Basics of MongoDB
What is Express js?
Express is a framework of Node.js that allows you to use several very useful
and powerful features without having to reinvent the wheel, helps you
organize your application’s routing and use any templating solution
with minimal effort. It also allows for much better organization of
-The Express framework powered by Ruby has been used to build robust
features in web application development.
-It’s cookie handling ability has proved to be favorable in crafting web
pages in web based applications.
-express js is lightweight framework 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
What is Angularjs?
-AngularJS is an open source web application framework. It was originally
developed in 2009 by Misko Hevery and Adam Abrons. It is now
maintained by Google. Its latest version is 1.4.3.
–AngularJS development is used as a structural framework for dynamic web apps. It lets you use HTML
as your template language and lets you extend HTML’s syntax to
express your application’s components clearly and succinctly.
-Angular’s data binding and dependency injection eliminate much of the
code you currently have to write. And it all happens within the
browser, making it an ideal partner with any server technology.
It’s a complete solution for rapid and awesome front end development.
-AngularJS provides developers options to write client side application (using
-Application written in AngularJS is cross-browser compliant. AngularJS
-AngularJS is open source, completely free, and used by thousands of developers
around the world. It is licensed under the Apache License version
Here are the important features of angularjs framework
-Two Way Data-Binding
What is Node js?
based on V8.
-It helps in building highly scalable and concurrent applications
Advantages of using node js
Node.js is fast:
fast the codes execute.
-Moreover,it runs on the Google’s V8 engine, which compiles the
Single Threaded but Highly Scalable:
− Node.js uses a single threaded model with event looping. Event mechanism
helps the server to respond in a non-blocking way and makes the
server highly scalable as opposed to traditional servers which
create limited threads to handle requests.
The ever-growing NPM:
-Being an open-source technology, node.js has a shared repository of
good-to-go tools and modules.
-The number of modules in the Node Package Manager (NPM) has increased
at a considerable pace, just on the verge of overtaking the RoR (Ruby
on Rails) gems.
Node.js will be your ideal choice:
If you’re looking to create real time web apps
–Node will be the best technology for these type of applications. Ruby and
Python can both accommodate these kind of features as well, but
Node.js will do it exceptionally well in terms of performance.
If you’re looking to build APIs
–It’s perfect for handling lots of requests that are I/O driven (e.g.
operations on database) and scales very nicely.
If you want to build streaming applications
-Node.js is what you’re looking for.
Difference between Angularjs and Nodejs
-Angular.js is front end framework. It can be used with any back end like PHP
Chrome’s) runtime. In web development context, it’s like PHP that run
on Apache, Scala with PlayFramework that run on Netty, Ruby on Rails,
In simple words “Angular.js is client side, Node.js is server side,
Difference between Angularjs and Express js
-Express is a module that works with Node.js. It’s basically the heart and
soul of Node.js – Express is classified as middleware. It basically
allows you to handle URLs (also called URL routing)
-Angular is a framework that allows you to better model your data and make it
connect with your views.
In our next blog we will demonstrate how to make REST API using MEAN stack.