Since my web stacks post was one of my better received posts, I decided today to write about one of the stacks I mentioned in that post; the MEAN stack. No the MEAN stack has nothing to do with being unkind nor with statistical averages. It is an acronym made of the first letters of the following four technologies used in the stack; MongoDB, Express.js, Angular.js, Node.js. This article is a quick primer for the non-technical folks on the MEAN stack.
The M in MEAN: MongoDB
New entrants in the market (such as AWS fully managed DocumentDB) are catching up so watch out MongoDB. But the MEAD stack? Doesn’t have the same ring does it? Also, notice that even the headline on the AWS page for DocumentDB says “MongoDB compatible”. Now that is what I call dominance. On to the middle-ware/web server layer.
The E in MEAN: Express.js
For the next next letter in the stack we have Express.js. Express is a web application framework written for Node.js and is distributed using NPM. With Express, developers can write middle ware and application programming interfaces for their web applications. Express have become the standard for writing server side APIs and web servers in the MEAN stack.
Now on to the Front-End layer
The A in MEAN: Angular.js
The N in MEAN: Node.js
We have already spoken a little about Node above but in summary (if the above was Greek to you) is that Node is operating system independent and it is the core upon which the entire MEAN stack is built. if it hand’t been for Node, MEAN stack would not exist. Node can run on Windows servers, Linux servers and even desktop operating systems. I am sure there are implementations on mobile operating systems as well.
Until next time, happy coding.