The building block metaphor helps us to understand Polylith's architectural concepts.

Why use a metaphor?

Metaphors can be extremely helpful when communicating ideas. They connect the new to the familiar, by using our brain's capacity for visualisation.

The building block metaphor

Polylith services are constructed with three types of building blocks: components, bases and libraries.

Each type of building block represents a specific way to package code, with the goal of making them simple to combine into services.

Before we learn about each building block, let’s start by exploring some foundational concepts.