The first step to configure a local development environment is to install a local web server on your computer. This will transform your computer into a system capable of displaying web pages and performing all tasks related to rendering a WordPress website locally.
Having a local web server has many benefits, as follows:
- It provides a quick response to the frequent page refreshes that are made as plugin code is written, tested, and refined, since all information is processed locally
- It removes the need to constantly upload new plugin file versions to a remote web server to validate code changes
- It allows development to take place when no internet connection is available (for example, when traveling on an airplane)
- It offers a worry-free programming environment, where you cannot bring down a live website with a programming error or an infinite loop
There are many free packages available online that contain all of the web server components necessary to run...