Overview of Core Rock Concepts
developThe Core Documentation covers cross-cutting concepts that recur across multiple domains in the Rock platform. These patterns are used by engineers writing platform code or authors of domain-specific documentation to ensure consistency in areas like entity resolution, caching, and lifecycle management. Key architectural patterns include:
- Caching: Mechanisms for
ItemCache,EntityCache, andModelCacheusing save-hook-driven eviction. - UI Patterns: The Cascade Picker and Composite Field Type patterns for complex form inputs.
- Data Modeling: Defined Type/Value patterns, PersonAlias semantics, and Entity Reference resolution.
- Lifecycle Management: The
RockContextunit-of-work model andEntitySaveHook<TEntity>patterns. - Extensibility: Obsidian Block lifecycles and Lava Data Object conventions.