ShtukbaseStandard
page/base/layers.md

Layers

What a project layer is: a section of the base with its own owner, subject and ontology. What a layer consists of and how a package installs it.

Page fields (1)
icon🧅

A layer is a section of the base with its own owner, subject and ontology: business, product, deal, work, norms and so on. We use the word "layer" in one sense: a project layer.

Layers are of two groups. Project layers describe the subject: the customer's product and the terms of work. Meta layers describe how the project is run and how the base itself is built.

What a layer consists of

PartWhere it liesWhat it is
Layer page/<layer>.mdwhy the layer exists and which question it answers, who the owner is, links to the ontology, collections, contours and lenses
Layer ontology/<layer>/ontology.mdwhat the layer describes and what it does not, words, types and fields, bridges into other layers
Collections/<layer>/<name>.md and the folder /<layer>/<name>/the records of the layer, one collection per kind
Contours/<layer>/contours/the states of the layer's records (package contours)
Lensesnext to what they showHTML built from the layer's markdown (package lenses)

The project root holds only the main index.md, the layer pages <layer>.md and their folders.

A package installs a layer

A layer is brought by a package: its pages lie in the package's pages/ as they will lie in the project (pages/work.md, pages/work/tasks.md). The package depends on layers. Every project path has one owner package.

A package that brings a collection adds its kind to the map "Where things lie": each kind of record has exactly one place. This is norm SCH-R04; its enforcer is the check placement.

A layer that has no package yet is built by the project itself by the same layout.

The package Layers puts this page at /base/layers.md.Source text