re: Event Sourcing: What it is and why it's awesome VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Super interesting writeup, this is the first time i hear of Event Sourcing and it would be really interesting to see a sample project that uses thi...
 

Actually, I just remembered, a friend of mine, @lyonscf , has written a really solid ES example of a Shopping Cart.

github.com/boundedcontext/bounded-...

It's in PHP and written using a framework we co-authored. Look at "Aggregate.php" in a Aggregate/Cart to see the events being applied, and the invariants (synonym for constraint) being checked/enforced. Hope you find it helpful!

 

This is exactly what I was hoping for and more, thanks! I'll look through it and test it out.

code of conduct - report abuse