Re:MVC Isn’t MVC
by orthoxerox on Tuesday June 20, 2023 @08:48AM
(#36403236)
Hexagonal architecture is great when you learn to separate domain logic from application logic.
Domain logic can be in your entity classes or in separate service classes next to them, but it's still the model.
The controller then deals with application logic: get the data, apply domain logic, save the data, send out notifications, pass the update to the view.
Domain logic can be in your entity classes or in separate service classes next to them, but it's still the model.
The controller then deals with application logic: get the data, apply domain logic, save the data, send out notifications, pass the update to the view.