Section 3 of 25
Vocabulary
Contents
| Term | Meaning | Front-end equivalent |
|---|---|---|
| Tier | A kind of crate: kit, store, drivers, core, app. Tiers are stacked and depend only downward. |
A library type in Nx (type:util, type:data-access, …) |
| Slice | One feature of the product, such as run, chat or skill. |
A domain folder, src/sections/<area> |
| Layer | A file inside a slice with a fixed name and role: model.rs, logic.rs, store.rs, service.rs. |
feature/, ui/, data-access/, util/ |
| Actor | The single owner of long-lived state: Msg → update → Effect. |
An NgRx store: action → reducer → effect |
| Handle | The only door into an actor from outside. | inject(Store) |
| Snapshot | What the window sees of an actor, published through a watch channel. |
select(…) |
| Entry | A way the outside world calls the backend: a Tauri command, an MCP server, a local bridge, a remote hub. | A screen component |
| Query | A read without side effects. | A selector |
| Command | A change of state. A Tauri command is something else: the function the window invokes, which may run a query or a command. | An action |
| Event | The backend telling the front-end that something changed, without being asked. | A push into a store |
| Platform | An operating system we build for: macos, linux, windows. |
A browser target |
| Platform contract | A function in drivers::platform that means the same thing on every operating system. |
A polyfill |
| Plugin | A feature the user can switch on or off: one or more slices with a manifest (section 23, optional). | A lazy-loaded feature library |
| Base slice | A slice that is always on; it never imports a plugin slice. | A shell library |
| Hook | An extension point a base slice offers and plugins answer with data. | An injection token with multi: true |
Three of these are easy to confuse, so here is the picture to keep in mind: tiers are the floors of a building, slices are the apartments on the core floor, and layers are the rooms inside each apartment.