Skip to main content

Subdomain Classification

Generated from the model

This page is generated from model/model.yaml by scripts/gen_pages.py. Edit the model, then regenerate; CI fails when the page and the model disagree.

Domain-Driven Design splits a domain into Core, Supporting and Generic subdomains by how much competitive advantage each gives, not by size or difficulty. The evidence for the verdicts is on Benchmarks.

Problem space: the subdomains​

SubdomainWhat the business must be good atVerdictWhy
Pricing & Delivery ChargesItem prices, sale windows, the price of speed per tier, a binding total at purchaseCoreCost is the top abandonment reason [1]; the tier charge is where the network's promise becomes revenue.
Product DiscoveryFinding the right purchasable item fastSupportingCore candidate at scale; the engine itself is generic.
CartHolding intent, delivery quote and tier choice per shipment groupSupporting-
CheckoutOne purchase transaction across price, payment and the network's promise confirmationSupporting-
Product ContentDescriptions, media, attributes, categories for an item the network already knowsGenericBuy a PIM in production.
Customer PaymentsAuthorize, capture, release, refund through a payment providerGenericBuy a PSP.
Customer IdentitySign-in, credentialsGeneric, deferredD4: authentication stays off; sign-in is a synthetic shopper lookup by e-mail.
Notifications / Returns / Promotions / Reviews / Recommendations-LaterNotifications and returns are already network future contexts; promotions, reviews and recommendations are later phases.

Solution space: the bounded contexts​

Order management and customer accounts are deliberately absent: the network already owns them (customer-ordering). The six contexts map 1:1 onto the composable-commerce capability lists [18] minus those two.

Bounded contextClassificationTierBusiness modelEvolutionAggregates
pricingCorestorefrontRevenue (the price of speed per tier is where the network's promise becomes revenue)Custom-builtItemPrice, DeliveryChargeSchedule, TaxTable, PriceQuote
product-contentGenericstorefrontEngagement enabler (buy a PIM in production)CommodityProductContent, CategoryTree
product-discoverySupportingstorefrontConversion enabler (finding the right purchasable item fast)Custom-built(read side only)
shopping-cartSupportingstorefrontConversion (holding intent without losing the total-cost-up-front rule)Custom-builtCart
checkoutSupportingstorefrontConversion (the purchase transaction)Custom-builtCheckoutSession
customer-paymentsGenericstorefrontRevenue collection (buy a PSP)CommodityPaymentAuthorization, Refund

Count: 3 Supporting, 2 Generic, 1 Core.

Future contexts named by the model but not built in this phase:

ContextClassificationNote
customer-notificationsGenericAdopt the network's future context customer-notification (needs NG7: group status facts as customer-order events) rather than building a storefront twin; it would consume PaymentCaptured, PaymentReleased and RefundIssued.
promotionsSupporting (candidate)Coupons and promotions inside pricing; a later phase (D10).
identityGenericSign-in and credentials; deferred by D4 (no auth). Revisit only if auth is re-adopted for the storefront edge.
reviews-recommendationsSupporting (candidate)Reviews and recommendations; later (plan section 7).

The experience layer (storefront-bff, storefront-web) and the payment-provider-simulator stand-in carry no domain model and are not bounded contexts.