
Welcome to Fractal Forge
TL;DR
- This blog explains how Fractal works, and why we built it this way.
- Expect deep dives, architecture patterns, product updates and lessons from running our own products.
- Want the short version? One email a month, no spam.
Welcome to the Fractal Forge blog.
This is where we share the thinking behind Fractal: the technical decisions, the architecture patterns and the lessons we learn building and running generated applications.
Fractal in one picture

Model the domain, generate real code into your own repository, then change and regenerate. Karibu Online builds it with Fractal; you own the code.
Karibu Online builds software for clients with Fractal. The domain is modelled, the application is generated as readable code, and hand-written code is added where the business needs it.
The result is a normal codebase in the client's own repository. When the model changes, the code is regenerated and the hand-written parts stay.
Four kinds of posts to expect
Deep dives: how regeneration keeps your code

Coming up in detail: how a regeneration merges fresh output into your work without losing your code.
How does regeneration keep your custom code? What is the specification pattern and why does it matter? How are permissions enforced in every layer?
Expect detailed explorations of the patterns and principles behind Fractal.
Architecture patterns, with concrete examples

One pattern we will unpack: a generic repository interface with pluggable storage, MongoDB by default.
Domain-driven design, commands and queries, the repository pattern: these are not just buzzwords. They are practical tools that solve real problems.
We will explain when and why to use each of them, with concrete examples.
Product updates: what each new feature makes possible

Modules plug into the generated app. When one ships, we write about what it makes possible.
As we ship new features, such as modules, workflows and clusters, we write about what they make possible and how to use them well. For the short version, see the changelog.
Lessons from running our own products

Fractal builds Fractal: we run our own products on it in production, Fractal Studio included.
We build our own products with Fractal, such as Fractal Studio, Karibu CMS and Atlas, and run them in production.
We have seen what works, what doesn't and what we wish we had known earlier, and we will share those lessons here.
Why we write in public
Writing forces clarity of thought. To explain a concept publicly, we have to understand it deeply.
The blog is as much for us as it is for you: it is how we think problems through and document our decisions.
It also keeps us honest. When we write about our architecture choices, we commit to them in public, and that accountability helps us make better decisions.
One email a month, no spam
Want to know what's new? Subscribe to our monthly update on the changelog page. One short email a month, no spam.
We are looking forward to the conversations these posts will spark. If you have questions about anything we write, or topics you would like us to cover, get in touch.
Let's build something.