Slide 23
Slide 23 text
Insight
● Data- or entity-centric thinking can give you good design
● Instead, abstracting key actions and actors is more important
● You can design mediator like the following:
○ 1. DDD-ish design
○ 1-1. Use Case (Transaction Script, which is anti-pattern in DDD)
○ 2. non-domain mediator layer
eg. Gateway, Mapper, Data Controller, Translator, …
○ 3. put them into Data Layer: Repository
23