Discovering Entities and Their Intrinsic Characteristics

Now let’s look at some lessons learned by the SaaSOvation teams . . .

Image

At first the CollabOvation team got caught in the trap of doing a lot of entity-relationship (ER) modeling in Java code. They put too much focus on database, tables, and columns, and how those were reflected in objects. That led to a largely Anemic Domain Model [Fowler, Anemic] composed of a lot of getters and setters. They should have been thinking more about DDD. By the time they needed to factor out the security tangle, as described in Bounded Contexts (2), they had learned to focus more on modeling the Ubiquitous ...

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