SPLENT overview

SPLENT is built in layers. A product line describes what can be combined, features are the pieces, a product is one combination, the framework assembles it, containers run it and releases ship it. Every file and every command belongs to one layer, so knowing the layers tells you where a change goes.

The six layers of SPLENT and how each one leads to the next WORKSPACE AND CLI where you work on every layer FORGE · PYPI · UVLHUB · MARKETPLACE where the layers are published 1 Product line the UVL model, features and constraints splent_spl_<name> spl:* each feature of the model is a package 2 Features versioned packages, extended through contracts splent_feature_<name> feature:* the product selects and pins them 3 Product one configuration of the line, with its pins <product>/pyproject.toml product:configure read at boot, in the model's order 4 Framework builds the app from the features at boot splent_framework create_splent_app() runs in a container 5 Infrastructure containers for development and production docker/, deploy/ derive, build, deploy published, and followed by servers 6 Delivery releases, the stable channel, deploying feature:release product:release
You decide the top three layers, the next two run what you decided, and the last one ships it. The CLI works on all six, and the ecosystem is where they are published.

The layers

Layer What it is Where it lives
Product line The UVL model, its features and their constraints splent_spl_<name>/, published on UVLHub
Features Versioned Python packages, one capability each splent_feature_<name>/
Product One configuration of the line, with the versions it pins <product>/
Framework The runtime that builds the app from the product’s features splent_framework
Infrastructure The containers the product runs in <product>/docker/, <product>/deploy/
Delivery Releases, the stable channel and the servers that follow it The forge, PyPI, image registries

The workspace and the CLI are where you work on every layer, and the ecosystem is where the layers are published and found.

How they connect

  • The line names the features, and its constraints decide which need which, and so the order they load in.
  • Features extend each other only through their contracts, checked before anything runs.
  • A product selects features from the line and pins a version of each, checked against the model.
  • The framework reads that selection at boot and wires every feature into one Flask app.
  • The same app runs in development containers and in a production image.
  • A release ships a layer, and a server that follows the stable channel deploys it.

Where a change goes

You want to Layer Start with
Allow or forbid a combination of features Product line Edit the model, then spl:publish
Add a capability several products can use Features feature:create
Change what another feature does Features feature:refine
Choose the features of one product Product product:configure
Change a setting of one product Product [tool.splent.config], then product:env
Run the product on your machine Infrastructure product:derive --dev
Put it in production Delivery product:release

Development and production

The layers are the same in both. What changes is where the features come from and how the product runs.

  Development Production
Features Working copies and snapshots from the cache Pinned releases, installed from PyPI or their tag
Product The same pyproject.toml The same pyproject.toml
Server Flask’s development server gunicorn, inside the image
Containers The dev stack, with each feature’s services The deploy bundle deploy/ and the image
Delivery Nothing leaves your machine A release, and servers that follow stable

Table of contents


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es