2017 © Pedro Peláez
 

library snapshotting

POC for snapshotting aggregates in broadway/broadway

image

broadway/snapshotting

POC for snapshotting aggregates in broadway/broadway

  • Thursday, December 14, 2017
  • by othillo
  • Repository
  • 4 Watchers
  • 1 Stars
  • 2,025 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 3 Versions
  • 17 % Grown

The README.md

broadway/snapshotting

Proof-of-concept component providing snapshotting functionality to broadway/broadway., (*1)

build status, (*2)

Installation

$ composer require broadway/snapshotting

Documentation

This project demonstrates taking and using snapshots of an aggregate root in the EventSourcingRepository., (*3)

Snaphots can be triggered using different strategies like once every number of events or after an amount of time has passed. The EventCountTrigger implements the former strategy., (*4)

Getting started

This repository is just a library. It lacks (for now) implementations of the SnapshotRepository., (*5)

For example if you want store your events and snapshots in a database using doctrine/dbal you will have to:, (*6)

  • create a DBALSnapshotRepository implementing the SnapshotRepository to store and fetch snapshots. You wil have to figure out how to serialize your aggregate root.

License

This project is licensed under the MIT License - see the LICENSE file for details, (*7)

The Versions

14/12 2017

dev-master

9999999-dev

POC for snapshotting aggregates in broadway/broadway

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar othillo

14/12 2017

0.2.0

0.2.0.0

POC for snapshotting aggregates in broadway/broadway

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar othillo

02/06 2017

0.1.0

0.1.0.0

POC for snapshotting aggregates in broadway/broadway

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar othillo