Skip to main content

Reference Architecture Worked Solutions

Why this page matters

Blueprints become useful when they produce artifacts. This page gives compact worked solution packs for each reference architecture.

SaaS dashboard solution

ArtifactExample
route matrixlogin SSR/no-store; dashboard server shell plus client panels; orders client-heavy table
data ownershiptenant/role from session; filters in URL; server data through BFF/query cache
ADRchoose modular monolith before microfrontends until independent deploy pressure is proven
risk registerauthorization drift, table INP, export failures, cross-feature imports
rolloutfeature flags by route, beta tenants, route Web Vitals and mutation error dashboard

Ecommerce solution

ArtifactExample
route matrixhomepage/listing static or cached; product cached with revalidation; cart/checkout dynamic
data ownershipcatalog cacheable; cart server/session-owned; payment provider isolated
ADRthird-party scripts delayed and governed by owner/purpose/data class
risk registerstale price, inventory mismatch, tag latency, checkout script failure
rolloutvariant canaries, cache purge plan, checkout kill switches

Design-system solution

ArtifactExample
package maptokens -> themes -> primitives -> components -> product apps
data ownershipAPI/version ownership in platform; adoption metrics from consuming apps
ADRsemantic tokens become public contract; primitive values stay internal
risk registerforks, inaccessible primitives, breaking changes, brand leakage
rolloutmigration guide, deprecation window, codemods, adoption scorecard

Microfrontend solution

ArtifactExample
boundary mapshell owns auth/nav/observability; domain apps own routes and data
data ownershipno shared mutable client store across microfrontends
ADRadopt microfrontends only for independently shipped bounded contexts
risk registerduplicate runtimes, contract drift, shell monolith, cross-app coupling
rolloutone pilot domain, compatibility matrix, runtime budget gate

GenUI copilot solution

ArtifactExample
boundary mapdeterministic shell, orchestrator, registry, tool gateway, RAG, evals
data ownershipretrieved sources cited; tool output authoritative only after server policy
ADRmodel selects approved schemas, never arbitrary executable UI
risk registerprompt injection, unsafe tool call, stale retrieval, inaccessible generated UI
rolloutinternal canary, eval gate, kill switch by tool class, audit dashboard

Offline-first solution

ArtifactExample
data maplocal DB for assigned work; server remains authoritative after sync
mutation modeldurable queue with idempotency key and visible sync state
ADRconflict policy is per domain object, not global last-write-wins
risk registerdata loss, hidden conflict, sensitive storage, stale permissions
rolloutfield pilot, queue-age dashboard, conflict review, emergency export path

High-traffic funnel solution

ArtifactExample
route matrixstatic/cached landing; hydrated lead form island; dynamic submission API
data ownershipcampaign/variant assignment at edge; lead form validated server-side
ADRexperiments cannot bypass route budget or script governance
risk registerLCP regression, attribution mismatch, cache leak, form timeout
rolloutvariant-level RUM, script kill switches, conversion plus Web Vitals dashboard

Review checklist

  • Does each solution include route/data decisions?
  • Is there at least one ADR-worthy tradeoff?
  • Is rollout tied to measurable production signals?
  • Are risks written with owners and mitigations?

Exercises

  1. Pick one worked solution and expand it into a full capstone packet.
  2. Write the ADR for one rejected alternative.
  3. Create a risk register with owner, severity, mitigation, and review date.

Source lens

Use these worked solutions with the reference architecture blueprints, capstone solution packs, and Part XII review artifacts.