09-07-2007, 03:00 PM
[eluser]gavincali[/eluser]
I'm using my controller, called browse.php, to call only 1 view file, called browseview.php. This view file calls other view files from a folder called /includes... and sometimes the include calls and include...etc...
My question: Should my controller (browse.php) be able to choose from the 12 or so view files to call directly -OR- should it only call it's mate-view (browseview.php), and let this mate-view act as a traffic-cop to the other view includes?
thanks.
I'm using my controller, called browse.php, to call only 1 view file, called browseview.php. This view file calls other view files from a folder called /includes... and sometimes the include calls and include...etc...
My question: Should my controller (browse.php) be able to choose from the 12 or so view files to call directly -OR- should it only call it's mate-view (browseview.php), and let this mate-view act as a traffic-cop to the other view includes?
thanks.