Source: dzone.com

What Are Domain Events?

Category: Software, Data

Just like any other building block or definition, it is important to recognize that all events are not equal.

Questions to ask while defining your domain events: A Domain Event is an event that is spawned from this model that is a result of a decision within the domain.

This is where the distinction of Domain Events and other events can come in handy since many times the other events that happen (technical or peripheral) can be regarded as logging events that we can store for analytical purposes only.

One of the most common mistakes when starting with Domain Events and with DDD, in general, is to not go the whole way and figure out what is actually going on in the domain.

Related Articles