Hi,
I'd like to have skinny controllers, but also skinny models. I usually put only relations in models and methods like "markAsProcessed" which updates status.
Currently, I create a record in a database and have an observer that executes.
I'd like to avoid adding too much logic in observer, but also I don't want to do calculations in model. Do you have any suggestions?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community