Welcome Guest, Not a member yet? Register   Sign In
How do you plan your CI applications?
#6

[eluser]Colin Williams[/eluser]
Quote:how do you arrive at figuring out those controllers?

Typically there is one controller per resource. Let's say we're making a CMS. Depending on how you design it, let's say your resources are Pages, Users, and Categories. This lends to a Page controller, User controller, and Category controller. That's a very basic example but I hope it explains the idea. Models typically follow suit but are more burdened with the complexities of these resources.


Messages In This Thread
How do you plan your CI applications? - by El Forum - 05-20-2009, 12:55 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 01:09 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 01:49 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 02:30 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:08 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:18 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:21 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:28 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:28 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:40 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 03:55 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 04:17 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 05:09 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 07:31 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 08:19 PM
How do you plan your CI applications? - by El Forum - 05-20-2009, 08:42 PM
How do you plan your CI applications? - by El Forum - 05-21-2009, 02:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB