Lead Developer and Solutions Architect, I specialise in Event Sourcing, DDD and Event Driven systems. PHP and GoLang developer. Enjoys being a smart ass and having a nice whiskey.
Location
Ireland
Education
MSc in Computer Science, Trinity College, Dublin
Work
Lead Developer and Solutions Architect at Contractor
Good suggestion. Reactive Extensions (RX) is a great way to implement your projectors, it makes it easy to build up the state required by your constraints.
Lead Developer and Solutions Architect, I specialise in Event Sourcing, DDD and Event Driven systems. PHP and GoLang developer. Enjoys being a smart ass and having a nice whiskey.
Location
Ireland
Education
MSc in Computer Science, Trinity College, Dublin
Work
Lead Developer and Solutions Architect at Contractor
We don't use RX to implement projectors, so I can't really answer this. I've used it in the past, so can I imagine it would get difficult. For projectors, a simple implementation of the observer pattern tendsto works well.
React reducers are pretty much projectors, so their implementation is a good place to see it in action.
Good suggestion. Reactive Extensions (RX) is a great way to implement your projectors, it makes it easy to build up the state required by your constraints.
But debugging RX can send you into back holes iv'e heard. Thoughts on this?
We don't use RX to implement projectors, so I can't really answer this. I've used it in the past, so can I imagine it would get difficult. For projectors, a simple implementation of the observer pattern tendsto works well.
React reducers are pretty much projectors, so their implementation is a good place to see it in action.
redux.js.org/docs/basics/Reducers....