Welcome Guest, Not a member yet? Register   Sign In
Managing views, how do you do it?
#1

[eluser]eightamrock[/eluser]
Hello All,

I'm new to CI, but I am familiar with MVC architectures such as ROR and Cake.

The question I have always struggled with is how to properly manage views. Do you construct your views from header and footer files, or do you have a view for every page/function that feeds dynamic data?

I am used to one central view that includes a switch function that pulls the proper layout for a page. This makes managing views easy, but I am struggling with how to do something similar in CI. I know ROR offers a default layout that will pass in data from your function automatically.

I'm open to suggestion or just a healthy debate on the best way to do it.

-Sam


Messages In This Thread
Managing views, how do you do it? - by El Forum - 09-08-2009, 12:15 PM
Managing views, how do you do it? - by El Forum - 09-08-2009, 05:41 PM
Managing views, how do you do it? - by El Forum - 09-08-2009, 06:36 PM
Managing views, how do you do it? - by El Forum - 09-08-2009, 08:45 PM
Managing views, how do you do it? - by El Forum - 09-09-2009, 06:52 AM
Managing views, how do you do it? - by El Forum - 09-09-2009, 07:47 AM
Managing views, how do you do it? - by El Forum - 09-09-2009, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB