Submodules, yay or nay?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

User avatar
allspiritseve
DevNet Resident
Posts: 1174
Joined: Thu Mar 06, 2008 8:23 am
Location: Ann Arbor, MI (USA)

Re: Submodules, yay or nay?

Post by allspiritseve »

allspiritseve wrote:I don't agree that it does not work well to have 'one controller method per page' as you imply.
I meant konstrukt works well with one page per controller. I was not implying anything about the merits or lack thereof of one controller method per page.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Submodules, yay or nay?

Post by Christopher »

Yeah, I like Konstrukt's universal controller idea -- and I have a lot of respect for Troels. I have gone the Front Controller / Action Controller direction for two reasons. I like to do more global stuff in the FC (DI, Access Control, etc.), and I like to be able to have ACs that don't inherit anything (because most don't need much).
(#10850)
Post Reply