webDEVILopers
webDEVILopers
After my holidays @NTCoding , ok? ;) What I can tell already is that a `Contract` can have `Timesheets` and `InspectionResults`. And there are also `Timesheets` that can be used...
I've been studying the @PPPDDD Principles, Practices and Patterns of Domain-Driven Design book by @elbandit again @NTCoding. And I think I found a / "the" solution! `Timesheets` and `InspectionResults` belong...
Some days ago I posted a question about Policies (Specifications) and if they should be injected into Domain Models: - https://github.com/webdevilopers/php-ddd/issues/23 Today I found an old slideshow by @mathiasverraes: -...
Nice suggestion @yvoyer ! This would indeed work as long as I keep the related models in the same BC.
Yesterday @prolic suggested the following: > inject a read model in your command handler or even inject the event sourced collection to make the check in the handler before calling...
I get your point from a Event Sourcing POV @prolic! If I need reporting queries I create a read model projectiont. But when I load the Contract AR from the...
BTW just saw this code snippet from https://vimeo.com/43598193 by @jbogard:  If one AR is responsible for creating the other it looks like it is okay to pass the protecting...
Thank you @msphn ! Of course I am familiar with the articles by @VaughnVernon. This is an older question and we managed to implement a good solution with small aggregates...
Another solution I recently discovered is @prooph recommended by @sandrokeil: - http://getprooph.org/ - https://github.com/prooph What are your experiences @sandrokeil? You use it for @zendframework only, not @symfony, right?
Thanks @sandrokeil for your feedback! I havn't really "decided" anything yet. Since I read a lot of tutorials by @matthiasnoback I tried @SimpleBus. I'm currently working on two big legacy...