Most people judge a mobile app by what they can see. The screens look clean, the buttons are easy to find, the colors are calm. It feels finished. That judgment is understandable, and it is also the most common way to be wrong about an app — because the screen is only one of three layers, and it proves the least.
Every app, from a flashlight to a banking system, is built from the same three layers: the interface, the state, and the data. Most confusing conversations about apps happen because two people use one word, "the app," to mean different layers. Name the layers, learn what each owns, and trace how a single tap travels through all three, and you have the frame that makes every other question answerable.
The interface makes a promise. It does not keep it
The interface is everything the user can see and touch: screens, buttons, lists, forms, messages, the spinner that says something is loading, and the error that says something failed. It owns presentation and input — how information is laid out, what can be tapped, and what feedback follows a tap.
What the interface does not own is truth. A screen can display a shift as confirmed while, underneath, nothing has been saved at all. Judging an app by its screenshots is like judging a restaurant by its menu: beautifully printed, while the kitchen cannot cook. The interface is a promise; the other two layers decide whether that promise is kept.
State is the app's short-term memory
State is what the app is holding right now, in memory, for this session: which screen you are on, which item you selected, what you have typed into a form so far, whether you are signed in, whether a request is still on its way. State is alive and temporary. Close the app, restart the phone, or let the system reclaim memory, and state is gone unless it was written somewhere durable.
Much of what users describe as "the app forgot what I was doing" is a state decision someone made, or failed to make, about what deserved to survive an interruption. Interruptions are the ordinary condition of a phone. A call arrives. The user switches to messages. The system reclaims memory in the background. The battery dies. A phone app can assume nothing, and an app that survives interruption gracefully is not lucky. It was designed by someone who decided in advance what its short-term memory had to protect.
Data is what must still be true tomorrow
Data is what must persist: the roster itself, the saved settings, the drafts, the records still true tomorrow. Data lives in durable storage — on the device, on a server, or in both places with rules for keeping them in agreement. Data owns truth over time.
When a user says "the app lost my work," the failure is almost never in the interface. It is a data decision. The work was held only in state, saved only on a device that was then replaced, or overwritten by a careless sync between two copies. That is the point: a polished screen over unsaved data is a promise the app cannot keep.
One tap, three layers, three different jobs
The layers are not three separate topics. They are one journey, and it helps to trace a single action through all of them. In RosterReady, a café app, a worker offers a shift swap. At the interface layer, she taps her Tuesday shift, taps Offer swap, and sees a form. At the state layer, the app now holds the selected shift, the form half-completed, and the fact that no request has been sent yet. At the data layer, nothing has changed — yet.
When she confirms, the app writes the offer to local data on the phone, sends it toward the server, and updates state to "sent, awaiting a taker." Only then does the interface show the offer as posted. If any layer is skipped — if confirmation updates only the screen, or only memory, but never durable data — the offer vanishes at the first interruption, and the user learns, correctly, not to trust the app. One tap, three layers, three different jobs, all necessary and none sufficient alone.
The layers fail differently, and the failure tells you where to look
Interface failures look like confusion: users cannot find the action, misread the message, or tap the wrong target. State failures look like amnesia: the app forgets a selection, loses a half-typed form, or shows a stale "signed in" after the session has ended. Data failures look like betrayal: saved work missing, two devices disagreeing, a record overwritten.
So when a user reports "the app is broken," the first professional move is not to fix anything. It is to place the failure in its layer. That placement decides who can fix it, how long it takes, and whether it is a blemish or a breach of trust.
The same instrument reads other people's work. When a builder demonstrates progress, ask which layer the demonstration actually exercised. A clickable prototype exercises the interface alone. A build that survives the phone being restarted mid-task has begun to prove its state and data decisions. A build whose records appear, correctly, on a second phone has begun to prove its server and sync choices. Progress is real exactly as deep as the deepest layer demonstrated.
For every feature, ask the deciding question early: is this presentation, is this session state, or is this data that must outlive us? Asked consistently, that one question prevents most of the failures users remember longest. It also prices complaints correctly: "it forgot when I closed it" and "it forgot between my phone and my colleague's" are different failures, owned by different work.
Experience it, don’t just read about it
Three layers, one app — interface, state, and data is Concept 1 of Mobile App Development Foundations (Course No. 193), from Cognosco Learning, a learning company powered by AI. The course builds the full frame beyond this distinction — State — What the App Is Holding Right Now, Local Data — What Lives on the Phone, and Sync and Offline — When the Signal Drops — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.
Navigate your own course.
© 2026 Cognosco Learning. All rights reserved.