Welcome Guest, Not a member yet? Register   Sign In
skinny controller or skinny model?
#3

[eluser]PhilTem[/eluser]
I tend to have a huge MY_Model but then every model itself is very very very thin. All the logic basically goes into the controller since this is, in my eyes, the dispatcher and what makes all the business logic.
Sometimes there's also need for a fat library if I need to "combine" multiple models that deal with the same part.

To quickly answer:
Fat controller - thin model.


Messages In This Thread
skinny controller or skinny model? - by El Forum - 06-07-2012, 10:29 PM
skinny controller or skinny model? - by El Forum - 06-07-2012, 10:40 PM
skinny controller or skinny model? - by El Forum - 06-08-2012, 05:13 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 06:01 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 09:08 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 09:52 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 11:07 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 11:33 AM
skinny controller or skinny model? - by El Forum - 06-08-2012, 11:55 AM
skinny controller or skinny model? - by El Forum - 06-09-2012, 06:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB