Comments (10)
We are also very happy with eventsauce.
One thing we "copied" from broadway was their concept of entities inside the root aggregate, where the apply's are cascaded down to the entities. I'm wondering if this is something you would like to include / what are your thoughts on this or if you would tackle this problem differently.
https://github.com/broadway/broadway/tree/master/examples/event-sourced-child-entity
from eventsauce.
@patrickkusebauch I'll give it a try.
Currently, I'm using Prooph EventStore and long time ago, thought about this combination of EventSauce and Prooph EventStore with its strong persistence and projections part, but I had doubt about maintaining both packages and always have to make sure that any update in one of them is compatible with the other package.
but will check your repo and give it it a try ;)
from eventsauce.
Hi @mdwheele! First of all, this is one of the best issues I've received on GitHub! Thank you for this. Any example repositories would be great. I had the idea to scratch an itch by creating one to propose and register ADR's. But it might be a bit too simple. Of course the classic work well too, as you proposed.
from eventsauce.
@arendjantetteroo have you got an example of this or an extraction of this on GitHub somewhere? Would love to see in which way you solved this, I've got some ideas but always good to see what somebody who already has it in place has come up with.
from eventsauce.
@frankdejonge i will try to get something up end of the week.
from eventsauce.
I also would like to contribute.
@mdwheele If you already started an example project, maybe we could split tasks between us, or we can split different examples together like
- Simple Project
- Handling concurrency
- Different database structure as noted https://eventsauce.io/docs/advanced/database-structure/
from eventsauce.
@mdwheele support for http://eventstore.org
If anyone who wants to team up with me for a coding session, I think this can be done with a few hours. I just lack any experience of event sauce but would like to give it a try with eventstore.org.
from eventsauce.
@burzum Do you have a lot of experience with Event Store, then? My Event Store experience has been pretty minimal but I'd love to learn more about it.
from eventsauce.
@simensen I wrote a complete event sourcing library for it using the https://github.com/prooph/event-store-client library to connect to it. It is not yet open source, I need to talk to my boss about open sourcing it. Sadly I just discovered event source after I was done with it. :( For whatever reason event sauce is pretty far down on the result page on google and it shows a video not a link as first hit mentioning event sauce for me. So I missed it... :( Otherwise we would probably use event sauce. Eventstore.org is good it gets the job done and seems to be faster than any SQL based solution. The prooph libraries are very well done as well. So I can recommend both.
from eventsauce.
@ahmed-alaa @burzum I think I have a solution for both of you guys. I have spent an afternoon and wrote an adapter between EventSauce
and Prooph/event-store
. It allows for AggregateRoots
and Events
created in EvensSauce
to be stored in any Prooph/event-store
implementation.
- Different database structure can, therefore, be handled by the
Pdo
implementation and its Stream Strategy - support for EventStore is also available, albeit limited, via the
HTTP
orTCP
clientProoph
has.
I have so far tested it for \Prooph\EventStore\Pdo\PersistenceStrategy\PostgresAggregateStreamStrategy
and it works brilliantly.
You can find it here: https://github.com/Dance-Engineer/event-sauce-prooph-event-store
from eventsauce.
Related Issues (20)
- The...
- Default JSON-based serializer? HOT 1
- Doctrine MessageRepository appears to have no upgrade path HOT 13
- Message::withHeader() no longer allows array value HOT 2
- Doubt about aggregate root version HOT 4
- Isn't replaying domain message events by default slow as hell HOT 15
- Examples of persisting snapshots to a database HOT 2
- Aggregate root HOT 3
- Projections
- Structure table
- Suggest snapshotting change HOT 2
- AggregateRootBehaviour should have a template on AggregateRootId HOT 3
- Use lambdas insterad of command objects? HOT 4
- DefaultHeadersDecorator order parameters deprecated HOT 6
- Move all tests to separate folder tests HOT 2
- Reconstituting a specific version HOT 8
- Missing "id" reference in docs HOT 1
- DoctrineOutboxRepository reserved words escaping HOT 1
- Type mismatched... Expected `AggregateRootId` found `AggregateRootIdType` HOT 1
- Storing messages in MongoDB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eventsauce.