Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    Where Platforms Fit: DDD Subdomains

    Buy what's generic, build platforms for supporting capabilities, and leave the core to product teams — Domain-Driven Design as a map for platform investment.

    Growingtended planted 3 min read
    On this page

    Every platform team eventually gets asked “should we build this?” The most useful lens I’ve found comes from Domain-Driven Design’s three kinds of subdomain, applied the way Gregor Hohpe does in his writing on platform strategy.

    DDD in one breath

    Domain-Driven Design shapes code around the business domain and its needs, so the software bends with business change rather than fighting it. Its other half is a shared (ubiquitous) language that technical and non-technical people both use, so the words in the code match the words in the meeting where the feature was decided.

    The spectrum

    SubdomainWhat it isExamplePlatform stance
    GenericSolved problems that look the same everywhereCloud infrastructure, authentication, email deliveryBuy it. There’s no prize for building your own.
    SupportingNecessary, company-specific, but not what customers pay forDeploy pipelines, service templates, observability setup, shared workflow toolingThis is where platforms belong — optimise the common processes every team repeats.
    CoreWhat makes the business differentProduct features, domain logic, the thing on the pitch deckProduct teams own it. The platform’s job is to keep their attention here.

    The output of a platform isn’t the tooling. It’s reduced cognitive load: fewer decisions, fewer tickets and less yak-shaving for the teams delivering the core.

    Where platforms fit: buy generic subdomains, build platforms for supporting ones, and leave the core to product teams.

    A quick test

    Before investing in a platform capability, ask three questions:

    1. Is every team rebuilding this themselves?
    2. Is it genuinely not a differentiator?
    3. Does no off-the-shelf tool fit well enough?

    Three yeses means a supporting capability and a platform candidate. A “no” to the second means a product team should own it. A “no” to the third means buy and integrate.

    An example

    Imagine a company where several teams ship web services. Every new service needs a repo, a deploy pipeline, a test harness and monitoring — and each team builds those from scratch. That scaffolding is supporting: needed, specific, not differentiating. A platform should offer it as a paved road. The business logic inside each service is core and stays with the teams. The underlying cloud hosting is generic: buy it.

    The trade-offs

    • The lines move. Yesterday’s core becomes tomorrow’s commodity (think of how many companies once ran their own mail servers). Revisit the map.
    • “Supporting” is where platform teams over-build. The cure is treating developers as customers: research their pain first, and measure adoption rather than mandating usage.
    • Agents change the audience. If AI agents are going to create services and run pipelines too, the supporting layer needs stricter contracts and better errors than humans ever demanded — see What Makes an AI Agent.

    In practice

    On a low-code workflow platform I led the UI for, this framing settled arguments quickly. Diagram rendering and forms were generic — we used well-supported open-source libraries rather than inventing our own. The workflow building blocks every use case needed were supporting, so we invested in reusable components and a catalogue of tested pieces. The network logic of each use case was core and belonged with the teams who understood it. The same thinking shaped Building a Graph Component Library: we built in-house only once it was clear the capability was specific enough, and costly enough to rent, to justify it.

    Platforms distil domain expertise

    A good platform doesn’t try to know everything. Its job is to let the domain experts define the behaviour while it supplies the framework that renders, validates and runs it. It’s tempting, with the best intentions, to build a product end to end yourself; but for a product to make sense end to end, each end needs its own expert’s guidance. I’ve seen the same shape with network engineers defining workflows through schemas, and with quants defining products the UI renders without custom screens (Keep the UI Dumb: Let Domain Experts Publish Schemas).

    • #platform-engineering
    • #domain-driven-design
    • #cognitive-load
    • #strategy

    ↪ Links to (3)