aggrego / domain
This package's canonical repository appears to be gone and the package has been frozen as a result.
v0.3.2
2019-07-18 21:41 UTC
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
Board
with 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
Key
should generate sameUUID
.
Board's type
- defines internal structure of
Board
and pushedDomain
'sEvent
examples
Profile
- is defined by
Name
andVersion
, - it is specification for input
Key
structure forCreateBoard
andTransformBoard
actions, - defines transformations bases on
Key
to givenBoard
version, - for given
Profile
'sName
andVersion
we 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]