8.1. Examples¶
VMx ships a small set of examples with two jobs: prove the minimal surface in small demos and prove the full cross-language contract in the flagship Notes Workspace portfolio.
8.1.1. Start Here¶
- Example Diagram Gallery for one generated VMx architecture diagram per committed example app, except the NiceGUI page.
- Notes Workspace for the full stable four-flavor scenario.
- VM Layer Map when you want the component-to-VM mapping first.
- Rust TUI Notes Showcase for the Rust-native full MVVM terminal example.
- Smaller Examples for the C#, Python, TypeScript, and Rust console demos, plus the WPF, tkinter, inspector, and NiceGUI demos.
8.1.2. Portfolio¶
| Flavor | Small demos | Scenario role |
|---|---|---|
| C# | Console HelloVMx, WPF Todo |
Avalonia flagship |
| Python | Console hello_vmx, tkinter Todo, Textual Inspector |
Textual flagship, NiceGUI host over its VMs |
| TypeScript | Console hello-vmx |
React flagship |
| Swift | none beyond the flagship | SwiftUI flagship |
| Rust | Console hello-vmx |
Reduced Ratatui companion |
8.1.3. Reading Strategy¶
- Use the smaller examples when you want the minimum lifecycle, hub, and builder shape.
- Use Notes Workspace when you want pagination, search, dialogs, notifications, theme state, or cross-flavor parity.
- Use the source READMEs for full run commands and per-project layout:
C# examples (
examples/csharp/README.md), Python examples (examples/python/README.md), TypeScript examples (examples/typescript/README.md), Swift flagship (examples/swift/notes-showcase/README.md), Rust examples (examples/rust/README.md).