symfony-hexagonal-architecture
symfony-hexagonal-architecture copied to clipboard
Example of a Symfony application using Domain-Driven Design (DDD) and Test Driver Development (TDD) principes keeping the code as simple as possible.
Hey there. In the UI web controller you are using symfony http response which goes against hexagonal architecture. I would suggest to build a service in infrastructure where you implement...
Generate id on create post
Question: why did you move away from separate Doctrine Post entity? Commit: https://github.com/dahromy/symfony-hexagonal-architecture/commit/7a339cb61b1b11d642cccda5376a47ef6358fcb4 In your readme you state that there should be a separate Post entity in Infrastructure, but in...
This PR provides comprehensive documentation addressing the architectural question about why the repository moved away from separate Doctrine infrastructure entities to direct domain mapping with YML configuration (commit 7a339cb). ##...
The `CreatePostController` was violating hexagonal architecture principles by directly using Symfony HTTP response objects and methods, creating tight coupling between the UI layer and infrastructure concerns. ## Problem The original...