aggrego / domain
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 359
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/aggrego/domain
Requires
- php: >=7.1
- aggrego/command-consumer: ^0
- aggrego/event-consumer: ^0
- beberlei/assert: ^3.0
- ramsey/uuid: ^3.8
- timitao/value-object: ^0
Requires (Dev)
- behat/behat: ^3.4
- phpspec/phpspec: ^5.1
- timitao/behat-symfony-container: ^1.1
This package is auto-updated.
Last update: 2021-10-19 03:43:33 UTC
README
Aggrego
Assumption
Board (general)
- represents the real board, where you can attach data,
- can be created and later only transformed,
- transforming create new
Boardwith ID of a parent, - it structures depends on
Board's type and is build based onPrototype, - for an identical set of data (
Key,Profile) should generate sameUUID, - transformation of the board with identical
Keyshould generate sameUUID.
Board's type
- defines internal structure of
Boardand pushedDomain'sEvent
examples
Profile
- is defined by
NameandVersion, - it is specification for input
Keystructure forCreateBoardandTransformBoardactions, - defines transformations bases on
Keyto givenBoardversion, - for given
Profile'sNameandVersionwe expect always same data structure
examples
Related libs
Versioning
Staring version 0.1.0, will follow Semantic Versioning v2.0.0.
Contributors
- Tomasz Kunicki TimiTao [lead developer]