August 2018
Intermediate to advanced
372 pages
9h 29m
English
An event is the result of a command execution within an application. These are used as a notification mechanism for subscribers who are interested in receiving them. Events are immutable and should not be modified, as they are designed to keep a log that keeps information on how the application state has mutated over time.
When it comes to naming events, the rule of thumb is to use past tense, such as the following:
Events are not concerned with what actions will be performed after their creation. This makes it possible to decouple a system but still notify the subscribers. In this way, we can decouple applications because the subscribers are responsible for executing one ...
Read now
Unlock full access