where do "actions" go? |
I use my_ model so most of the database interaction is coverd there. I put business logic in model. For better separation you can create two model one for data access and one for business logic put them in sub folder in models directory.
![]() ![]() Learning best practices Rate my post if you found it helpfull |
Messages In This Thread |
where do "actions" go? - by rickoneeleven - 09-16-2015, 03:07 AM
RE: where do "actions" go? - by PaulD - 09-16-2015, 06:07 AM
RE: where do "actions" go? - by mwhitney - 09-16-2015, 07:49 AM
RE: where do "actions" go? - by rickoneeleven - 09-16-2015, 12:47 PM
RE: where do "actions" go? - by cartalot - 09-16-2015, 02:40 PM
RE: where do "actions" go? - by rickoneeleven - 09-23-2015, 04:41 AM
RE: where do "actions" go? - by ravinesh - 09-23-2015, 04:47 AM
RE: where do "actions" go? - by ComputingFroggy - 10-25-2015, 01:28 AM
RE: where do "actions" go? - by jaynarayan - 12-17-2015, 11:42 AM
|