© Jesse Griffin 2021
J. GriffinDomain-Driven Laravelhttps://doi.org/10.1007/978-1-4842-6023-4_13

13. Domain Events

Jesse Griffin1 
(1)
Spring Valley, CA, USA
 

Things happen in applications—a lot of things. Some are more interesting than others. Events capture this information, package it up in a nice and clear format/structure, and rely on a broadcasting mechanism or dispatcher to dispatch the event to the rest of the application. We have already gotten a taste of events in Chapter 5. This chapter will build on that information and provide you with additional context and discussion on domain events specifically.

Which components actually get notified about a particular event is based on a subscriber or Observer or PubSub pattern (they all mean roughly ...

Get Domain-Driven Laravel: Learn to Implement Domain-Driven Design Using Laravel now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.