Welcome Guest, Not a member yet? Register   Sign In
What do you guys do with pages that don't require a controller?
#7

[eluser]mdcode[/eluser]
[quote author="n0xie" date="1260978447"][quote author="mason22" date="1260948599"]What do you guys do with pages that don't require a controller? [/quote]
I'm not sure what you mean by this. If you mean static pages that don't require any business logic, you could just use one generic 'static page' controller and return different static views from there, depending on some parameter or depending on the url structure.[/quote]
This is basically what I do... in general I have a "main", or "master" controller which apart from the main index or home page, I place other things such as the FAQ's page, or the credits page etc etc. Or as you put it, pages that don't necessarily require their own controller.


Messages In This Thread
What do you guys do with pages that don't require a controller? - by El Forum - 02-06-2010, 09:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB