Welcome Guest, Not a member yet? Register   Sign In
Where should logic go [edited]
#3

(02-19-2017, 09:39 AM)albertleao Wrote: Slim controllers and fat models. Your controllers should just pull data from libraries/models.

That was one of my goal in separating the logic in controller. But I really dont want to use library to be part of my logic. I just want to act library as a helper and controller as a router. And I dont want any logic on my model just pure queries.
God Bless CI Contributors Smile
Reply


Messages In This Thread
Where should logic go [edited] - by marksman - 02-19-2017, 06:41 AM
RE: CodeIgniter 3.1.3+ - by albertleao - 02-19-2017, 09:39 AM
RE: CodeIgniter 3.1.3+ - by marksman - 02-19-2017, 02:05 PM
RE: Where should logic go [edited] - by cartalot - 02-20-2017, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB