Welcome Guest, Not a member yet? Register   Sign In
Main Controller and then 1 controller for subsequent pages.
#2

[eluser]Randy Casburn[/eluser]
There are a couple of ways to do things. With simple sites, that's most of us, most of us use a single controller as a base controller (I call mine 'core') and we use a PHP include() statement in each of our other controller files. The base controllers deals with all the common things that appear on each of our pages while the individual controllers deal with the specifics of the page.

If your structure is more complex that this you should look into Modular Extentions (HMVC) or something similar.

Make sense?

Randy


Messages In This Thread
Main Controller and then 1 controller for subsequent pages. - by El Forum - 10-22-2008, 10:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB