Welcome Guest, Not a member yet? Register   Sign In
What is best structure for a big application?
#18

[eluser]Colin Williams[/eluser]
"Controllers within controllers" makes no sense. Let's examine what CI defines a controller as: "Controllers are the heart of your application, as they determine how HTTP requests should be handled... A Controller is simply a class file that is named in a way that can be associated with a URI."

Controllers handle URI requests. They are not modular sections of a page display; they build the page from modules. When you think "module" in CI, you're probably looking at a Library. Models should be reserved for data retrieval and data formatting.


Messages In This Thread
What is best structure for a big application? - by El Forum - 01-14-2008, 07:09 AM
What is best structure for a big application? - by El Forum - 01-14-2008, 07:24 AM
What is best structure for a big application? - by El Forum - 01-14-2008, 09:45 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 12:43 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 06:33 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 06:34 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 07:06 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 11:55 AM
What is best structure for a big application? - by El Forum - 01-17-2008, 02:14 PM
What is best structure for a big application? - by El Forum - 01-17-2008, 02:15 PM
What is best structure for a big application? - by El Forum - 01-17-2008, 03:20 PM
What is best structure for a big application? - by El Forum - 01-17-2008, 03:27 PM
What is best structure for a big application? - by El Forum - 01-17-2008, 06:55 PM
What is best structure for a big application? - by El Forum - 01-17-2008, 07:14 PM
What is best structure for a big application? - by El Forum - 01-19-2008, 08:20 PM
What is best structure for a big application? - by El Forum - 01-20-2008, 10:40 AM
What is best structure for a big application? - by El Forum - 01-21-2008, 11:19 AM
What is best structure for a big application? - by El Forum - 02-02-2008, 01:35 PM
What is best structure for a big application? - by El Forum - 02-02-2008, 03:53 PM
What is best structure for a big application? - by El Forum - 02-02-2008, 05:15 PM
What is best structure for a big application? - by El Forum - 02-02-2008, 05:51 PM
What is best structure for a big application? - by El Forum - 02-03-2008, 06:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB