Skip to content

VMx framework across C#, Python, TypeScript, Swift, and Rust

1. VMx

One specification. Five idiomatic flavors. Predictable MVVM behavior across UI stacks.

VMx is a UI-neutral MVVM framework for building viewmodel trees with an explicit lifecycle, a message hub, commands, and observable collections. One language-neutral specification defines its behavior, and the C#, Python, TypeScript, Swift, and Rust flavors implement it in their own language idioms.

Install

Install a public package or reference a VMx checkout, flavor by flavor.

Getting Started

Build the shared component-plus-composite contract in each idiomatic flavor.

Architecture Map

Walk the system, class, and lifecycle diagrams, then browse the full gallery.

Core Concepts

Learn the lifecycle, ownership, messaging, and the complete framework surface.

1.1. Availability

Python, Swift, TypeScript, and the React adapter install from public registries. C# and Rust are complete in source but not yet published, so a project uses them from a VMx checkout.

Flavor Public package Source line
Python vmx 3.23.0 on PyPI 3.30.0
Swift VMx 3.24.0 through SwiftPM 4.0.0
TypeScript @thekaveh/vmx 3.30.0 on npm 3.31.0
React adapter @thekaveh/vmx-react 0.1.1 on npm 0.1.3
C# Not yet published to NuGet 3.30.0
Rust Not yet published to crates.io 0.37.0

A source line can be ahead of its public package. Installation shows how to install each flavor from a package or from a VMx checkout.

1.2. Why VMx

  • Lifecycle is part of the contract: construction, destruction, and disposal follow one state machine in every flavor.
  • spec/ is the source of truth for behavior, and a shared conformance catalog checks every flavor against it.
  • Each flavor keeps its language's naming and concurrency idioms instead of a lowest-common-denominator API.
  • The core makes no UI assumption; the integration recipes bind it to desktop, terminal, and web hosts.