I've been working on Cgiapp in the past few months, in particular to introduce one possibility for a Front Controller class. To test out ideas, I've decided to port areas of my personal site to Cgiapp2 using the Front Controller. Being the programmer I am, I quickly ran into some areas where I needed some reusable code -- principally for authentication and input handling.
So what did I choose? To reinvent the wheel, of course! To that end, I've opened a new PEAR channel that I'm calling PHLY, the PHp LibrarY, named after my blog.
Some of the targets of his project include:
- Loosely coupled; dependencies should be few, and no base class should be necessary.
- Designed for PHP5 and up; all classes should make use of PHP5's features.
- Tested; all classes should have unit tests accompanying them.