API Boundaries and Domain-Driven Design

#64 - Principles for Designing Successful Web APIs - James Higginbotham

Topic 5 of 7

Published Nov 15, 2021 · Clip 38:56–43:51 (4:55)

James connects API boundaries to Domain-Driven Design concepts, noting the ADDR process deliberately incorporates DDD techniques like EventStorming without requiring DDD expertise. He explains that boundaries segment large, unwieldy APIs into cohesive areas, applying the fundamentals of high cohesion and loose coupling. He clarifies that REST resources correspond to entities but APIs should scope to aggregates, which hint at API boundaries, and warns that network-based APIs must be more coarse-grained than in-process DDD codebases to avoid chattiness.