Directus

Directus is the admin panel where the content of this site is written. The unusual part is the direction it works in. A conventional content system like Drupal brings its own storage and gives you screens to fill it. Directus does the opposite: it looks at tables that already exist in a database and builds the screens, the permissions, the file handling and the programming interface on top of them.

That sounds like a detail. It decides everything else. The database stays the source of truth. Every field you edit on screen is a column that could be read with a database query. If Directus were switched off tomorrow, the content would still be there, intact and readable. Nothing is locked inside the tool.

It keeps notes about the model in its own tables — which fields exist, how two things are connected — which is why the model here was built through Directus rather than by typing database commands by hand. A table created by hand stays invisible until it has been introduced to the panel.

The model on this site is small on purpose: pages, translations, languages, countries, interface labels, and the link between countries and languages. A page has a type, a label and a status. Each translation carries its own address, title, summary and text, and its own status, so the Dutch version can be live while the French one is still being written. Those addresses are unique per language, which is what makes them usable as page addresses in the first place.

What it does not do is enforce everything you want. A rule such as "these two columns together must be unique", or a check that a status is one of four allowed words, lives in the database itself — and the panel will happily let you type something the database then refuses. That refusal arrives as an error naming two fields, not as a red mark beside the box you filled in.

Two things worth knowing. Changing a field in the panel does not change the database rule, so both have to move together. And a form that saves a page together with its translations is a single request: one address already taken, and the whole save is refused.