Decoupling from infrastructure

Tutorial
By: Matthias Noback

Most application code freely mixes domain logic with infrastructural concerns. Models are directly tied to the relational database of the project, use cases are inseparable from their web controllers, and external services are used without an appropriate abstraction. This limits your ability to design the application in a domain-driven, test-first way.

What we need is a way to separate core code from infrastructure code. And that’s surprisingly easy. All the design patterns have already been invented for that. Until we run out of time, we’ll keep (re)discovering patterns like Controller, Application Service, Entity, Read Model, Domain event, and so on. These patterns can be used to establish a testable, portable application core, with a focus on behavior, instead of data.

 


With your tutorial ticket you’ll get the following:

  • Tutorial from 09:00 – 12:20 (please be present in time)
  • A coffee and tea break
  • Lunch after the tutorial
  • Access to the full conference

Get your tickets now!