basics

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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.

func Init

func Init(m *http.ServeMux) error

Init registers the web handlers with the global mux.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL