Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Wordpress Development

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?

1 Answer

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.