MEAN Stack

What is MEAN.JS?
The term MEAN stack refers to a collection of JavaScript-based technologies used to develop web applications.MEAN.JS is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications using MongoDB, Express, AngularJS, and Node.js. MEAN is a user-friendly stack, suitable for building interactive dynamic websites and applications. To create prototypes for web-based applications, quick and organized methods are offered by mean.
The term MEAN stack refers to a collection of JavaScript-based technologies used to develop web applications.MEAN.JS is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications using MongoDB, Express, AngularJS, and Node.js. MEAN is a user-friendly stack, suitable for building interactive dynamic websites and applications. To create prototypes for web-based applications, quick and organized methods are offered by mean.
    • MongoDB - MongoDB is a schemaless NoSQL database the system used as a backend of the app. 
    • Express - ExpressJS is a minimal and flexible the framework used to build web applications in Node.
    • Angular -  AngularJS is a JavaScript front-end framework developed by Google.
    • NodeJS - Node.js is a server-side JavaScript execution environment.
    MongoDB
    MongoDB is an open-source cross-platform database. It stores data in the key-value pair, using binary data type like JSON. It is a NoSQL database that is document-oriented. MongoDB is an excellent choice for a database system where you need to handle large-sized tables with millions of data. In addition, it is simpler to include a field to Mongo DB because it does not require updating of the whole table. 

    Express
    Express is a mature, scalable, and lightweight platform for server framework. It's built to create single, multi-page, and hybrid web apps. This lightweight system allows use of the Pug Engine to support templates. Express is Nodejs ' de-facto framework and draws strong inspiration from Sinatra, the common Ruby framework.

    Angular
    Angular JS is an open-source JavaScript framework maintained by Google. The aim of this framework is to introduce MVC (Model View Controller) architecture in the browser-based application and that makes the development and testing process easier. The framework helps you to create a smarter web app that supports personalization. AngularJS enables us to use HTML as a template language.  Now we can expand the HTML syntax to describe the application's components.

    Node js
    Node.js allows developers to create web servers and build web applications on it. It's a server-side Javascript execution environment. It uses an event-driven and non-blocking I/O model to makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. It allows developers to create data-intensive real-time apps that run across distributed devices. You can run Node.js runtime on Microsoft Windows, OS X, and Linux. 


    Mean Stack Architecture

    The primary function of Mean Stack Architecture are,
    • Angular JS: Accept requests and view results to user
    • NodeJS: Handle both Clients and Server Requests
    • Express JS: Make requests to Database and return a response
    • MongoDB: Store and retrieve data.

    1. Firstly, the client makes a a request which is processed by the AngularJS
    2. After that, the request moves to NodeJS which will parse the request.
    3. ExpressJs will make calls to MongoDB to get or set data.
    4. MongoDB will retrieve the requested data and return that request to the Express JS
    5. NodeJS returns the request to the client.
    6. At the client-side, AngularJS to display the result fetched from MongoDB.

    Skillsets of Mean Stack developer

    • Mean stack developer can focus on the Front-end and Back-end processes
    • Mean Stack developers should have to work with HTML and CSS.
    • Developer should able to understand programming templates and architecture design guidelines.
    • Developer should familiar with web development, continuous integration, and cloud technologies.
    • Good understanding of DB architecture
    • Knowledge of SDLC and experience developing in an Agile environment
    • Collaborate with the IT team to build strong systems to support business objectives
    • It's a core value for a developer that has experience on Mongo, Express, Angular, Node

    Advantages of Mean Stack
    Here, are some most prominent reasons for using Mean Stack technology
    • Enables the development of a simple open-source framework.
    • that can be used to create stable and maintainable solutions.  
    • Helps in the rapid development of applications.
    • MEAN is free full-stack JavaScript.
    • Use a uniform the language throughout your stack.
    • Uses very low memory footprint/overhead.
    • Helps you to prevent unnecessarily groundwork and keeps your application organized
    • MongoDB is optimized for the cloud.
    • Node.js simplifies the server layer.
    • MEAN makes code isomorphic.

    Disadvantages of Mean Stack

    • MongoDB may be an an ideal choice for small to medium applications. However, it is not the the best choice for large-scale applications.
    • There are no specific general JS coding guidelines.
    • After you've built the the first site using Mean Stack technology, it's very hard to go back to the old method.
    • It provides poor isolation of server from business logic.
    • You could potentially lose records.

    Summary

    • Mean stack means to a set of JavaScript technologies used to develop web applications
    • MongoDB is a free and open-source, cross-platform database.
    • Express is a mature, flexible, lightweight server framework. It's built to create single, multi-page, and hybrid web apps. 
    •  Angular JS is an open source JavaScript framework maintained by google
    •  Node js is a server-side JavaScript execution environment that allows developers to create web servers and build web applications.
    • Node.js helps developers to create web servers and build web applications on it. It's a server-side JavaScript execution environment.
    • Mean Stack Architecture include with MongoDB, Express JS, Angular JS, and Node JS.
    • Full-stack developer should have to work with Front-end and Back-end.
    • MEAN is a user-friendly stack, suitable for designing interactive dynamic websites and applications.
    • For build dynamic websites and applications MEAN is user-friendly and perfect solution.
    • The major disadvantage of MEAN is there are no specific general JS coding guidelines.



    Comments