paint-brush
Find out Whether Model Observers in Laravel are a Bad Practiceby@dkhorev
1,426 reads
1,426 reads

Find out Whether Model Observers in Laravel are a Bad Practice

by Dmitry Khorev12mNovember 10th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Laravel provides an interesting way to automate common model events inside your app with [dispatched events, closure events, and observers]. While it sounds cool to have this kind of plug-and-play solution — there are certain cases when this will backfire on your project if you tend to overload this feature with business logic.
featured image - Find out Whether Model Observers in Laravel are a Bad Practice
Dmitry Khorev HackerNoon profile picture
Dmitry Khorev

Dmitry Khorev

@dkhorev

Sharing my ideas on software development (NestJS, Laravel, System Design, DevOps for backend engineers)

About @dkhorev
LEARN MORE ABOUT @DKHOREV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Dmitry Khorev HackerNoon profile picture
Dmitry Khorev@dkhorev
Sharing my ideas on software development (NestJS, Laravel, System Design, DevOps for backend engineers)

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite