Skip to content

Design Principles

CharacteristicDetail
Browser-only100% in-browser; no backend required for core functionality
Event-sourced + CQRSMutations are appended events; documents are derived projections
Plugin systemArtifact capabilities are composed via plugins, not hardcoded
iframe isolationArtifacts run in sandboxed iframes; no host-page DOM access
JSON-LD documentsPortable, machine-readable, schema.org-typed state
CDN deliveryBundles served from jsDelivr; no npm install needed at runtime
Architecture as CodeCALM models define boundaries; dependency-cruiser validates in CI
PrincipleWhat it means
Event-sourced + CQRSAll mutations are appended events; projections are derived from reduce(EventLog).
Client-firstAll state lives in the browser. APIs are an opt-in evolution, not a starting point.
TDD via GherkinBehavior is specified in .feature files before code.
DDD separationDomain is independent of rendering.
Semantic interopDocuments use schema.org.
Architecture as CodeCALM models define every system boundary; CI validates compliance.