When an internal tool starts as a single-user application on SQLite, almost every query carries an unspoken assumption: whoever is running the app owns all the data. A request for record 42 just fetches row 42. Moving that tool to a shared service breaks that assumption immediately. Once two people share the same database, a […]
The ongoing conversation
Category: Coding
A Stop Button Is a Data-Integrity Feature
When an application kicks off a long-running task, whether that means generating a tailored document, compiling an archive, or waiting on an external API, adding a Stop button looks like a simple courtesy. If someone clicks by mistake or spots an error in their input, they can cancel the request and regain control of the […]
Protected Staging Must Still Exercise the Real Application
Putting a staging environment behind an outer sign-in gate keeps unauthorized visitors and search crawlers out, but it also creates a second authentication layer in front of whatever security the application already has. If those two layers are not designed together, the gate can hide real bugs, break automated tasks, or make you think an […]
Observability Without Copying the User’s Life Into Logs
When a background job fails or an external request times out, you need enough diagnostic detail to understand what went wrong. The easiest engineering response is to dump the entire payload or session state into the log so you never miss anything. If your application handles personal data like resumes, employment history, notes, or contact […]
Remember Enough to Respect a “Delete”
If your application imports records from somewhere else, deleting a record is only half the job; the next import will happily bring it back unless something remembers that you explicitly deleted it. That memory is the part people forget to design, and it’s in conflict with what “delete” is supposed to mean. For example, a […]
The Close Button Is Part of Your Data-Integrity Design
Most editing dialogs have at least four ways out: the Cancel button, the X in the title bar, the Escape key, and clicking the backdrop. They all seem like the same action, “never mind”, but only one of them is usually designed; the others just inherit whatever the dialog library does, which is just to […]
Add an Export Without Promising a New API
When people ask for an export, they usually mean “I can see this information on a screen, and I want it somewhere else.” That is a smaller request than “build an API”, and it’s worth keeping it that way. For example, say a catalog application has a series overview page that shows a title, a […]
A Green Health Check Doesn’t Mean the App Can Connect
A health check answers only the question it was written for. If that isn’t the question the application needs answered, the check can be green while the application fails on its first connection. Here is a fictional example. A containerized web application depends on a database container. The database’s health check runs a command inside […]
The Form Passed Validation. Why Did Bad Data Still Reach Approval?
A form that rejects bad input is only checking the route it was built for. If a record can reach the same database through an import, an admin screen, a script, or a “save draft” button, the form’s rules don’t apply there, and the first place anyone notices may be the person who has to […]
A Cached Count Is a Business Rule, Not Just a Number
Suppose a comics database shows each series with a count of its issues, and the count is cached so the page doesn’t have to total thousands of rows on every view. The number looks harmless. But the moment someone asks whether a variant cover is an issue, the cached count stops being a number and […]