Skip to content

Latest commit

 

History

History
143 lines (97 loc) · 3.03 KB

domainmodel.rst

File metadata and controls

143 lines (97 loc) · 3.03 KB

domain.model

The domain model package contains classes and functions that can help develop an event sourced domain model.

local

events

Base classes for domain events of different kinds.

eventsourcing.domain.model.events

entity

Base classes for domain model entities.

eventsourcing.domain.model.entity

aggregate

Base classes for aggregates in a domain driven design.

eventsourcing.domain.model.aggregate

command

Commands as aggregates.

eventsourcing.domain.model.command

decorator

Decorators useful in domain models based on the classes in this library.

eventsourcing.domain.model.decorators

snapshot

Snapshotting is implemented in the domain layer as an event.

eventsourcing.domain.model.snapshot

timebucketedlog

Time-bucketed logs allow a sequence of the items that is sequenced by timestamp to be split across a number of different database partitions, which avoids one partition becoming very large (and then unworkable).

eventsourcing.domain.model.timebucketedlog

collection

Collections.

eventsourcing.domain.model.collection

array

A kind of collection, indexed by integer. Doesn't need to replay all events to exist.

eventsourcing.domain.model.array