The glossary.
Every term, and the decision behind it.

The words everyone building with AI hears: API, webhook, RLS, Supabase or D1. Each entry explains what it is through an analogy, where the analogy breaks, and which decision hides behind it.

A term gets in here only if a decision hides behind it. Facts about tools change every month, so they appear separately, with the date they were checked.

Frontend and backend

Almost every question about an app starts with what runs on the user's side and what runs on yours. Whoever doesn't know the difference doesn't know where their system is vulnerable.

What it is
The frontend is what runs on the user's side, in the browser or on the phone: the screens, the buttons, the forms. The backend is what runs on your side, on the server: the logic, the database, the payment connection.
Analogy
The restaurant's dining room and its kitchen. In the dining room the customer sees and orders. In the kitchen they cook, and that's where the stock and the till are.
Where it breaks
In a restaurant, the customer can't walk into the kitchen. In software, everything sent to the frontend the customer can see and change. A price calculated in the browser is a price the customer can set themselves.
The decision behind it
What must happen in the backend: anything to do with money, permissions, price and other people's data. The AI, so that something works fast, sometimes puts logic like this in the browser.
Pipe or wall
Pipe: which framework, what the screens look like. Wall: what's checked on the server and not only on screen.
Read more
Sign-in and permissions · The series from the start

Whatever the browser receives, the user controls.So what matters happens on the server.

API

Every app today talks to other services, and also receives requests from outside. The API is the door. The question isn't whether there's a door, but who can get through it and what they receive.

What it is
The way one piece of software asks another for something: it sends a request in an agreed format, and gets an answer.
Analogy
The ordering window in a restaurant. You hand over a request in a form the kitchen understands, and you get a dish.
Where it breaks
The window doesn't know who's standing in front of it, unless it checks. Anyone who reaches the window can order, including someone who never went through the dining room. And today that includes an AI agent a regular user sent to see what's possible.
The decision behind it
What each point in the API allows, to whom, and what it returns. A point that returns more than the screen shows exposes all the rest.
Pipe or wall
Pipe: how the requests are built, what they're called. Wall: what's exposed, and to whom.
Read more
Every customer is a potential hacker

The API isn't the hidden part of the system.It's the part anyone can talk to directly.

Server, serverless and Workers

The question "where to host" is really a question about how the code runs. And each form has a different price, especially on the day traffic jumps.

What it is
A server is a computer that runs all the time and waits for requests. Serverless is code that runs only when a request arrives, and the provider manages the computers for you. Workers are Cloudflare's serverless, running close to the user.
Analogy
A kitchen open twenty-four hours, versus a chef who comes only when there's an order.
Where it breaks
The chef who comes in remembers nothing from the previous order. Everything the system needs to remember must be stored somewhere else, in a database. And a task that takes a long time doesn't suit a chef who comes and goes.
The decision behind it
What happens on the day you hit the plan's limit: stop, or keep going and charge. And what in the system needs to run for a long time, and so needs another home.
Pipe or wall
Pipe: which provider. Wall: what happens at the limit, and what was promised to customers about availability.
Facts that age
On the Workers free plan: 100,000 requests a day, and up to 10 milliseconds of processing per request. The paid plan starts at 5 dollars a month. Checked in November 2026.
Read more
The quota ran out · Vercel or Cloudflare

The question isn't where the code runs.The question is what happens when it can't run.

Database

The AI will build a database in a minute. The problem is that it's the first place where a pipe becomes a wall: the moment the first row of a real customer is saved in it, every change to the structure is a migration.

What it is
The system's memory. Everything it needs to know tomorrow, after the user closed the browser.
Analogy
An archive with files and drawers.
Where it breaks
An archive doesn't decide what counts as a file. In a database, the structure itself is a decision: whether you store "room type" or "a specific room". And both structures work in the demo.
The decision behind it
What the "things" in the system are and what exactly each of them is, and what happens when something is deleted: really delete, hide, or keep the invoices.
Pipe or wall
Pipe: column names, indexes. Wall: what counts as a "thing", and what gets deleted. From the first real row.
Read more
Database: first decide what the system remembers · The system knew how to count rooms · Account deletion

A database doesn't store what exists in the world.It stores what you decided exists.

Source of truth

One of the most common failures in systems built fast is the same data in two places. At first they're identical. Then they drift apart, and nobody notices.

What it is
The one place where a given piece of data counts as true. Every other place only shows a copy of it.
Analogy
The master clock at a train station. All the other clocks set themselves by it.
Where it breaks
At the station, you see immediately that one clock is behind. In software, two sources drift apart silently, and you find out only when the customer sees one thing on screen and another on the invoice.
The decision behind it
For every important piece of data: is the payment at the payment provider or with you? Is availability in the system or in the calendar? The price someone already paid, where is it stored?
Pipe or wall
Wall. Once two places hold the same data and there are customers, aligning them is work done backwards.
Read more
You raised a subscription price · A failed payment

When there are two sources, they will drift apart.Not if. When.

Supabase or D1

A question that comes up in every group. And it isn't a question of which database is better. It's a question of where permission is enforced, and who in your system knows how to hold it.

What it is
Supabase is a managed database (Postgres) that comes with sign-in, file storage and permission rules that sit inside the database itself. D1 is Cloudflare's managed database (SQLite), simple and cheap, running next to Workers.
Analogy
An office building with a guard at the entrance to every floor, versus a simple, cheap warehouse whose guard you post yourself.
Where it breaks
Supabase's guard also needs instructions. Permission rules don't switch on by themselves and aren't right by themselves, and a table without rules is open. And in D1, the guard is code you write, so someone needs to know how to write it right.
The decision behind it
If there are many users who each see only their own, permissions inside the database are a strong safety net. If the system is simple, the code already runs on Cloudflare and someone will hold the permission checks in code, D1 is cheaper and simpler. The same system sentence can lead to either one.
Pipe or wall
At first a pipe. Once data and permission rules are built on it, a wall: moving is a migration of data and of rules too.
Facts that age
On the D1 free plan you can read up to 5 million rows a day and write up to 100,000, and up to 500MB per database. And D1 has no row level permission layer, like RLS in Supabase. Checked in November 2026.
Read more
RLS in Supabase · Vercel or Cloudflare

The question isn't which database is better.The question is who guards the door, and how.

Sign-in versus permission

The AI builds sign-in excellently. It builds permissions only when asked, and sometimes in the wrong place: the button.

What it is
Sign-in (authentication) is who you are: the system checks you really are who you say. Permission (authorization) is what you may do: see this booking, delete this customer.
Analogy
An entry card to the building, versus the keys to the rooms.
Where it breaks
In a building, whoever has no key doesn't get into the room. In software, hiding a button isn't a lock. Whoever sends the request themselves, without the button, gets through.
The decision behind it
What the user types are, what each type may see, create, edit and delete, and whose. And if the system serves several businesses, what separates them.
Pipe or wall
Pipe: the login screen, Google sign-in. Wall: who sees what, and where it's enforced.
Read more
Sign-in and permissions · Who may cancel

A system with sign-in and no permissionsis a door with a lock, where everyone who comes in gets a key to every room.

RLS

In Supabase, the browser talks directly to the database. So the permission rules inside the database aren't an add-on. They're the only thing standing between the data and anyone who has the address.

What it is
Row Level Security: rules inside the database that decide which row each user may see and change. Every request is checked against them, no matter where it came from.
Analogy
A safe with a separate lock for every drawer.
Where it breaks
A drawer without a lock doesn't look any different. A table without rules, or with a rule that allows everything, looks exactly like a protected table, until a stranger reads from it.
The decision behind it
For every table: who may read each row, who may change it, and what about files. It's a business decision, written in a technical language.
Pipe or wall
Wall. Once someone's data has been exposed, no prompt brings it back.
Read more
RLS: the last wall · Who can open a file · The security skill

A table without rules looks exactly like a protected table.The difference shows only when someone checks from outside.

Keys and environment variables

Every connection of the system to a service, a database, payments or an AI model, works with a key. And a key in the wrong place is a leak that stays invisible until someone uses it.

What it is
A key is the password the system uses to talk to a service. Environment variables are the place to keep them outside the code, so they don't end up in files sent to the browser or to git.
Analogy
A safe and a sticky note. The key belongs in the safe, not on a note stuck to the screen.
Where it breaks
A note taken off the screen no longer exposes anything. A key exposed once never becomes a secret again, even if you deleted it. You have to replace it.
The decision behind it
Some keys are meant to be public and some are secret. The decision is which key goes where, and who holds the secret ones at all. And also: in whose name the accounts with the providers are.
Pipe or wall
Wall. A secret key in the browser is a key any user can take.
Read more
Your app's keys · How to go live

Whatever the browser receives, every user can see.No exceptions.

webhook

Almost every payment connection works through a webhook. And almost every silent money bug starts with a message that didn't arrive, arrived twice, or wasn't checked.

What it is
A message an outside service sends your system when something happened on its side: a payment went through, a charge failed, a subscription was cancelled.
Analogy
A courier bringing a registered letter.
Where it breaks
The courier sometimes comes twice, late, or not at all, and the system has to cope with each. And an impostor can also knock on the door with a letter, if nobody checks its signature.
The decision behind it
What's the source of truth for payment, what happens when the message comes twice or doesn't come, and who knows when a charge failed: the customer, the system, or nobody.
Pipe or wall
Wall. Once real money moves, an unhandled message is money not collected, or access not blocked.
Read more
How to connect payments · A failed payment · Two on the same slot

Money doesn't break on the day you connect it.It breaks on the message that didn't arrive.

AI agent

Until an agent comes in, every action in the system started with a person who clicked. From the moment it comes in, there's someone in the system acting on their own, and what it does is your policy.

What it is
A language model that was given tools: to read data, send messages, change things. It decides on its own which tool to use and when.
Analogy
A new employee, very fast, who never got a job description.
Where it breaks
A new employee asks when they're not sure. An agent carries on. And it reads everything, including instructions hidden inside documents that a person doesn't see at all.
The decision behind it
Answers only, acts from a list, or acts freely. What it must never do. And who's responsible when it's wrong.
Pipe or wall
Pipe: which model, the wording, the tone. Wall: what it may do alone, and what it sees.
Read more
How to put an agent in the product · What an agent may do · A job description for an agent

An agent doesn't make decisions instead of you.It makes every decision you didn't make.

MCP

MCP is what lets Claude or any agent work directly against your database, calendar or site. It's enormous power, and exactly because of that, every connection is a decision.

What it is
Model Context Protocol: an agreed language in which an AI tool connects to outside services and uses them, like a database, a calendar, a content system or a WordPress site.
Analogy
A universal power socket: every device plugs in, no special adapter.
Where it breaks
A socket doesn't ask what's plugged into it. Every MCP connection gives the agent exactly what the connection allows, with the permissions of whoever connected it. And an agent that reads outside content can receive instructions from it.
The decision behind it
Which permissions the connection gets: read only, or also write and delete. What the agent may do with what it read. And which connection shouldn't be connected at all to the same agent that reads emails.
Pipe or wall
Pipe: which MCP server. Wall: the permissions it gets, and how many of them are connected together.
Read more
The agent reads the emails · AI inside the product

Every connection gives the agent what it allows.Not what you meant.

Which term are you missing?

Write which word you heard and didn't understand. If a decision hides behind it, it will go into the glossary.

And if the term has already become a problem in your system: Diagnostic call. Nothing is stored on the site.