RealComposer
Architecture & BFF

Server-Driven UI

Direct Definition

Server-driven UI is a pattern where the server returns a description of screens, components, and actions rather than only raw domain data. Clients interpret the schema to render native or web interfaces, enabling rapid layout changes without app store releases.

Technical Architecture & Deep-Dive

Mobile teams use server-driven UI to ship promotional layouts, onboarding experiments, and form changes from the backend. The payload might be JSON with component types, styles, and binding keys.

A Backend for Frontend layer is ideal: it composes multiple upstream APIs into one server-driven tree tuned for phone width, strips PII, and signs action URLs. That keeps client binaries thin while preserving type checks on allowed component kinds.

Key Architectural Benefits

Ships UI changes without waiting on app review cycles.
Centralizes business rules for layout eligibility.
Lets one API serve iOS, Android, and web interpreters.
REALCOMPOSER EDGE WORKSPACE

Implement Server-Driven UI at the Edge

Deploy lightweight API aggregation, edge caching, and secret injection in minutes without Docker containers or complex servers.

START BUILDING FREE

Frequently Asked Questions

Q:Is server-driven UI the same as HTML?

Both separate structure from client logic. Server-driven UI usually uses a compact component schema interpreted by native SDKs rather than a full browser DOM.

Related Architecture Concepts

Ready-to-Use Edge Recipes