Documentation
¶
Index ¶
- func HandleActionURLPattern(w http.ResponseWriter, r *http.Request)
- func HandleCheatsheet(w http.ResponseWriter, r *http.Request)
- func HandleDeclarativeViews(w http.ResponseWriter, r *http.Request)
- func HandleEmbeddedPages(w http.ResponseWriter, r *http.Request)
- func HandleFrameEmpty(w http.ResponseWriter, r *http.Request)
- func HandleFrameOne(w http.ResponseWriter, r *http.Request)
- func HandleFrameTwo(w http.ResponseWriter, r *http.Request)
- func HandleFrames(w http.ResponseWriter, r *http.Request)
- func HandleIncremental(w http.ResponseWriter, r *http.Request)
- func HandleNested(w http.ResponseWriter, r *http.Request)
- func HandleNesting(w http.ResponseWriter, r *http.Request)
- func HandleOverview(w http.ResponseWriter, r *http.Request)
- func Init(m *http.ServeMux) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleActionURLPattern ¶
func HandleActionURLPattern(w http.ResponseWriter, r *http.Request)
HandleActionURLPattern documents the special URL prefixes the framework interprets in link hrefs and form actions: ?, ^, ~, and bare paths.
func HandleCheatsheet ¶
func HandleCheatsheet(w http.ResponseWriter, r *http.Request)
HandleCheatsheet serves /basics/cheatsheet — the dense one-page reference. Same content lives at AGENTS.md in the repo root; agents reaching the repo via grep find it there, agents reaching the site via llms.txt find it here.
func HandleDeclarativeViews ¶
func HandleDeclarativeViews(w http.ResponseWriter, r *http.Request)
HandleDeclarativeViews positions BESPA in the declarative typed view-tree family (SwiftUI, Jetpack Compose, Flutter). The audience is a developer coming from one of those frameworks who wants confirmation that their mental model transfers.
func HandleEmbeddedPages ¶
func HandleEmbeddedPages(w http.ResponseWriter, r *http.Request)
HandleEmbeddedPages is the comparison page that orients the reader across the framework's three ways of putting one page inside another: inline embeds, overlays (modal / side panel), and named frames. The deep-dive pages then explain each in detail.
func HandleFrameEmpty ¶
func HandleFrameEmpty(w http.ResponseWriter, r *http.Request)
HandleFrameEmpty renders a placeholder page used as the initial content of an unloaded named frame.
func HandleFrameOne ¶
func HandleFrameOne(w http.ResponseWriter, r *http.Request)
HandleFrameOne is the demo page loaded into frame "one". It contains a link that targets frame "two" — cross-frame navigation.
func HandleFrameTwo ¶
func HandleFrameTwo(w http.ResponseWriter, r *http.Request)
HandleFrameTwo is the demo page loaded into frame "two". It contains a link that targets _top — escaping the frame structure.
func HandleFrames ¶
func HandleFrames(w http.ResponseWriter, r *http.Request)
HandleFrames demonstrates targeting a named embedded frame.
func HandleIncremental ¶
func HandleIncremental(w http.ResponseWriter, r *http.Request)
HandleIncremental demonstrates how widgets are dynamically redrawn in response to state changes.
func HandleNested ¶
func HandleNested(w http.ResponseWriter, r *http.Request)
HandleNested is the page rendered inside the nesting demo's modals/panels/inline embed.
func HandleNesting ¶
func HandleNesting(w http.ResponseWriter, r *http.Request)
HandleNesting demonstrates the nesting of a page within another page.
func HandleOverview ¶
func HandleOverview(w http.ResponseWriter, r *http.Request)
HandleOverview is the landing page for the Fundamentals track. It explains the technical model — server-side rendering + incremental updates + a state-driven redraw pass — and links to the deep-dive pages.
Types ¶
This section is empty.