Part 3: Core Concepts
This part provides a deep dive into EventCore’s core concepts and design principles. Understanding these concepts will help you build robust, scalable event-sourced systems.
Chapters in This Part
- Commands and the Macro System - Deep dive into command implementation
- Events and Event Stores - Understanding events and storage
- State Reconstruction - How EventCore rebuilds state from events
- Multi-Stream Atomicity - The key innovation of EventCore
- Error Handling - Comprehensive error handling strategies
What You’ll Learn
- How the
#[derive(Command)]
macro works internally - Event design principles and best practices
- The state reconstruction algorithm
- How multi-stream atomicity is guaranteed
- Error handling patterns for production systems
Prerequisites
- Completed Part 2: Getting Started
- Basic understanding of Rust macros helpful
- Familiarity with database transactions
Time to Complete
- Reading: ~30 minutes
- With examples: ~1 hour
Ready to dive deep? Let’s start with Commands and the Macro System →