Welcome Guest, Not a member yet? Register   Sign In
Use one controller per page or use one controller to control all the pages?
#1

[eluser]0v3rth3d4wn[/eluser]
What approach is better(or right) - should I use a controller for each of my pages (e.g. "news","contacts") which have separate models OR use one single controller to handle them, like depending on the page I am, I should load the appropriate model and view?




Theme © iAndrew 2016 - Forum software by © MyBB