-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on reported project file related issues (#46)
- Loading branch information
Showing
6 changed files
with
54 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Qowaiv..DomainModel.TestTools | ||
|
||
## Package | ||
This package contains helpers to make writing unit tests for Aggregates easier. | ||
|
||
## Further reading | ||
More info can be found at https://github.com/Qowaiv/qowaiv-domainmodel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Qowaiv.DomainModel | ||
Qowaiv Domain Model is a library containing the (abstract) building blocks to | ||
set up a Domain-Driven application. | ||
|
||
## Event Sourcing | ||
Within Qowaiv Domain Model, the choice has been made to only support DDD via | ||
Event Sourcing. In short: Event Sourcing describes the state of an aggregate | ||
(root) by the (domain) events that occurred within the domain. Getting the | ||
current state of an aggregate can always be achieved by replaying these | ||
events. | ||
|
||
## Always Valid | ||
The aggregate should always be valid according to the boundaries of its domain. | ||
There are multiple ways to achieve this, but within Qowaiv Domain Model this is | ||
guaranteed via an implicitly triggered validator. | ||
|
||
When a public method is called that would lead to a new aggregate state, the | ||
events describing the change are only added to the event buffer | ||
associated with the aggregate if the new state is valid according to the | ||
rules specified in the validator. | ||
|
||
## Aggregate | ||
An aggregate is a cluster of associated objects that we treat as a unit for the | ||
purpose of data changes. When implementing an aggregate there are several steps | ||
that have to be taken. | ||
|
||
## Further reading | ||
More info can be found at https://github.com/Qowaiv/qowaiv-domainmodel. |