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!

КОМЕНТАРІ • 4

  • @Benmarks
    @Benmarks Місяць тому +4

    "Saving a database row is not the same as business behavior." Very well said.

  • @Flankymanga
    @Flankymanga Місяць тому

    I would argue that events and their listeners are good if you want to prepare your monolith application later to be split into microservices.

  • @asathler
    @asathler Місяць тому +1

    This review of the subject is incredible, with well-elaborated explanations covering the main points from the code perspective. Amazing!

    •  Місяць тому

      Thank you!