blob: e77cc2d99b2151881ad97c4a6342b92e70979a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# ADR 0001: A Routing Kernel, Not a Framework
- Status: Accepted
- Date: 2026-08-17
## Context
The routing/middleware logic from brett-parson.com is being extracted into a
reusable package. The temptation is to grow it into a general-purpose web
framework.
## Decision
miniroute ships routing, matching, middleware composition, and controller
resolution only. It deliberately owns no HTTP object implementations, no
container, no templating, no database, no session, and no configuration.
## Consequences
- The package stays small enough to explain end-to-end.
- Consumers own their concrete Request/Response and dependency wiring.
- Reuse is broad because the kernel makes no assumptions about an app's stack.
|