Latest news and articles about DDD, CQRS, Event Sourcing and Software Architecture in general, aggregated daily and delivered weekly to your feed (RSS) reader. Subscribe here!

Week 23, year 2013

  • Unbreakable Domain Models - Video Slides Abstract Data Mappers (like Doctrine2) help us a lot to persist data. Yet many projects are still struggling with tough questions: Where to put business logic? How to protect our code from abuse? Where to put queries, and how test them? Let’s look beyond the old Gang of Four design patterns, and take some clues from tactical Domain Driven Design. At the heart of our models, we can use Value Objects and Entities, with tightly defined consistency boundaries. Repositories abstract away the persistence. Encapsulated Operations helps us to protect invariants. And if we need to manage a lot of complexity, the Specification pattern helps us express business rules in the language of the business. [Mathias Verraes]
Permalink | From 03 June 2013 to 09 June 2013 | Last updated on: Thu, 9 Jun 2022 15:28:31 GMT