Four things your app should be, and how to check each one
You do not need to be an engineer to know whether your app is built well. The Thresh Lab System gives your builder written rules for four qualities. Each page below explains one quality with pictures, the real problems that taught us, and questions you can ask your builder.
The map
Select a quality to see its rules. Open its page when you want the full story.
Secure has two pages: one for the keys your app uses to reach other services, one for your customers’ data. Scalable, stable and adaptable have one page each.
The keys your app carries: Your app signs in to other services with secret keys. These rules keep them in one place, hidden, and easy to change.
- One key cabinet
- No spare key under the mat
- A key you can see is a key someone can copy
- Know every copy of a key
- Never read a key out loud
Your customers’ data: Each customer’s data stays apart from everyone else’s, and a customer can ask you to delete it.
- Each customer sees only their own data
- The locks go on with the tables
- No back doors on the live site
- Know what you hold
- A customer can ask to be deleted
Ready for more customers: The app keeps working when many more people use it at once, and its costs grow mostly with use.
- Capacity grows on its own
- The database is protected by a pool
- Paid work has a budget guard
- Each result has one writer
Changes that do not break it: You can keep changing the app without breaking it for the people who use it.
- A working copy before live
- Checks on every change, and a person clicks through
- Stored data is guarded
- A way back, checked before each release
- A release is done only when it is proven live
Change your mind without losing track: You can change a feature, a tool or a direction, and there is always a written record of why.
- Decisions are written down, and changed in the open
- Each rule has one home
- Every change has a written boundary
- Nothing is added without a reason, and what you have is looked at again
- Core tools are chosen in one record
How to read each page
1 · See it
One picture you can click through in a few seconds. Stop here if that is all you need.
2 · Understand it
The rules, each with an everyday picture and the real problem that taught it, or a note that it is a precaution or a deliberate choice.
3 · Prove it
Inside each rule: a yes-or-no question for your builder, the correct answer, and how to check it yourself.
What sits behind every page
- One numbered rules file. Each rule records why it exists and the problem that taught it, or says there was none. A few choices, such as the core tools, live in written decision records instead.
- Written procedures your builder follows for setup, changes, releases and reviews.
- Automatic checks that run on every change sent for review. Not every rule has a check yet. Where a rule relies on your builder alone, its builder question is how you check it.
- Many rules come from problems in our own products. The rest are precautions, and say so.
What we do not claim
We do not claim that any app is perfectly secure, endlessly scalable or never broken. We describe practices you can check, and each page lists what it does not promise.