Architecture

Keep the website, access controls, and storage separate, so each part can be understood and maintained on its own.

PROJECT CONCEPT

Component roles

The website explains the project. Access controls decide who may use a resource. Storage components handle the data.

Separating these roles makes changes easier to manage. An update to the website, for example, should not require changes to storage. The same principle applies when reviewing permissions: change the part involved, rather than rebuilding the whole system.

Conceptual separation between the website, access controls, and a private environment

Design principles

01

Modularity

Give each component a specific job and a small set of interfaces.

02

Limited coupling

Avoid shared state that forces unrelated components to change together.

03

Simple deployment

Keep setup and configuration straightforward to review and repeat.

04

Isolation

Separate workloads and their permissions when planning environments.

05

Fewer dependencies

Add a dependency when its benefit outweighs the maintenance it brings.