Let us discuss the major changes between the most popular stacks `MEAN` and `XAMPP`.
If you do not have an idea about them let us discuss both of them.
>MEAN stands for :
- MongoDB: MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB
works on the concept of collection and document.[https://www.mongodb.com/]
- Express.js: Express is a minimal and flexible Node.js web application framework that provides a robust set of features for the web and mobile applications.
- Angular.js: AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other
XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the
Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. It comes as a
package installer. You can get it [here].
- Cross Platform(X): In computing, cross-platform software (also multi-platform software or platform-independent software) is computer software that is
implemented on multiple computing platforms. For example, a cross-platform application may run on Microsoft Windows on the x86
architecture, Linux on the x86 architecture and macOS on either the PowerPC or x86-based Apple Macintosh systems.
- Apache: The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems
including UNIX and Windows. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services
in sync with the current HTTP standards. [https://httpd.apache.org/]
- MySQL: MySQL is the most popular Open Source Relational SQL Database Management System. MySQL is developed, marketed and supported by MySQL AB, which is a Swedish company.[https://www.mysql.com/]
- Perl: Perl is a programming language developed by Larry Wall, especially designed for text processing. It stands for Practical Extraction and Report
Language. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.[https://www.perl.org/]
- PHP: PHP is a widely-used open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.PHP is basically used for developing web based software applications.[http://www.php.net/]
Okay. So we are familiar with the basics of **MEAN** and **XAMPP** stack.
Let us discuss pros and cons of **XAMPP**:
7 Advantages of using the platform XAMPP
- XAMPP is a very, very mature stack, it’s free, and it takes very little time to get up and running.
- There is a massive community to help support you should you have any trouble.
- It’s very easy to install and contains all the tools needed.
- Provides a rich interface like PHPMyAdmin to manipulate your MySQL database.
- You can start and stop the whole webserver+database stack with one command.
- XAMPP is portable so you can carry it around on a thumb drive.
- Php error reporting is enabled by default, which helps when debugging scripts.
Recommendation you need to remember.
- There is no package manager installed by default. You would have to install [`Composer`] for PHP dependency management.
- You should be familiar with `Apache` if you need to change the `PORT` from default `PORT` **80**(In case you have to install Skype or similar application).
>Let us discuss pros and cons of **MEAN**:
5 Advantages of using node.js
- Express is a flexible framework and allows choice of tools up to the developer.
- NoSQL approach is faster than MySQL.
- NPM or Node Package Manager is an excellent dependency and package management system which can help you keep a track of your dependencies
and manage them.
- If you have a flexible schema, this is ideal for a document store like MongoDB. This is difficult to implement in a performant manner in RDBMS.
4 Things to remember XAMPP and MEAN
- In XAMPP, you get access to the most popular CMS engines. WordPress, Drupal, Joomla, etc. all run on PHP/MySQL.
- MEAN takes more time for Development as compared to PHP because of an emerging user base.
- XAMPP has a huge user base and the community is actively upgrading it’s existing features or adding new features with every release.
- MySQL is well-recognized for its high performance, flexibility, reliable data protection, high availability, and management ease unlike MongoDB.
Resources you are interested to read more . . .