The dangers of events and observers in Laravel applications
Вставка
- Опубліковано 28 вер 2024
- Link to the article: cosmastech.com...
👨💻 Learn Test-Driven Development with Laravel!
tddwithlaravel...
Sign up to 30 Days of Laravel 👉🏻 30daysoflarave...
👨💻 Sign up to my newsletter and receive PHP, JS and Laravel news in a weekly-basis:
subscribe.mate...
🎉 Party up:
/ mateusjatenee
/ mateusjatenee
/ mateusguimaraes
Thanks for watching!
"Saving a database row is not the same as business behavior." Very well said.
I would argue that events and their listeners are good if you want to prepare your monolith application later to be split into microservices.
This review of the subject is incredible, with well-elaborated explanations covering the main points from the code perspective. Amazing!
Thank you!