CMS

Comparison between MEAN and XAMPP

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 is an opinionated fullstack javascript framework –  which simplifies and accelerates web application development.

>MEAN stands for :

  1. 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/][1]

 

  1. 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.

[https://expressjs.com][2]

  1. 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

libraries. [https://angularjs.org/][3]

 

  1. Node,js: As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js uses an event-driven, [non-blocking I/O][4] model that makes it lightweight and efficient.

 

 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][5].

 

  1. 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.

 

  1. 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/][6]

 

  1. 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/][7]

 

  1. 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/][8]

 

  1. 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/][9]

 

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 

 

  1. XAMPP is a very, very mature stack, it’s free, and it takes very little time to get up and running.

 

  1. There is a massive community to help support you should you have any trouble.

 

  1. It’s very easy to install and contains all the tools needed.

 

  1. Provides a rich interface like PHPMyAdmin to manipulate your MySQL database.

 

  1. You can start and stop the whole webserver+database stack with one command.

 

  1. XAMPP is portable so you can carry it around on a thumb drive.

 

  1. Php error reporting is enabled by default, which helps when debugging scripts.

 

 

Recommendation you need to remember.

 

  1. There is no package manager installed by default. You would have to install [`Composer`][10] for PHP dependency management.

 

  1. 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).

 

  1. You need to be familiar with Javascript, Angular, jQuery, Vue.js and other jquery frameworks and libraries as `PHP` works on the server.

 

>Let us discuss pros and cons of **MEAN**:

 

5 Advantages of using node.js

 

  1. Node.js can allow you to use the same language on the backend that you do on the frontend (Javascript).

 

  1. Express is a flexible framework and allows choice of tools up to the developer.

 

  1. NoSQL approach is faster than MySQL.

 

  1. 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.

 

  1. 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

 

  1. In XAMPP, you get access to the most popular CMS engines. WordPress, Drupal, Joomla, etc. all run on PHP/MySQL.

 

  1. MEAN takes more time for Development as compared to PHP because of an emerging user base.

 

  1. XAMPP has a huge user base and the community is actively upgrading it’s existing features or adding new features with every release.

 

  1. 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 . . . 

 

[1]: https://www.mongodb.com/

[2]: https://expressjs.com

[3]: https://angularjs.org/

[4]: https://stackoverflow.com/questions/10570246/what-is-non-blocking-or-asynchronous-i-o-in-node-jshttps://stackoverflow.com/questions/10570246/what-is-non-blocking-or-asynchronous-i-o-in-node-js

[5]: https://www.apachefriends.org/download.html

[6]: https://httpd.apache.org/

[7]: https://www.mysql.com/

[8]: https://www.perl.org/

[9]: http://www.php.net/

[10]: https://getcomposer.org/

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...