Design Patterns: What's the antithesis of Front Controller?
Posted
by Brian Lacy
on Stack Overflow
See other posts from Stack Overflow
or by Brian Lacy
Published on 2010-03-24T20:57:53Z
Indexed on
2010/03/24
21:03 UTC
Read the original article
Hit count: 339
I'm familiar with the Front Controller pattern, in which all events/requests are processed through a single centralized controller.
But what would you call it when you wish to keep the various parts of an application separate at the presentation layer as well? My first thought was "Facade" but it turns out that's something entirely different.
In my particular case, I'm converting an application from a sprawling procedural mess to a clean MVC architecture, but it's a long-term process -- we need to keep things separated as much as possible to facilitate a slow integration with the rest of the system. Our application is web-based, built in PHP, so for instance, we have an "index.php" and an IndexController, a "account.php" and an AccountController, a "dashboard.php" and DashboardController, and so on.
© Stack Overflow or respective owner