Welcome Guest, Not a member yet? Register   Sign In
Controller / View Relationship
#5

(04-28-2017, 07:56 AM)InsiteFX Wrote: See the CodeIgniter News Tutorial in the Users Guide.

I followed the News tutorial a few months ago and built the application successfully. A couple of sections in the text are what got me thinking about my question initially. One describes the controller as being the glue, the center of the application, and that had me thinking that perhaps fewer controllers are better, perhaps just one even. The other section is where I'm not sure if confirmation bias comes in, as they have a new controller for the News view, but say this could have been in the original Pages controller and that also meant fewer is better to me.

Thanks for leading me back to the tutorial. I think I should go with a controller per functional group and risk them being bigger.
Reply


Messages In This Thread
Controller / View Relationship - by simon - 04-28-2017, 03:59 AM
RE: Controller / View Relationship - by simon - 04-28-2017, 01:55 PM
RE: Controller / View Relationship - by InsiteFX - 04-28-2017, 07:56 AM
RE: Controller / View Relationship - by simon - 04-28-2017, 02:08 PM
RE: Controller / View Relationship - by PaulD - 04-29-2017, 03:29 AM
RE: Controller / View Relationship - by InsiteFX - 04-29-2017, 04:28 AM
RE: Controller / View Relationship - by simon - 04-29-2017, 02:19 PM
RE: Controller / View Relationship - by lillian - 05-11-2017, 01:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB