Camparison Between Mean, Mern & Lamp


mean-vs-mern-vs-lamp


Now a days the traditional approach of application development is no longer sufficient to built complex applications or to fulfill user demands. As a result developers are moving towards web stack. A web stack is a collection of technologies, programming languages or softwares that are used to build a web application. MEAN, MERN & LAMP are some famous web stacks. Let us look at the "Differences Between MEAN, MERN & LAMP Stack Development".

Difference Between Mean, Mern & Lamp



MEAN Stack Web Development

Just knowing basic web technologies is not enough to be a professional web developer. Companies like Uber, Paypal and LinkedIn have already moved to the MEAN stack for developing enterprise class web apps. MEAN stand for MongoDB, ExpressJS, AngularJS and Node. js where in the entire stack - front end (Typescript, Angular), back end (Node.js, Express.js) and database (MongoDB) technologies. MEAN is a JavaScript software stack for building dynamic websites and web applications.

MongoDB : MongoDB is an open source document oriented database written in C++. Data in MongoDB is stored in key-value pairs in JSON format called as documents, which are roughly equivalent to rows in RDBMS. Multiple documents are stored in what is called a collection in MongoDB. A collection is roughly equivalent to a table in RDBMS. MongoDB is considered as schema-less as it can store documents having varying sets of fields with different types of data in each field. MongoDB stores these JSON documents in a binary-encoded format called BSON (Binary JSON) for faster storage and retrieval of data.

AngularJS : Angular is one of the most powerful and performance-efficient JavaScript frameworks to build single-page applications for both web and mobile. The powerful features of Angular allow us to create complex, customizable, modern, responsive and user-friendly web applications. Angular follows component-oriented application design pattern to develop completely reusable and modularized web applications. Popular web platforms like Google Adwords, Google Fiber, Adsense has built their user interfaces using Angular.

Node.JS : Node.js is a JavaScript runtime to build fast scalable network applications. Node.js helps us to use JavaScript in the server side coding. JavaScript is responsible for most of the client side processing in web applications today.

ExpressJS : Express is the most popular framework for creating web applications in Node.js. Express can be defined as fast, minimalist, unopinionated web framework for Node.js. It is lightweight and provides easy connectivity with different databases. Using Express we can handle requests, create views and manage routes.

MERN Stack Web Development

Just knowing basic web technologies is not enough to be a professional web developer. Companies like Instagram, facebook and Netflix have already moved to the MERN stack for developing enterprise class web apps. MERN stands for MongoDB, Express. js, React, and Node where in the entire stack - front end (React, Redux), back end (Node.js, Express.js) and database (MongoDB) technologies.

MongoDB : NoSQL databases have continued to rise in popularity to accommodate the growing demands, namely - increase in volume and type of data, of applications and users. There are several types of NoSQL databases, namely, document-oriented, graph, key-value, and column family store. MongoDB a document-oriented NoSQL database that provides an infrastructure with the capabilities to handle such growing demands. In addition, MongoDB is suitable for heavy read operations.

ExpressJS : Express is the most popular framework for creating web applications in Node.js.Express can be defined as fast, minimalist, unopinionated web framework for Node.js. It is lightweight and provides easy connectivity with different databases. Using Express we can handle requests, create views and manage routes.

ReactJS : React JS is a JavaScript library for creating user interfaces, making development of UI components easy and modular. ReactJS was created by Jordan Walke, a software engineer at Facebook and open sourced to the world by Facebook and Instagram. React JS library helps us to build the user interface of such large applications.

NodeJS : Node.js is an open source JavaScript run-time environment used for building scalable network applications. It helps in developing the server side of the application using JavaScript language. It is used for data-intensive real-time applications.

LAMP Stack Web Development

LAMP stand for Linux, Apache, MySQL, PHP. LAMP Stack Web Development is an open source web development platform that uses Linux as the operating system, Apache is used as a web server, MYSQL is used as a relational database management system and PHP is used as Object-oriented scripting language. Instead of PHP we can also use Perl and Python. If you are using Linux OS then it is called LAMP, if Windows OS then WAMP, if Macintosh OS then MAMP, if Solaris OS then SAMP. As the Platform has 4 layers so that's why it is known as LAMP Stack.

Linux : Linux is a multi user, multi-tasking and open source operating system. Linux acts as an interface between the application software and hardware. You can find Linux operating system mostly in servers, and also in many areas such as smartphones, cars, home appliances etc.
The core functionalities of Linux operating system are handled by kernel, a program that manages the resources of a computer system. User can instruct the operating system to perform a specific task by issuing a command. Users issue these commands through the interface called as shell. Shell is a program that interacts with the kernel by invoking a well-defined set of system calls.

Apache : Apache Web server is free and open-source software developed and maintained by the Apache Software Foundation. The initial release date was April 1995 with released under the terms of Apache License 2.0. Apache HTTP Server is written in C, XML. It is used to processes requests and serves up web assets via HTTP, so that the application is accessible to all who are accessing the public domain on a simple web URL.

MySQL : MySQL is a popular Open Source Relational Database Management System (RDBMS) that helps in developing database for any application in a customized manner. It is the most preferred database solution for many web application development. Social web sites like Twitter, Facebook and YouTube uses MySQL databases for their high volume contents.

PHP : PHP stands for Hypertext Preprocessing is Used to design and develop dynamic and interactive web pages. PHP Created by Rasmus Lerdorf in 1994, Initially called Personal Home Page (PHP) and PHP 3.0 released in June 1998. PHP is server side scripting language – PHP scripts are run at server. PHP is Interpreter based – Scripts are processed every time it is run. There is no compiled output.

Best Web Development Books



1. Pro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node

Author :- Vasan Subramanian
Edition :- 2019 Edition
Published by :- Apress

This book also covers many other complementary tools: React Router, GraphQL, React-Bootstrap, Babel, and Webpack. This new edition will use the latest version of React (React 16) and the latest React Router (React Router 4), which has a significantly different approach to routing compared to React Router 2 which was used in the first edition of the book.
Developers and architects who have prior experience in any web app stack other than the MERN stack will find the book useful to learn about this modern stack. Prior knowledge of JavaScript, HTML, and CSS is required.

2. GETTING MEAN: with MONGO,EXPRESS, ANGLUAR JS, & NODE JS

Author :- Simon Holmes
Edition :- 2015 Edition
Published by :- Dreamtech Press

Getting MEAN teaches you how to develop web applications using the MEAN stack. First, you ll create the skeleton of a static site in Express and Node, and then push it up to a live web server. Next, add a MongoDB database and build an API before using Angular to handle data manipulation and application logic in the browser. Finally you ll add an authentication system to the application, using the whole stack. When you finish, you ll have all the skills you need to build a dynamic data-driven web application.

3. High Availability for the LAMP Stack

Author :- Jason Cannon
Edition :- 2014 Edition
Published by :- Jason Cannon

How to Setup a Highly Available LAMP Stack Even If You've Never Done It before, Don't Know Where to Start, or Don't Want to Spend Weeks Researching How to Do It. This step-by-step guide teaches you everything you need to know in order to eliminate single points of failure for your Linux, Apache, MySQL, and PHP based web applications. Do you wish you could ensure your web site was up all the time and finally enjoy a peaceful night's sleep? Do you want to be able to scale without downtime and handle unexpected surges of traffic?

Best Web Development Courses And Tutorials


1. MERN Stack - React Node from Scratch Building Social Network(Udemy)

2. The complete JavaScript developer: MEAN stack zero-to-hero(Udemy)

3. High Availability for the LAMP Stack, Step-by-Step(Udemy)



Also Check