How thomasbleijendaal/rapidcms works
Main Components
a. Client-Side Components:
• Blazor UI Layer (RapidCMS.UI)
• Core Components (Forms, Editors, Buttons, Displays)
• Client-side Authentication
• Navigation System
• State Management
b. Server-Side Components:
• API Layer (RapidCMS.Api.WebApi / RapidCMS.Api.Functions)
• Repository Layer
• Authentication/Authorization
• Core Services
c. Data Layer:
• Abstract Repository Interface
• Concrete Repository Implementations
• Data Providers
• Entity Validation
Architecture Pattern Representation
• Presentation Layer (UI Components)
• Business Logic Layer (Core Services)
• Data Access Layer (Repositories)
• External Services Integration
Key Relationships to Highlight
a. Client-Server Communication:
• API endpoints
• Authentication flow
• Data synchronization
b. Component Interactions:
• UI to Core service calls
• Repository pattern implementation
• Plugin system integration
Deployment Options (show as alternate configurations)
a. Server-Side Blazor:
[Browser] <- HTTP -> [ASP.NET Core Server (Blazor Server + API + Repositories)]
b. WebAssembly:
[Browser (Blazor WASM + UI)] <- HTTP -> [API Server/Functions]
Special Features
• Model Maker Plugin
• Custom Component Integration
• Repository Flexibility
• Authentication Options
Specific Implementation Details
• How EditContext flows through the application
• Repository pattern implementation
• Plugin system architecture
• Authentication flow
Key Architectural Principles to Highlight:
• Separation of concerns between UI, business logic, and data access
• Pluggable repository pattern
• Flexible authentication/authorization
• Component-based UI architecture
• Support for both server-side and client-side deployment
This will provide a clear understanding of how RapidCMS components interact while maintaining its flexible and modular nature.