PXML UI tutorials
These tutorials cover the complete PXML 1.0 UI authoring contract for developers building PCL.UI.Next interfaces. Every example keeps the build path visible and verifiable:
text
PXML source → validation → expansion and optimization → PXB → PCL.UI.Next RuntimeLearning path
- Create your first UI: write, validate, compile, and inspect a PXB.
- Syntax, nodes, and properties: namespaces, primitives, components, literals, and markup expressions.
- Layout and sizing: Row, Column, Grid, Overlay, Absolute, Scroll, and constraints.
- Bindings, commands, and events: pure state reads and explicit side-effect boundaries.
- Conditions, lists, and virtualization: choose If, Switch, For, or VirtualList and maintain stable keys.
- Components, templates, and slots: compile-time reuse without a runtime control object graph.
- Styles, themes, and resources: PXSS, theme tokens, resources, and localization.
- Motion, interaction, and accessibility: transitions, FLIP, behaviors, focus, and semantics.
- Overlays, navigation, and NativeHost: lifecycle, barriers, pages, and platform controls.
- Build, debug, and release: reproducible source-to-PXB integration.
- Complete page example: combine the concepts into a download page.
Conventions
- XML snippets describe PXML 1.0 language semantics. The standalone compiler and target Runtime profile must both support the referenced nodes, properties, and ABI.
bindreads state and performs pure computation; business side effects go throughcmd.- Components, templates, PXSS selectors, and resource names resolve at build time. Runtime keeps no XML DOM and does not discover controls through reflection.
- The compiler transforms build inputs. PCL.UI.Next Runtime owns windows, input, layout, animation, rendering, and platform NativeHost controls.
Follow the chapters in order for a complete path, or use the sidebar and search as a reference.
