Plain and simple IT

Kitchen and Hall: How a Website Works Inside (Backend and Frontend)

Restaurant kitchen and dining room—a metaphor for backend and frontend

You’re discussing a website with a developer, and they say: “The front is done, just need to hook up the back.” What does that mean, and why does the “invisible” part take up half the budget? Let’s break it down using the most relatable analogy—a restaurant.

This article is part of our “IT Made Simple” series, where we explain basic concepts to business owners. By understanding the difference between frontend and backend, you’ll be able to set tasks more precisely and better understand what you’re paying for.

Restaurant: Dining Room and Kitchen

Imagine a restaurant. The guest sees the dining room: the interior, the menu, the waiter. This is the frontend—the “front” part. On a website, it’s everything you see and interact with: design, text, buttons, forms, and animations.

But the food is prepared in the kitchen, which the guest doesn’t see. This is the backend—the “back” part. On a website, these are the programs on the server: they receive the order, calculate the discounted price, check inventory, process the payment, and send an email. The guest doesn’t see them—but without a kitchen, a restaurant is just a decoration.

An order is a dialogue between the dining room and the kitchen: the waiter (frontend) takes the guest’s requests and passes them to the kitchen (backend), the kitchen cooks and sends the dish back to the dining room. It’s the same on a website: a form sends data to the server, the server processes it and returns the result—“order placed, await delivery.”

Serving window between the restaurant dining room and kitchen
Frontend is the dining room the guests see; backend is the kitchen where everything is prepared

Why the backend is invisible but costs more

Owners are often surprised by the estimate: “The design is already done—what’s the other half of the cost for?” For the kitchen. Count what needs to happen after clicking the “Place Order” button in an online store: check item availability, apply a promo code, calculate delivery by address, create an order in the database, send data to the payment system, wait for payment confirmation, notify the manager, and send a receipt to the customer. Eight operations in one second—and each must work flawlessly, including edge cases like “payment failed” and “item sold out while the customer was thinking.”

Frontend without backend is a beautiful dummy: the buttons are there, but clicking them does nothing. Backend without frontend is a working machine that’s inaccessible to people. You only get a complete product when they work together.

Hence the developer specializations: frontend developer, backend developer, and full stack—the one who does both parts. For smaller projects, a single full-stack developer is often more efficient than a whole team.

Complex professional restaurant kitchen with steam

Where everything lives: in the browser and on the server

Here’s a technical detail that explains a lot: the frontend runs on the client’s device—in their browser, on their phone. The backend runs on your server. That’s why the frontend works slightly differently for everyone (old phone, different browser, slow internet), while the backend works exactly the same for everyone.

This leads to practical takeaways. If a site loads slowly for a specific customer, it might be their device or network. If it’s slow for everyone, we look at the server and backend. Changing a button color is frontend work, usually quick. Changing discount logic is backend work, and “just changing a number” there isn’t always simple if the logic is tied to other parts of the system.

Set table in the dining room with a view of the kitchen through the serving window

How to use this knowledge in practice

When you assign a task to a contractor, it’s useful to understand which “half” it affects—this determines the timeline and price. “Fix the text on the homepage” is frontend, takes minutes. “Make orders go into our CRM” is a backend integration, takes days. “Add a user dashboard with order history” involves both parts, takes weeks.

And vice versa: if a contractor estimates “changing a button color” as a week of work, either the project has code issues, or you should ask what exactly is taking so long. A healthy project allows minor tweaks to be done quickly.

Order rail between the restaurant kitchen and dining room
Harmony of the restaurant dining room and kitchen in a single frame

Frequently asked questions

What is an API? Developers use this word all the time.

An API is the “serving window” between the kitchen and the dining room: a strict list of commands that the frontend (or another system) can request from the backend: “give me the product list,” “create an order.” Your site also uses APIs to communicate with external services: payment gateways, SMS gateways, and CRMs.

Is a full-stack developer better or worse than two specialists?

For small and medium projects, a single full-stack developer is often better: no communication overhead, one person accountable. For large, high-load products, specialized teams win out. It’s a question of scale, not quality.

Why can a “simple” tweak cost so much?

Visible simplicity is deceptive: a small button might hide massive backend logic. A classic example is “add buy now, pay later”: on the frontend, it’s just one button; on the backend, it’s bank integration, payment schedules, and overdue processing.

Read also