How Data Moves Through a Software System
Sandeep Varma
Sep 13, 2026
So far in this series, we have built up three pieces of the picture. We started with the high-level idea that software answers requests. We separated frontend from backend, the part you see versus the part that decides and remembers. And we demystified the server, the actual computer where backend code runs and waits for requests.
Now let's follow something through all of it: a single piece of information. Not the system, not the architecture, just one specific fact, like your shipping address, and what actually happens to it between the moment you type it and the moment it shows up on a package months later. Watching data travel this way ties everything we have covered so far into one continuous story.
An Old-Fashioned Comparison: Sending a Letter
Before we look at software, think about mailing a physical letter. You start by writing your message on a piece of paper, in your own handwriting, in whatever form feels natural to you. To actually send it, you cannot just drop that paper in a mailbox as is. You fold it, place it in an envelope, and write the destination address on the front in a specific format, following certain conventions so the postal system can read it correctly.
Once it enters the mail system, your letter is no longer handled as "a note from you." It becomes a piece of mail with a barcode, sorted by machines and people who never look at what it says, only at where it needs to go. It moves through a local post office, possibly a regional sorting facility, and eventually arrives at a mailbox near its destination, where someone finally opens the envelope and reads your original message again, unchanged in meaning, but very changed in form along the way.
Notice what happened. The same underlying information, your message, took several different shapes as it moved: handwriting on paper, an addressed envelope, a barcoded package in a sorting facility, and finally handwriting on paper again. Software does something remarkably similar every time it moves data from one place to another.
Typing Something Into a Form
Let's trace a real example. Imagine you are checking out on a shopping app, and you type your shipping address into a form on the screen.
At this exact moment, your address exists purely on your device, inside the frontend. It is sitting in a text box, as characters you typed, not yet sent anywhere. If you closed the app right now without submitting, that information would simply disappear, the same way a letter you never mailed never reaches anyone.
When you tap "Continue," the frontend needs to send that address somewhere else, specifically to the backend, so it can be validated, stored, and eventually used to ship your order. But it cannot just hand over "the text box." It has to package your address into a very specific, structured format that a computer on the other end can understand and parse correctly, the same way your letter had to be folded into an envelope with a properly formatted address before the postal system could do anything useful with it.
Packaging Data for the Trip
This structured packaging usually takes the form of something like JSON, a simple, widely used way of organizing information into clearly labeled pieces. Your address, instead of just being a blob of text, gets organized into labeled fields, something like a street name, a city, a postal code, and a country, each clearly marked so the receiving system knows exactly what each piece of information means.
This matters because the frontend and backend are, in a very real sense, strangers to each other. They may be built with completely different tools, running on completely different machines. The only way they can reliably communicate is by agreeing on a shared, structured format for the data passing between them. JSON is one of the most common of those shared formats, precisely because it is simple enough for nearly any system to read and write.
Once your address is packaged this way, it travels across the network, the same way an addressed envelope travels through the postal system, until it reaches a server, the always-on computer we talked about in the previous post, ready to receive exactly this kind of request.
Arriving at the Backend
When your packaged address arrives at the server, backend code takes over. This is where the "deciding" part of the backend, which we introduced two posts ago, kicks in. The backend does not blindly trust that the address is correct or complete. It checks it. Does the postal code look valid? Are required fields actually filled in? Does the country match a place the business can actually ship to?
This validation step matters more than it might seem. Remember that the frontend runs on your device, where it can be inspected or tampered with. Even if the frontend already checked that you filled out every field correctly, the backend checks again, independently, because it cannot fully trust anything arriving from outside its own walls. This is the same idea as a mail carrier double checking a package's label rather than assuming whoever wrote it got it right.
Once the backend is satisfied that the address is valid, the real transformation begins. The address, still just data, needs somewhere permanent to live.
Where Data Finally Comes to Rest
This is where storage enters the picture, the third job we discussed back in the first post in this series: remembering things. Your address gets written into a database, a system built specifically to hold information reliably and retrieve it accurately later, even if the server that received your request restarts or a different server entirely ends up handling your next request.
Inside that database, your address takes yet another shape. It is no longer JSON traveling across a network. It becomes a stored record, tied to your account, sitting alongside your other information, ready to be looked up whenever it is needed again. We will spend a dedicated post later in this series exploring exactly how databases organize and retrieve information like this, but for now, the important idea is simpler: your address has found a resting place, the software equivalent of a letter finally sitting in someone's mailbox.
The Return Trip
Data rarely moves in only one direction. Weeks later, when your order ships, something needs to retrieve that same address to print a shipping label. This time, the journey runs in reverse. The backend queries the database, pulls your stored address back out, packages it again into a structured format, and sends it wherever it is needed next, perhaps to a shipping service, perhaps back to your screen so you can confirm your order details.
Each time data moves between two parts of a system, the same basic pattern repeats: something on one side packages the information into a structured, agreed-upon format, it travels across a network, and something on the other side unpacks it, checks it, and does something with it. Handwriting to envelope, envelope to sorting facility, sorting facility to mailbox, mailbox back to handwriting. Text box to JSON, JSON across the network, JSON into a validated backend, backend into a stored database record, and back out again whenever it is needed.
Why the Same Information Needs So Many Forms
It might seem inefficient that a single address has to be repackaged so many times as it moves through a system. Why not just keep it in one format the whole way through?
The honest answer is that each part of the system is optimized for a different job, and each of those jobs needs data in a different shape. A text box is optimized for a human typing on a screen. JSON is optimized for two different computer systems exchanging information reliably over a network. A database record is optimized for being stored efficiently and retrieved quickly, even among millions of other records. None of these formats would work well if you tried to force it to do another format's job. Trying to store a database directly as text boxes, or trying to send raw database records straight to a browser without ever structuring them, would create far more problems than the repackaging solves.
This same idea, that different parts of a system are specialized for different jobs and need data reshaped as it crosses each boundary, is also exactly why changes to a system are rarely as simple as they first appear. Adding one new piece of information, say, an apartment number field, sounds like a small change. But that same string of characters may need to be added to the form, to the structured data sent across the network, to the validation rules on the backend, and to the database itself, each in its own particular way. We will dig into exactly why that kind of "small" change often takes longer than expected in the next post in this series.
Pulling the Whole Journey Together
Here is the full trip, one more time, from beginning to end. You type your address into a form, and it exists as text on your screen, entirely within the frontend. You submit it, and it gets packaged into a structured format built for travel across a network. It arrives at a server, where backend code checks it against the business's rules. Once validated, it gets written into a database, taking on the shape best suited for long-term, reliable storage. Later, when it is needed again, the whole process runs in reverse, unpacking, retrieving, and reshaping the same underlying information so it can be useful in a completely different context.
At no point does the actual meaning of the information change. Your address is still your address the entire time. What changes, again and again, is the form it takes, so that each part of the system, the screen you are looking at, the network connecting your device to a server, the server enforcing rules, and the database holding things long-term, can do its job well.
What Do You Think?
The next time you fill out a form and watch a loading spinner for a second before seeing a confirmation, you now have a real picture of what filled that second: your data being packaged, checked, transformed, and stored, several times over, in the time it takes to blink.
Is there a specific piece of information, a password, a payment detail, a search query, whose journey through a system you would like to see traced this same way? Let me know what you are curious about.
Enjoyed this? Get the next one by email
New posts on leading engineering teams, straight to your inbox.
Did you find this useful?
Comments
Loading comments...
to post a comment.
About the author

Sandeep Varma
Senior Engineering ManagerI write about leadership and software engineering from experience as a software engineer, product owner, and engineering manager, grounded in a Bachelor’s in Computer Science Engineering and an MBA in IT Strategy.
View full profile

