MiniCTRMSearch

MiniCTRM - Build Tutorial 781: A commercial product: one code base, many firms

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

One code base that many firms configure rather than fork, with an inventory of what was hard-coded and a test that keeps it out; every public surface a contract changed only by addition and deprecation, with a compatibility suite and an upgrade test from each supported version; semantic versions, a supported-versions table, release notes in fixed sections, an upgrade rehearsal on an anonymized copy and a rollback; a roadmap and a request tracker with severities and a service level; and the hosting decision written down, with each tenant's data isolated and proved so.

  • Why MiniCTRM is not a product – A teaching system, single-user on its default database, published to learn from and never sold - and what it already has that a vendor would build on.
  • What you need first – The lessons this one builds on, what it reuses unchanged, and when to take it.
  • One firm or many – The same questions answered for one firm and for a licensed product, then every hard-coded choice made configurable.
  • Backward compatibility – What breaks a customer, the rule that prevents it, and the tests that prove each release keeps it.
  • Releases and upgrades – Semantic versions, supported versions, release notes, a rehearsal on a customer's data, and rollback.
  • A roadmap and a request tracker – Where bugs and requests land, how they are triaged and weighed, and why one firm's request becomes everyone's feature.
  • Cloud or local – Hosted by the vendor or installed by the firm, each tenant's data kept apart, and a diagnostics bundle.
  • Ship it – /ship, with the configuration, compatibility and isolation tests among the rest.
  • How MiniCTRM did it – The About dialog's version and history, and a firm's own rule as an Activity Hook.

Before you start

The lessons this one builds on: 533 Front end: the Deal Input Screens, 541 Reference data and the interactive Data Model, 611 Scripting: an editor, a public API with a glossary, hooks on save, 623 Integrations: CSV in and out, feed adapters and the API, 633 Security: sign-in, privileges on every endpoint, audit, secrets, 634 Reliability: backups, the restore drill, health checks, logs, upgrades, 641 Ten users or a thousand: what changes, 651 Quality and shipping: test tiers, quick CI, the PR flow, releases, 652 Teaching your users: help, glossary, your own tutorials and demo.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

One code base, many firms

1 / 15
One code base, many firms
Why MiniCTRM is not a product

Why MiniCTRM is not a product

2 / 15
Why MiniCTRM is not a product
What you need first

What you need first

3 / 15
What you need first
One firm or many

One firm or many

4 / 15
One firm or many
One firm or many

Find what is hard-coded

5 / 15
Find what is hard-coded
Backward compatibility

What breaks a customer

6 / 15
What breaks a customer
Backward compatibility

Contracts and deprecation

7 / 15
Contracts and deprecation
Releases and upgrades

Releases and upgrades

8 / 15
Releases and upgrades
A roadmap and a request tracker

A roadmap and a request tracker

9 / 15
A roadmap and a request tracker
Cloud or local

Cloud or local

10 / 15
Cloud or local
Cloud or local

Hosting and tenant isolation

11 / 15
Hosting and tenant isolation
Ship it

Ship it

12 / 15
Ship it
How MiniCTRM did it

The version and its history, in About

13 / 15
The version and its history, in About
How MiniCTRM did it

A firm's own rule, without changing the code

14 / 15
A firm's own rule, without changing the code
What you have now

What you have now

15 / 15
What you have now

You have finished lesson 781, A commercial product: one code base, many firms.

Where next?

← → move · N notes · Home / End