php-ddd
php-ddd copied to clipboard
PHP Symfony Doctrine Domain-driven Design
I initially startet a post here focussing on where to put @Symfony bundles: * https://github.com/webdevilopers/php-ddd/issues/6 Recently I found an example for @silexphp by @danitome24: - https://github.com/danitome24/silex-ddd-skeleton He was also inspired...
I recently started implementing RabbitMQ for some memory and time expensive operations e.g. mailing or generating reports. Before I had a WRITE model that raised an event with all required...
- Add basic menu configuration by owner - Add cashier manages the order of the phone customer - On order confirms, the cook can cook the order's meal - On...
I will post my Symfony example soon. Until then: how should the generic subdomain be named? Most examples suggest `IdentityAccess`. Others demand using the `ubiquitous language`. Here is poll on...
Here is a question by @chrisguitarguy that came to mind before when I was using the @SimpleBus by @matthiasnoback: > Do you hide your event emiting code behind an interface...
For instance @Symfony uses the `Interface` Suffix e.g. `FooRepositoryInterface`: - http://symfony.com/doc/current/contributing/code/standards.html#naming-conventions I've seen C# and @dotnet examples prefixing Interfaces with an `I` e.g. `IFooRepository`: - https://msdn.microsoft.com/de-de/library/8bc1fexb%28v=vs.71%29.aspx Why the prefix in...
My structure is inspired by this highly recommended book written by @carlosbuenosvinos, @theUniC and @keyvanakbary: - https://leanpub.com/ddd-in-php - https://github.com/dddinphp/book-issues/issues/50 src/Acme/QualityManagement\Application\Services\ (All my Commands, Queries and Handlers go here) src/Acme/QualityManagement\DomainModel\Order\Order.php (and...
Though I'm personally not using it here is a blog about the interface implementation by @dericcain for Eloquent and Laravel: * https://medium.com/@dericcain/using-the-repository-pattern-in-laravel-5-f7c6388db8d0#.2nbovuofd For further adapting to Domain-Driven Design please refer...
Here is an example suggested by @simensen: * https://speakerdeck.com/simensen/unglue-all-the-things-dpc-2016?slide=31 Related: * https://github.com/webdevilopers/php-ddd/issues/9 * https://github.com/webdevilopers/php-ddd/issues/13
The discussion originally started on Twitter: * https://twitter.com/webdevilopers/status/798566284615094272 The question was triggered by an older post by @shijuvar: * https://weblogs.asp.net/shijuvarghese/cqrs-commands-command-handlers-and-command-dispatcher Later @gnugat and @mauroservienti joined the discussion and @Selrahcd opened...