Web Servers

For several years I’ve used a combination of Microsoft IIS and Apache, which fits in with my belief that you choose the best tool for the job (and rarely does one tool work best across the board).

About a month ago I “needed” to do some maintenance on my personal web server, and I started to notice the number of things that had been installed on it… like two versions of Microsoft SQL Server (why a Microsoft product felt the need to install the compact edition when I already had the full blown edition is beyond me).

As I started to peel  away layer upon layer of unnecessary software I realized that my dependency on IIS was one very simple ASP dot Net script I’d written for a client of mine and adapted for my own use (you could also say I’d written it for my use and adapted it for them).

I started thinking, and realized it would take me about ten minutes to re-write that script in PHP and in doing that I could totally eliminate my personal dependency on IIS and somewhat simplify my life.

In about half an hour (I had to test the script and there was more to uninstall) I had a very clean machine with about 8GB more of disk space, and no IIS… and the exact same functionality (well — I would argue increased functionality since there was far less software that I would have to update and maintain on the machine).

Sure, there are cases where ASP dot Net is a good solution (though honestly I absolutely cannot stand it or the development environment, it seems to me like an environment targeted at mediocre programmers who have no understanding of what they’re doing and an incredible opportunity for security flaws and bugs)… but many times PHP works far better, and for very complex solutions a JSP (Java Servlet / JavaServer Pages) solution would likely work better.

My advice, think through what your (technical) requirements are and consider the options before locking into proprietary solutions.

Originally posted 2010-03-24 02:00:33.