Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.04 KB

examples.rst

File metadata and controls

44 lines (32 loc) · 1.04 KB

Examples

This library contains a few example applications of event sourcing in Python.

Example aggregates

The aggregate examples show a range of different styles for coding aggregate classes, from the declarative syntax which provides the most concise style for expressing business concerns, to a functional style which uses immutable aggregate objects. All these examples make use of the library's application and persistence modules. All these examples satisfy the same test case which involves creating and updating a Dog aggregate, and taking a snapshot.

examples/aggregate1 examples/aggregate2 examples/aggregate3 examples/aggregate4 examples/aggregate5 examples/aggregate6 examples/aggregate7 examples/aggregate8

Example applications

examples/bank-accounts examples/cargo-shipping examples/content-management examples/searchable-timestamps examples/searchable-content