DEV Community


Discussion on: Domain Driven Design with PHP and Symfony

ferrius profile image

Hi, thank you for a nice post. Also you can find my implementation of DDD/CQRS there

mohammedabdoh profile image
Mohammed Abdoh

I like your implementation. I have one concern to share with you. Don't you think that the UserInterface for instance is violating the idea of CQRS in common? Because in CQRS you are splitting your writes from your reads and in this case, your repository might only have to have one read method to load the aggregate by its ID while it case persist the aggregate