From 1d1a637608bf8ebc904209544cf1cb01fac0bb11 Mon Sep 17 00:00:00 2001 From: "shoney.arickathil" Date: Mon, 10 Aug 2026 14:10:38 +0200 Subject: [PATCH] docs: update ecommerce/pricing examples and wo-seg migration doc --- docs/examples/ecommerce/README.md | 2 +- docs/examples/pricing/README.md | 2 +- docs/runtime/database/07-wo-seg-migration.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/examples/ecommerce/README.md b/docs/examples/ecommerce/README.md index ae8b3fd..d493501 100644 --- a/docs/examples/ecommerce/README.md +++ b/docs/examples/ecommerce/README.md @@ -112,5 +112,5 @@ The [`blog` sample](../blog/) is still a single-app layout (`types/`, `ui/`, `lo - **Master plan:** [`../../plan/ui/00-overview.md`](../../plan/ui/00-overview.md) - **Language spec the `##ui`/`##app`/`policy` blocks obey:** [`../../runtime/database/06-lowcode-fullstack.md`](../../runtime/database/06-lowcode-fullstack.md) - **Wire protocol the app binaries speak to the DB daemon:** [`../../runtime/database/04-client-api.md`](../../runtime/database/04-client-api.md) -- **v1 template engine that `.htmlx` compilation will reuse:** [`../../../reference/crates/wo-htmlx/`](../../../reference/crates/wo-htmlx/) +- **v1 template engine that `.htmlx` compilation will reuse:** [`../../../.dev/reference/crates/wo-htmlx/`](../../../.dev/reference/crates/wo-htmlx/) - **Checkout transaction that's the canonical cross-paradigm test:** [`shared/logic/checkout.wo`](shared/logic/checkout.wo) diff --git a/docs/examples/pricing/README.md b/docs/examples/pricing/README.md index 6e35c44..503d1c8 100644 --- a/docs/examples/pricing/README.md +++ b/docs/examples/pricing/README.md @@ -10,7 +10,7 @@ A `Price` class and a `Product` class with methods — products have prices — ## Layout -The UI follows **MVC** ([`docs/plan/exploration/ui/08-mvc-structure.md`](../../plan/exploration/ui/08-mvc-structure.md)), with the same screen anatomy as the v1 Angular app (`reference/writeonce-app/src/app/article/`) collapsed into the single binary: the **model** is the class itself, the **view** is plain `.htmlx` with external `.scss`, and the **controller** is a `.wo` file that binds the model into the view and is the only place UI may call class methods. +The UI follows **MVC** ([`docs/plan/exploration/ui/08-mvc-structure.md`](../../plan/exploration/ui/08-mvc-structure.md)), with the same screen anatomy as the v1 Angular app (`.dev/reference/writeonce-app/src/app/article/`) collapsed into the single binary: the **model** is the class itself, the **view** is plain `.htmlx` with external `.scss`, and the **controller** is a `.wo` file that binds the model into the view and is the only place UI may call class methods. ``` pricing/ diff --git a/docs/runtime/database/07-wo-seg-migration.md b/docs/runtime/database/07-wo-seg-migration.md index 751e1df..ddd0c4e 100644 --- a/docs/runtime/database/07-wo-seg-migration.md +++ b/docs/runtime/database/07-wo-seg-migration.md @@ -44,7 +44,7 @@ Each transition is reversible — flip one feature flag or swap one trait object ## Proposed Crate Layout -Port the C++ prototype (`prototypes/wo-db/src/*`) to Rust, split along the natural seams. New-runtime crates are unprefixed; v1 crates keep `wo-` in `reference/crates/`. +Port the C++ prototype (`prototypes/wo-db/src/*`) to Rust, split along the natural seams. New-runtime crates are unprefixed; v1 crates keep `wo-` in `.dev/reference/crates/`. | Crate | Purpose | Prototype source | Phase | | --- | --- | --- | --- | @@ -60,9 +60,9 @@ Port the C++ prototype (`prototypes/wo-db/src/*`) to Rust, split along the natur All 15 crates (these 14 plus the existing `rt` binary crate) now exist as empty skeletons in `crates/`. See [`crates/README.md`](../../../crates/README.md) and [`docs/plan/done/01-scafolding-crates.md`](../../plan/done/01-scafolding-crates.md) for the scaffolding plan that landed them. -Today's `reference/crates/wo-seg` and `reference/crates/wo-index` remain in the v1 nested workspace for the entire migration window. They disappear only at the end of Phase D. +Today's `.dev/reference/crates/wo-seg` and `.dev/reference/crates/wo-index` remain in the v1 nested workspace for the entire migration window. They disappear only at the end of Phase D. -`reference/crates/wo-store` evolves but survives — it becomes the writeonce-specific glue layer (trait, article domain model, content-directory cold-start) whose backend is swappable. +`.dev/reference/crates/wo-store` evolves but survives — it becomes the writeonce-specific glue layer (trait, article domain model, content-directory cold-start) whose backend is swappable. ## Phase A — Abstract the Article Store