Saturday, October 18, 2008

Building PHP Projects with Phing

Now that I have NetBeans, Zend and XAMPP installed and configured (see this article), I moved on to find a build system for my project. I have used Ant for years and as luck would have it, there is an equivalent for PHP called Phing. The need for such a utility is multifold: document generation, unit testing, packaging your project for distribution, etc.

I decided to go ahead and install Phing using the version of Pear that came with XAMPP. I thought this approach would make it easier to keep my development environment synchronized. I like to copy my XAMPP installation to a USB drive to simplify setup on the other boxes that I use for development. This eliminates the need to remember what packages I have installed as well as having to mange multiple Apache configurations.

Friday, October 10, 2008

A Word on Knowledge Base Articles

I thought I would make a quick comment on the knowledge base articles I have posted over the last couple of years. Someone recently asked why I would post an article on setting the JAVA_HOME environment variable in Ubuntu.

Like many Linux distributions, each one can have a slightly different way of doing something simple such as globally setting an environment variable. When I found the answer, I was going to put it in Tomboy. I thought, why not share my answer by adding it to a special category in my blog instead. In the past, I have found answers to technical questions on the web by others willing to share their knowledge. I decided to return the favor.

Some of my KB articles can be a little on the terse side, verging on being half-baked brain dumps to more useful step by step instructions on how to accomplish something. I hope some of you find them useful nonetheless!

KB: XAMPP SSL Configuration on Ubuntu

XAMPP SSL Configuration on Ubuntu Linux.

KB: Recursively Remove .svn Directories

To recursively remove .svn directories from the current working directory directory (Unix only):
rm -rf `find . -name .svn`

Sunday, October 5, 2008

KB: NetBeans and Zend Framework on Ubuntu

Guide for setting up NetBeans with the Zend Framework on Ubuntu Linux.