Concepts
The concepts section helps you understand why Protean works the way it does. It covers foundational concepts, architectural patterns, design decisions, and the internal machinery.
For factual lookup of specific options, see Reference. For step-by-step instructions, see Guides.
-
Philosophy & Principles
The convictions that guide every design decision in Protean.
-
Foundations
Core DDD concepts: ubiquitous language, bounded contexts, identity, invariants, streams.
-
Architecture Patterns
DDD, CQRS, and Event Sourcing as implemented in Protean.
DDD · CQRS · Event Sourcing
-
Building Blocks
What each domain element is, its purpose, and its key characteristics.
-
Async Processing
The engine, subscriptions, outbox pattern, priority lanes, and stream categories.
-
Ports & Adapters
How Protean separates domain logic from infrastructure through ports and adapters.
-
Internals
Deep dives into the field system, shadow fields, query system, and event sourcing mechanics.