This article will cover a few of the techniques and tools used by professional web developers, designers and programmers in their work to test new code and improve their software/websites. Many people don’t know about this, and end up spending much more time on testing (uploading, changing code, troubleshooting) than needed.
This will be very useful to you if you are just starting out in any web development language like PHP, ASP, Javascript and others or if you just have a site that you want to maintain and improve yourself.
Let me start by saying that professionals rarely change and test their code via an FTP client right on their web server. This is because it takes a lot of time to download, edit and re-upload a file via FTP (especially when you’re changing just a line or two of code, or your Internet connection speed is less than stellar) and because they don’t want their visitors to notice any strange things on the website while they are testing the code.
So, what do they do?
They work and test everything locally, which means they have a copy of their website and database in a folder on their computer and they change those files and see the results immediately in any web browser. I’m going to show and explain a few tools used for this purpose in Windows (Linux and Mac OS X are a little different, although you can easily use the tips here for those Operating Systems, too). Read the rest of this entry »