= title ?>
= body ?>
void render_nav_link(String href, String label)
{
<>= label ?>>
}
void render_feature_card(String eyebrow, String title, String body)
{
<> = body ?>= title ?>
Rendered at = time_format_utc(\"%F %T\") ?>
\n" "\t>\n" "}\n"; String snippet_forms = "RENDER(Request& context)\n" "{\n" "\tif(context.post.has(\"email\"))\n" "\t\tcontext.session[\"flash\"] = \"Saved \" + context.post[\"email\"].to_string();\n" "\t<>\n" "\t\t\n" "\t\t if(context.session.has(\"flash\")) { ?>\n" "\t\t\t= context.session[\"flash\"] ?>
\n" "\t\t } ?>\n" "\t>\n" "}\n"; String snippet_components = "COMPONENT(Request& context)\n" "{\n" "\t<>\n" "\t\t= context.props[\"body\"] ?>
\n" "\t\tUCE is a direct web runtime: files are pages, templates live next to control flow, nginx fronts the whole thing, and a request can compile into a wasm module on first hit. It is built in the image of PHP's non-architecture, but with an explicit request object, component rendering, and a built-in WebSocket broker.
Put code where the page lives. Let runtime state die with the request. Keep deployment boring. Treat server-rendered HTML as the default, and add richer behavior only where it pays for itself.
Files on disk, explicit request handlers, template tags, reusable partials, request-scoped state, and operationally plain deployment.
Mandatory client-side hydration, giant application shells, hidden routing layers, and pretending every website is a desktop app in a trench coat.
Built-in components, markdown rendering, current request data in one place, and a broker-backed WebSocket story that stays inside the same runtime.
The examples below are modeled on the current runtime API and the published demo pages. The point is not abstraction depth. The point is that the code stays obvious.
The runtime is still experimental. The point of this site is to explain the model, show the current surface area, and make it easy to evaluate the demos and docs.
Because the design instinct is similar: dynamic pages as files, shallow deployment, and a bias toward solving the request in front of you instead of building an application architecture altar.
The request object is explicit, components and named handlers are first-class, markdown support is built in, and WebSockets use a broker-owned connection model inside the runtime.