Welcome Guest, Not a member yet? Register   Sign In
How do you handle controllers for pages that are either static or do not fit the object paradigm?
#5

[eluser]jedd[/eluser]
I've used a single controller - meta, or lobby - to service all my static pages - and they pretty much solely deliver the output of html-heavy/php-lite view snippets. I don't have a conceptual problem with some views - even those attached to controllers that talk to a lot of models, and do a lot of complex activity - being very basic, near-static pages.

I guess on a larger system you tend to move more towards a CMS approach, so things like your About-Us, Contact-Us, T&C, etc - all slowly get pushed back into the database anyway.


Messages In This Thread
How do you handle controllers for pages that are either static or do not fit the object paradigm? - by El Forum - 08-12-2009, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB