Skip to content

Glossary

The words this documentation, the API and the code use, each in exactly one sense. Where a term has a near-synonym in everyday speech, the entry says which word is not used for it.

The surface

  • Surface: the representation of what a person last asked for, held on the server as an event sourced entity. It has a shape, may have an anchor, carries modifiers, may hold a pending act, keeps a rail, lists the devices showing it, and has a version. Not a screen, a page or a view.
  • Shape: what the surface is showing, named by the consumer's vocabulary: a shelf, an item, a result. Not a screen: the same shape renders differently on each device class.
  • Anchor: the thing the shape is about, by kind and id: a theme, a market, a person. The vocabulary names the kinds.
  • Modifier: a named qualifier on the shape, by key and value: a time, an order, a stance. The vocabulary names the keys. Not a filter or a parameter.
  • Pending: an act the person has begun and not committed, held on the surface so every device shows it. Committing it is the consumer's own route, never the surface's.
  • Version: a counter on the surface, up by one on every change recorded, by which a renderer orders what it is given.
  • Open: to give a surface its owner and home shape. A surface not opened holds nothing and refuses every move.
  • Close: to delete a surface, freeing its id.

Changing it

  • Move: one change to the surface, with as many parts as it names, applied together. Not an update, a patch or a navigation.
  • Request: the words a person said or typed that led to a move, kept on the rail.
  • Rail: the last few requests, newest first, each with the surface it left; the way back. Not a history: it keeps only its length.
  • Utterance: one stretch of speech, named by the device that hears it, so the moves made from its partial words share one rail entry.
  • Say: to hand words to the interpreter and apply the move it makes.
  • Hear: to ask the interpreter what it would make of words, with nothing persisted.
  • Interpreter: the consumer's function from the surface and a request's text to a move, or to a reason it could not make one.
  • Vocabulary: what a consumer declares a surface may hold: the shapes, the anchor kinds, the modifier keys, the pending kinds, the device classes, the home shape, the rail's length and the focus keys.

Devices

  • Device: anything rendering a surface, named by an id of its own and a device class.
  • Device class: how a device renders: phone, laptop, tv, or whatever the vocabulary names.
  • Showing: a device's record on the surface, with its class and whether it is in a room.
  • Room: a device setting that marks it as showing the surface where others can see. A renderer hides what is personal.
  • Renderer: the consumer's code that draws a surface on one device class. The library ships none.
  • Focus: where the attention is, beside the surface and apart from it: the card under a thumb, the outcome a finger rests on. The latest value only; its keys are the vocabulary's focus keys. Not a selection: nothing is chosen by focusing it.