Today's topic is Working locally instead of cowboy coding where we will be discussing local web development utilizing tools such as XAMPP MAMP WAMP and other tools like DesktopServer, Vagrant or even Vagrantpress.
Beginners
For beginners Suzette suggests they use DesktopServer because it’s easy to install and you don’t have to ruin your server testing everything out and can test locally.
Shooting from the hip
Cowboy Coding: is when you make live changes to a website everyone can see. If you do anything that might break your site, you’re cowboy coding. You’re pulling the trigger and hoping something doesn’t break.
Local Server
So why use a local server?
Test Environment
When is it necessary to make that test environment? Some sites are very small and don’t get a lot of traffic. So is it necessary to have a testing environment for those sites?
From the local server you can send it to a staging server to test out before then moving on to a full deployment.
Version Control
Is it always important to always have version control to roll back to previous versions?
For “casual” sites, no. They can use something like DropBox and have the “poor man’s” version control. They can learn the ropes and then segue into a more mature solution such as Git or Subversion.
DesktopServer
About DesktopServer
Staging Server
It’s really good to move from a local server to a staging server before deployment. It’s likely there will be issues moving from an Apache server to a server running Nginx. There are also PHP versions that aren’t compatible. MySQL may also cause problems.
You don’t have to go with a company that provides staging, you can create your own with your host via sub domain. If you do this, make sure you block robots or set up a log in page or you might get an angry call from a client asking why your agency staging site ranking higher than their website.
Hosts that provide staging servers:
See acast.com/privacy for privacy and opt-out information.