HackerNoon Mobile

Better reading experience on the app
Find out Whether Model Observers in Laravel are a Bad Practiceby@dkhorev
1,287 reads

Find out Whether Model Observers in Laravel are a Bad Practice

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@dkhorev

Dmitry Khorev


Receive Stories from @dkhorev

react to story with heart
Dmitry Khorev HackerNoon profile picture
by Dmitry Khorev @dkhorev.Sharing my ideas on software development (NestJS, Laravel, System Design, DevOps for backend engineers)
Read my stories

RELATED STORIES

L O A D I N G
. . . comments & more!