Development environment and best practices

I used to program. It’s been a while. I’m familiar with developing with a team on a network using a revision control system.

Now I’m interested in doing more web development. I’ll be working on several sites that use PHP and MySQL, and that will be hosted on various web hosts. My laptop will be my main work computer. I’ll be developing in Ubuntu running in Virtualbox. I’ll be using XAMPP for Linux (LAMPP), and plan on installing Eclipse (Helios) with appropriate PHP plugins.

I’m interested in learning about the following topics. Can someone point me to some pages or books that contain information on developing for the web?

  • Revision Control for Web Development
  • How to create development, test, and production environments
  • How to develop for multiple sites on your localhost server
  • Deploying changes to test and production environments
  • Backup strategies for production environments
  • Developing solo now, but possibly with a team later

Developing for the web is different than developing standalone apps. I have a lot to learn. In the past, I’ve been pretty lazy; I’ve just coded locally and uploaded files I’ve changed to the server without any revision control or backup. If I’m going to get serious about this, I’d like to move forward with some good practices in place.

I’d appreciate any help in this regard.

> Revision Control for Web Development
http://svnbook.red-bean.com/

> How to develop for multiple sites on your localhost server
Use hostnames (e.g. proj1.localhost, proj2.localhost) or subfolders - it’s as simple as that

> Deploying changes to test and production environments
You could do a checkout from rev-control

Take a look a netbeans php version over eclipse, I found eclipse to be sluggish :goof: