Dev vs Prod Environment in Wordpress?


Where do we begin?

When ever you start working on WordPress development it is essential for you setting up a dev environment for ourselves so that we can work locally. In order to explain what that means lets ask ourselves two new question.

Logical Questions:

-What is dev environment?

-What does working locally mean?

Lets start with dev environment.

Dev or Development Environment:

Dev or Development environment is a separate copy of your site that is usually configured so that only owner or Developer of website can see it. Dev environment is private safe sandbox/playground and no one from general public can see you working progress website.

Prod or Production Environment:

While on the other side opposite of dev environment is prod or production environment. It is your real website that the entire world can see. It is refer as live or production environment. So in the past you might have purchased Domain Name like “websitename.com” or ”websitename.org” and also might have purchased web hosting plan and used WordPress to create a website. In the industry we refers that live environment.

Now lets answer other question.

What does working locally mean?

Local is the opposite of cloud. Local refers to the your personal physical computer. Now I want to explain two things

-Your Computer

-Server

Your Computer:

We can install WordPress on our personal computers that allow us to install WordPress even without internet connection. It is not real/live website because no one can see it. Only you can view the website and WordPress files because it is in your personal computer. In short process of working from your personal computer refer as working locally.

Server:

Server live a thousand mile away from you. The files that make up a website usually live on a server that web host company maintain. Web host company lives the computer on 24/7 so the people can access your website from any where any time. That why WordPress or website usually lives on server not on our personal computer.

Beyond this we cannot just put WordPress any where on desktop and working on this. WordPress need an environment with following three things.

1. Php

2. Apache ( NGINX)

3. Mysql (Maria DB)

Our computer need to have these things in order for WordPress to run. Luckily, these three things are 100% free. And there are lots of different tools out there and they will automatically install all three of them for us. All of the tools are listed below.

XAMPP

MAMP

Bitnami WordPress

and many more. These all 100% free and do the same thing. How to install XAMPP

Post a Comment

0 Comments