Architecture
Batoi RAD separates the public web root, application runtime, reusable framework services, and application-owned features. This boundary keeps public assets intentionally publishable while configuration, data, logs, and application logic remain outside direct web access.
Request Flow
Routes should coordinate a request, not absorb an entire feature. Reusable business rules belong in focused application classes. Rendering stays in page templates, while data access and policy checks remain server-side.
Design Principles
- Expose only deliberate public assets and entry points.
- Keep identity, authorization, and workspace context explicit.
- Validate input before business rules or persistence.
- Keep framework services reusable and application features independently maintainable.
- Treat audit evidence, errors, and operational signals as part of the application contract.