Skip to main content

Introduction to MEAN Stack


MEAN stands for Mongo, Express, Angular and Node. In the world of modern software, we typically deal with frontend and backend. MEAN Stack includes both technologies for both sides frontend and backend.

Mongo


Mongo is a cross-platform document-oriented database. Meaning is not like more traditional SQL database. Which is where NoSQL term comes from, with that means Mongo DB Store JSON-like documents with dynamic schemas making it better and faster for some applications.Companies with large scale deployments of Mongo DB includes Adobe, eBay, LinkedIn and much more. There is no database we can call as the best. It depends on the type of the system. Mongo DB is one in many options. Mongo DB is good for developers who is familiar with JavaScript and JSON and also easy to start learning.

Express


Express or ExpresJS is Node JS web application framework. It's the server framework for NodeJS. It allows quick development of robust web APIs by providing the thin and performance focus layer on top of Node. It's simple and fast and allow you to keep using all your original Node features.

In other words, it is simply fast and a lot of to keep using all the original node features and it is very popular. Think of the twitter application, requesting a twitter feed for today. That weather API colour meets to form the client app through the twitter weather API, which gives us the wrong feed data which then get presented by the client app specialised to make a weather API just like that.

Angular


Angular is the first and only front end component of the mean stack. It’s an open source web application framework mainly maintained by google. It allows us to make dynamic web applications which are different than static web pages we often see. Think of something like Gmail that has a single page with dynamic content reload and modified by pressing buttons which are a lot more like a mobile application than a traditional website. In other words, it gives us the behaviour we expect from a mobile app but in a browser web app. At the time of this writing Angular two is still being developed is in a released candidate stage. So we will be using angular one. 

Node


Node is an open source cross-platform runtime environment for developing server-side web applications. Developers can write then javascript code which gets interrupted by google via javascript engine. same engine used in the chrome browser, writing the javascript on both the front end and back end that allows for the code and library we use. As well as a unified environment which is running feature in many developers. The node also has an event-driven architecture capable of asynchronous IO. If you come from more traditional programming setting this might be bit strange to you at first but you soon realised the power of improvising for creating web applications 


Comments

Post a Comment

Popular posts from this blog

Getting Started with Git & GittHub

Creating a Git Project Git is a version control system that keeps track of the files in a project. In order to use git, we start by identifying a folder as a git repository. we do it by running init command in the folder. Before running the git command go to your project folder and create two files called file1.txt and file2.txt and add some sample text to it and save the file. Now open up the git command line in the project folder and type the following command. An easy way to is by right clicking anywhere inside your project folder and click git bash here. $ git init Checking Status Now we created a git repository. Now we can check the status of our repository by typing git status in the git terminal. $ git status You can see there are two files in red which called as untracked files. This is because we still didn't add any file to our git repository. Adding files to Git repository To add files to your git repository by simp...

What is an API?

What is an API? The definitions given by WIKIPEDIA - set of   Classes   definitions, protocols, and tools for building   application software. HowStuffWorks- set of programming instructions and standards for accessing a web based software application or web tool. Quora - A contract provided by one piece of computer software to another. If I was to answer that question I will simply say that API is an interface that hires the details of an implementation. For example, the interface retain on a computer has a power button. This is one function of the interface computer manufacture gives us. APIs are usually used for three things. They are used for Performing tasks. For example, we may use tutor’s API to search with reach from Sanfransico.  Retrieving data.  We may use face . -force to achieve receivers friend list.  Manipulating data.  For example, we use android API to add a new contact. What is a web API? A web API...