Archive for August, 2006

CakePHP: Delegating Actions to Separate Classes Flowchart

Tuesday, August 15th, 2006

Here is a simplified flowchart illustrating how the ActionClass-aware custom dispatcher works.

CakePHP: Custom Dispatcher Flowchart

Click on the thumbnail above to view the full image.

Talk is Cheap

Thursday, August 10th, 2006

A recent article on InfoWorld by Tom Yager talks about some things being considered by AMD with regards to their recent acquisition of ATI. The most interesting part of the article is the last paragraph where it says:

Lastly, and remember you heard it here, AMD is strongly considering open-sourcing at least a functional subset of ATI’s graphics drivers.

(more…)

CakePHP: Delegating Actions to Separate Classes

Monday, August 7th, 2006

I have just finished one of my most important modifications to CakePHP. In my old framework, I used a similar pattern where in a request is handled as a “mode” plus an “command” with optional parameters. This is similar in spirit to CakePHP’s controller/action way of doing things. In my implementation however, commands (analogous to CakePHP actions) are implemented using separate classes.

While some may argue that this manner of implementing MVC is overkill in typical applications, in very large applications (like PhilWeavers.net) it leads to very quick turn-around when it comes to adding new actions or modifying existing ones.

(more…)