||Building a PHP Front Controller|
|Subject:||Why use a controller paradigm?|
I don't want to sound like I'm criticizing this article, because I'm not. The "front controller" design pattern is well-known in Web app circles. But, from my perspective, I have never understood any reason to use it. No article I've read on the matter, and no PHP app I've inspected, has shown me any good reason for it. I've seen good PHP apps that don't use it (even while being very OO in nature), and my own apps don't use it. Honestly, what's the point? The argument seems to be that you can run the same kind of "set up the app framework" stuff on every page. But, er, that can be done anyway. See here in a fake code example:
Showing messages 1 through 1 of 1.
Why use a controller paradigm?
2004-08-04 14:37:30 thomaskostecki [View]