best practice separating business logic from controller and model |
(12-06-2020, 11:40 AM)captain-sensible Wrote: its been 6 hours no answer so let me kick it off : i have a feelig that Lonnie new book might answer this: Business logic should be in model, separated from DB model. Business logic should be omitted from view and controller. For CI4 structure probably the best place for business logic is Domain folder under app folder. I'm not expert at that field but worked in a company that was trying to develop using Domain Driven Design (DDD) approach. |
Messages In This Thread |
best practice separating business logic from controller and model - by tekrda - 12-06-2020, 05:01 AM
RE: best practice separating business logic from controller and model - by captain-sensible - 12-06-2020, 11:40 AM
RE: best practice separating business logic from controller and model - by blagi - 12-07-2020, 07:37 AM
|