Overview of Boutique's architecture
mainBoutique is a persistence library designed for SwiftUI, UIKit, and AppKit applications. It uses a dual-layered memory + disk caching architecture to provide real-time updates and full offline storage.
Key characteristics include:
- Automatic Persistence: Data saved to a
Storeis automatically persisted to disk. - Real-time Updates: State changes propagate to all views automatically.
- Simple API: Data is exposed as regular Swift arrays or values, minimizing the need for complex database logic.
- Architecture Agnostic: While it promotes a Model-View-Controller-Store pattern, it can be integrated into any existing architecture.