Skip to content

Key concepts

Here are some key concepts we use in Constelite:

State model

A model of object's state.

Relationships

Relationships between models.

Store

An abstraction that defines a common interface to data provider.

Reference

A reference to an object available from a particular data provider.

Protocol

A python method that converts one object state to another independent of the data provider.

API

An API that serves Stores and Protocol to users.

Hook

An async python method that can emit a message through the API when an event happens.