Wednesday, February 22, 2012

WAMP and MAMP - simple local sandboxes

I've been developing PHP applications on Linux systems for many years (primarily on Ubuntu).  But one issue I always ran into was that I wanted to be able to test the application's database schema in a local environment for quick prototyping.

If you are using a Windows machine (running Windows XP or greater), use WAMP (Windows Apache MySQL PHP) .  If you are using a Macintosh (Mac OSX) machine, use MAMP (Mac Apache MySQL PHP).

Both of these tools pretty much do the same thing on their respective platform; they give you a completely self-contained test environment (sandbox) that you can use to test your application's functionality and database schema without requiring an internet connection, and without having to tamper with any web server settings you've already set up on the primary machine.

In addition because you are not running a test environment in a linux Virtual Image (like VMWare Fusion or Parallels), the performance is generally faster.

No comments:

Post a Comment