Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.19 KB

examples.rst

File metadata and controls

55 lines (39 loc) · 1.19 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.

.. toctree::
   :maxdepth: 2

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

Example applications

.. toctree::
   :maxdepth: 2

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

Example systems

.. toctree::
   :maxdepth: 2

   examples/content-management-system