Skip to main content
Batoi RAD Docs

Application Structure

Organize routes, application classes, templates, assets, and private runtime data.

Version 1.x Active framework documentation Reviewed Jul 21, 2026 Next review Oct 21, 2026

Owner: Batoi Engineering Reviewed by: Batoi RAD Maintainers Source revision: bb9902c

Browse Batoi RAD Documentation Application Structure

Application Structure

A RAD application is easiest to maintain when each layer has one clear responsibility.

AreaResponsibility
Public surfaceEntry points and reviewed browser assets
MicroserviceletsFeature routes and feature-scoped behavior
Application classesReusable domain, policy, and persistence operations
ThemesShared page shells and presentation structure
ConfigurationEnvironment-specific settings kept outside public access
Runtime dataPrivate files, cache, temporary artifacts, and logs

Feature Boundary

Group a coherent feature in one microservicelet. Keep request loading in the route controller, document rendering in the pagepart, route-specific styles in the prepart, and route-specific browser behavior in the postpart.

Avoid putting credentials, private downloads, database exports, debug traces, or runtime configuration beneath a public asset path. Files that require authorization should be delivered by permission-checked handlers.

Maintainability Check

A reviewer should be able to identify the request boundary, authorization decision, business operation, persistence operation, and rendered output without tracing unrelated features.