Archive for June, 2006

Couldn’t help but preen a little…

I just noticed that PHPDeveloper.org are reporting my blog entry on the Factory and Abstract Factory patterns. The fixed url is over here: http://www.phpdeveloper.org/news/5657. First time I’ve had a blog post highlighted by a site I read practically every day. Cool.

Edit: Two of my blog posts also receive a mention over on the Zend Developer Zone. :-)

How I do love the web. The web gives us the illusion of anonymity and the freedom to experiment with our inner demons. One such persona of note to the PHP community is Padraic Brady aka “Maugrim The Reaper”. Padraic posts on a variety of topics in his blog but never fails to inform or entertain. Let’s look at two of his recent posts.

Partholan Up and Comers

Back in gear, I have started developing additional required classes for Partholan. As covered in a previous post, I have a number of base classes ready for primetime and progress is moving towards that magical sweet spot where basic use of the framework is possible.

The new areas being covered over the next day or two will be:

  • FrontController
  • Settings
  • Action

Action, given its rather non-explanatory name is really a version of a Page Controller. The basic setup calls for the FrontController to use Page Controllers to perform request specific tasks (the usual Model/View manipulation and application logic), while the FrontController handles all the central tasks of authentication, authorisation, session control, input filtering, request/response handling and Views.

The previous iteration of this system in Partholan was very involved – inevitably changes were tacked on over time and it all mutated just a bit out of hand. It also suffered from a few design failings. It did work (and still does!) but it could be cleaner. The refactored version promises to be a lot more elegant.

Today, will probably see the addition of a Settings class structure. This was sorely missing in Partholan 0.20, and will be a welcome addition. I should have some unit tests and implementing code hitting Subversion during the day.

As a side note, I have added an RSS feed of the 3 most recent Subversion commit log messages to the left side panel of the blog. Might be of some interest to folk. A selection of RSS options are available from cia.navi.cx/stats/project/quantumstar, which is notified of all commits.