Applying object design to the domain

With an understanding of conceptual object design, we need to apply all the concepts to our domain. We continue modeling the prisoner transfer we started. So far, we have an entry point to the application module that will ultimately handle this. From the tests, we know that the prisoner transfer relies on a prisoner and a dungeon object.

Building a system on simple objects

So let's walk through what the prisoner transfer needs to do and what its collaborators are. Previously, we identified that the prisoner transfer will need a prisoner, obviously, and a target dungeon to transfer to, and the prisoner transfer should manage everything else. It is important to think about what the minimal input is from a user ...

Get JavaScript Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.