Results 73 issues of webDEVILopers

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...

Infrastructure Layer
Message / Command / Query Event Bus
RabbitMQ

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...

Identity and Access
Generic Subdomain

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...

Events
Symfony Event Dispatcher

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...

Tactical DDD
Infrastructure Layer
Domain Layer
UserInterface / Presentation Layer
Doctrine ORM
Doctrine ODM
Symfony Forms
XML Mapping
Naming Conventions
Application Layer
Symfony Bundles

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...

Laravel
Eloquent

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

Infrastructure Layer
Doctrine ORM
Doctrine ODM
XML Mapping
Symfony Bundles

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...

As mentioned by @Skahrz here: * http://softwareengineering.stackexchange.com/questions/330637/specification-pattern-or-entity-value-object-validation#comment-704807 injecting a Policy / Sepcification seems to be just fine e.g.: * https://github.com/citerus/dddsample-core/blob/master/src/main/java/se/citerus/dddsample/domain/model/cargo/Delivery.java#L63 Maybe it also has the advantage of making an implicit...

Domain Layer
Specification Pattern
Domain Service
Policy / Strategy Pattern
Dependency Injection

My `CalculateDormerHandler` needs to pass data from a `CalculateDormerCommand` to a `DormerCalculator` Domain Service. Currently the Handler is passing the complete DTO (Command including a lot of args) and some...

Domain Layer
Application Layer
CQRS
DTO
Commands
Handler
Domain Service
Application Service