Welcome to the Treehouse Community
Looking to learn something new?
Why are we doing all the hard work of downloading XAMPP and then transferring it to a live server instead of just installing WordPress on our web hosting site directly?
Is it develop locally? If it is, why are we transferring it to a live server?
The reason we develop locally first is that as a developer you have a secure and controlled environment to work in. It is extremely bad practice to code a live site. By doing so you negate using GIT, when you make an error your site will go down, and if you are building an online store, for example, when you crash their site, it can be that the company is loosing thousands of dollars per second because you crashed the site by live coding. You need an environment where you can safely make errors, and to unit test that you have coded. Once we see that would code is solid, then we push it to a live server.