PHP and Web Development Tools

As a developer, it’s important to load up your toolbox with anything that can ensure you proficiently produce high quality web applications. Today I’ll discuss some of my favorite tools.

Operating System

The three main operating systems that PHP developers use are Windows, Mac OS, and Linux. I’m not going to suggest you use one over the other, each has pros and cons. I will suggest, however, that you currently avoid Microsoft Windows Vista. The reason for your operating system is to allow you to be productive. My personal experience as well as those of colleagues has proven Vista to inhibit productivity. If you prefer to use Microsoft Windows, continue to use XP for the time being.


Most of us don’t have the luxury of developing applications in a homogeneous environment where our target users all use the same browser. Having access to at least Internet Explorer and Firefox is imperative. But that’s not enough. Internet Explorer is split roughly 50% between IE 6 and IE 7 as of the time of this writing. There are a few ways to go about running different versions of IE. My preferred method is by using virtualization. More on that in a minute. There are two questions to ask yourself when deciding what browsers you will support:

  1. What browsers will my target users be using?
  2. How much time & money can I invest into supporting different browsers?


Virtualization is the process of simulating a PC via software on an already running PC. You then install an operating system within your virtual PC. Virtualization is available on all three of the operating systems mentioned above via VMware (Windows, Linux, and Mac) and Parallels (Mac only).

If you’re a Linux or Mac user, I don’t suggest you use wine or CrossOver to run IE. The web application experience crosses over into the desktop space when dealing with browser plug-ins and document downloads such as MS Office docs and PDFs. The experience differs from one platform to the next. Either use virtualization or multiple machines. Dual- or tri- booting isn’t a good option as it takes too long to test.

IDEs — Integrated Development Environments

There are a ton of IDE’s out there. When I first started writing PHP code a decade ago, there was Vi & Emacs… that’s it. Today, we have the luxury of using some really fantastic IDEs. I personally use Zend Studio. I’ve also used Komodo IDE with success. Note that I only use tools that are cross platform and both of those IDEs are available on both Mac and Linux.

There are a few things that you should be looking for when choosing your IDE:

  • PHP/CSS/HTML/Javascript syntax highlighting
  • Code-insight or auto-complete for PHP, Javascript, HTML
  • Server-side debugging: This is important to get you out of the bad habit of using print_r(),var_dump()and echo statements throughout your code. Note that although some products are marketed to be installed on a production server, this is a bad idea. Install a server-side component on your local machine or on dev and staging servers, not production servers.

Browser Add-ons

Firefox has a great variety of add-ons. I’ll simply list the developer-related add-ons that I use:

  • Web Developer Toolbar: This add-on has way too many features to list but here are a couple: view & manipulate cookies, resize browser window, view form information and much much more.
  • Firebug: A Javascript debugger, DOM inspector, and so much more. You need this add-on.
  • ColorZilla: Grab colors from a page you’re viewing either from images or HTML. Allows you to copy the color value to the clipboard in a number of different formats including hex RGB.
  • HTML Validator
  • iMacros: Allows you to record and play back steps you take in browsing a site including form input. This is very handy in testing multi-page order processes. A huge time saver.
  • Live HTTP Headers
  • Google Reader Notifier: Although not a developer tool per-se, staying on top of the latest news in web development is important. This add-on gives you quick access to your Google Reader RSS aggregator.

As we’ve seen, Firefox has some fantastic add-ons for web developers, but did you know that IE has a couple as well? What happens when you have a bug in your Javascript code that only affects IE? Firebug won’t help you here. You can install and use the Microsoft Script Debugger to help you out. Note that there is a newer and better version of this script debugger available on the MS Office 2003 CD and is not installed by default. If memory serves correctly, it’s located in the ‘Office Tools’ section when performing a custom installation. Sorry Vista users, the script debugger crashes and is unusable in this version of Windows.

But wait, there’s more! There is also a web developer toolbar available for IE that has some of the same functionality as the one available for Firefox. You can find the IE web developer toolbar here.

Database Interface

There are some really great tools to help you interact with your DB of choice. They range from command line access, to web applications, to desktop GUIs. My personal favorite is Aqua Data Studio. It’s pricey but well worth it. This cross-platform (Windows, Mac, Linux) application has support for a large variety of RDBMs. The number of features this tool has is astonishing. My favorite features are auto-complete for table and column names, syntax highlighting, schema diff (think dev & production DB servers) and a DB visualizer which creates an exportable graphic representation of your DB tables.

Source Code Versioning

I’ll make this one short and sweet. Use Subversion, CVS or even SourceSafe, but use something, anything!


Many of us don’t spend too much time working with XML, but if you do, get Oxygen XML Editor. It is extremely feature-rich. Oxygen comes in very handy when dealing with web services. If you supply the location of a WSDL document, it will build an example SOAP request for you. This is a huge time saver. Oxygen will also graphically display all services exposed by the WSDL document.

The Future

There are a couple of projects in the works that may change my preferred toolset. One of those projects is the PDT. This is an Eclipse plug-in for PHP development. It’s still very rough around the edges so don’t download it and expect to be very proficient. There is another project that I’m forbidden to speak of at this point. It looks very promising and will combine many of the above mentioned tools into one platform. If you’re a Zend Certified Engineer, I believe you already know what I’m speaking of.


As you see, there is no shortage of tools to help you develop your applications. Find the ones that work the best for you. As a final note, I want to tell you all to not be cheap! As PHP developers, we’re used to getting web servers, operating systems, code, add-ons, etc… for free. Yes, free and open source software runs the web, but not considering the use of commercial tools simply because they are closed source is foolish. The price you pay for a tool is an investment in your livelihood. It will save you time and headaches.