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

[eluser]Dam1an[/eluser]
[quote author="ggoforth" date="1242878956"]Your supposed to plan your apps BEFORE writing code? Im in trouble.[/quote]

I knew it was a matter of time till someone said that

[quote author="jleequeen" date="1242872912"]That makes sense to me, but what happens when your controllers do not neatly fit into that model = object approach. Say for instance the homepage of your application that may need to access many models. Would you create a homepage controller on it's own, since it might need to interact with a news model, a comments model, etc. It's pretty easy to understand when your talking about a crud type object that interacts with it's own model. But when thinking in terms of planning my app, Things like the homepage don't fit into that nice "object" or "resources" approach. At least not to me, unless I'm missing something which I may well be Smile[/quote]

Yes, there are always cases where it doesn't map to a single model, but these are often an after thought, such as agregating data from various models (and therefore tables)
So I would then create that page last 9although obviously think about what it needs to acheive)... and then just throw all the models you want at it Wink


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