LAMPlights Personal anecdotes from my experiences using the LAMP stack

11Dec/100

Bootstrapping PHPUnit tests

I just recently stumbled upon PHPUnit's --bootstrap flag. I used to bootstrap each of my unit tests using a require statement at the top of the file. I always found this very tedious, but did not want to write some script to wrap each unit test. The --bootstrap flag solves this problem quite nicely.

23Sep/100

Crimson Framework Updated to PHP 5.3

I have updated my Crimson framework to use PHP 5.3 namespace support instead of the old PEAR style class namespacing.  I did this primarily as an exercise in migrating a code-base to use namespaces.  Just in case anyone was relying on the old framework code, there is a pre-5.3 branch on github.

8Jul/090

Crimson framework PHP 5.3 branch

I have added a PHP 5.3 branch to the Crimson framework. The code now uses namespaces and has a native namespace autoloader. Some of the classes were renamed to conform with the PHP Framework Standards Group preliminary standard.

For the time being I will be keeping a 5.2 and 5.3 version of the Crimson framework until PHP 5.3 becomes even more stable.

Tagged as: , , No Comments