Menu

When DDD Is the Wrong Tool for the Job
📰

When DDD Is the Wrong Tool for the Job

DEV Community: postgres·Andrii B.·about 4 hours ago
#DxtTKuO0
#devtopostgresql#devto#dev#domain#model
Reading 0:00
15s threshold

A pure CRUD application scores zero.

That's not a critic of domain-driven design talking. It's Vaughn Vernon, in the first chapter of Implementing Domain-Driven Design , the book half the industry calls "the red book." He gives you a scorecard for deciding whether your project deserves DDD, and the lowest row is for an application that is "completely data centric and truly qualifies for a pure CRUD solution." Points for that row: 0. You need 7 before he says you should seriously consider DDD.

Here's the part that surprises people. Every major voice in the DDD world has said some version of this. Eric Evans, Martin Fowler, Udi Dahan, Microsoft's own reference architecture. The warning is right there in the source material.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.