Skip to main content
Docs
⌘K
Deutsch
English
On this page
16.1 Edit-Lifecycle (User types in Editor)
16.2 Generate-Lifecycle
16.3 Deploy-Lifecycle
Docs
/
16. Traffic-Flow: Three Lifecycles
16. Traffic-Flow: Three Lifecycles
16.1 Edit-Lifecycle (User types in Editor)
#
DB
API
Web SPA
Browser
DB
API
Web SPA
Browser
User types "
debounce 800 ms
PATCH /pages/:id { mdContent }
UPDATE pages SET mdContent, mdHash
{ page }
postMessage(RENDER_DOCS) to Iframe
DB
API
Web SPA
Browser
DB
API
Web SPA
Browser
User types "
debounce 800 ms
PATCH /pages/:id { mdContent }
UPDATE pages SET mdContent, mdHash
{ page }
postMessage(RENDER_DOCS) to Iframe
No LLM-Call. No Generate. Only DB-Update + Live-Preview Re-Render with Client-Mermaid.
16.2 Generate-Lifecycle
#
DB
Cache
LLM
Pipeline
API
Web
DB
Cache
LLM
Pipeline
API
Web
alt
[cache miss]
POST /pages/:id/generate
choose + run pipeline
SELECT WHERE mdHash = ?
chatComplete(mapper)
ComponentMapping[]
INSERT
prerender mermaid
{ html, sections }
UPDATE pages SET generatedJson
{ html, sections, validation }
DB
Cache
LLM
Pipeline
API
Web
DB
Cache
LLM
Pipeline
API
Web
alt
[cache miss]
POST /pages/:id/generate
choose + run pipeline
SELECT WHERE mdHash = ?
chatComplete(mapper)
ComponentMapping[]
INSERT
prerender mermaid
{ html, sections }
UPDATE pages SET generatedJson
{ html, sections, validation }
16.3 Deploy-Lifecycle
#
DB
CF
Generator
API
Web
DB
CF
Generator
API
Web
loop
[poll every 2s]
POST /deploy
build all pages × all languages
SiteFile[]
upload deployment
deploymentId
INSERT deployment
GET /deployments/:id
status check
{ status }
{ status }
open deployment.url
DB
CF
Generator
API
Web
DB
CF
Generator
API
Web
loop
[poll every 2s]
POST /deploy
build all pages × all languages
SiteFile[]
upload deployment
deploymentId
INSERT deployment
GET /deployments/:id
status check
{ status }
{ status }
open deployment.url