The Unmarked Mountain: When Front-End Ignores Business Rules
A comment I came across on a LinkedIn post — the classic “front-end just paints buttons” — inspired me to write this piece, aiming to…
The Unmarked Mountain: When Front-End Ignores Business Rules
Photo by Simon Fitall on Unsplash
A comment I came across on a LinkedIn post — the classic “front-end just paints buttons” — inspired me to write this piece, aiming to clarify the role of front-end in reading, interpreting, and enforcing business rules.
There’s a persistent idea that front-end is all about “making things look pretty.” But the reality is far from that. Anyone working on modern digital products knows that front-end is one of the most strategic layers when it comes to delivering value to the user. It’s where product logic becomes practical experience — where business decisions take shape through behaviors, flows, and interactive constraints.
The resistance to the idea that front-end handles business rules often comes from an outdated system architecture mindset — one where the backend holds all the logic and the front-end just displays data and adds styling. This view forgets that modern applications thrive on the harmony between user interaction and business logic. The artificial divide between “the layer that decides” and “the layer that displays” ignores the crucial role the front-end plays in orchestrating user experience.
What are business rules?
A business rule is any logic that dictates how a system should behave within its domain.
And by domain, we mean the specific context in which a product or system operates — the set of constraints, entities, and objectives that define how value is delivered in a real-world scenario.
For example:
- In an investment platform, the domain includes financial rules, regulatory limits, investor profiles, risk levels, and more.
- In an e-commerce system, it involves shipping policies, payment methods, discount logic, stock availability, and consumer profiles.
In all cases, a central point is the role of the user in that domain — their journey, their permissions, and the specific conditions that define what they can or cannot do. This logic must be respected at every layer — including the front-end.
We connect business rules to front-end through the user. It’s also the front-end’s responsibility to apply restrictions, guide available paths, and reflect the outcomes of decisions defined by the domain.
Examples:
- “Free users can only create 3 projects”
- “Investments above $10,000 require additional documents”
- “Only verified users can invite others”
These rules don’t live solely in the backend. They need to be expressed, applied, and reinforced in the user experience. And who’s in charge of that? The front-end.
How front-end handles business rules in practice
Let’s be clear: the backend remains the ultimate source of truth when it comes to business rules. It’s where final validations, data integrity, and system-level controls live. But that doesn’t remove the front-end’s responsibility in applying these rules.
In practice, front-end handles business rules at many critical points in the user journey.
One clear example is client-side validation (yes — that’s business logic too). Before a form is submitted, the front-end may block out-of-range values, prevent submission if terms haven’t been accepted, or check if a CPF or birthdate meets minimum requirements. These are rules that often exist in the backend too, but applying them in the front helps guide the user and avoid unnecessary frustration.
Another common case is conditional rendering based on permissions. Depending on the user’s role or subscription plan, the front-end may hide buttons, display tooltips explaining limitations, or redirect users away from restricted routes. This makes access rules visible and understandable before the user even triggers an action.
Business rules also appear in the interface through dynamic pricing, usage limits, or commission rates — all based on the user’s plan or account status.
And navigation flows? Heavily driven by business logic. A user who hasn’t completed onboarding may be redirected to mandatory steps. Others may have partial access based on subscription tiers.
The front-end doesn’t define the rules — that’s the backend’s job — but it ensures those rules are visible, understandable, and respected during interaction. It’s where logic becomes experience.
The front-end is the bailiff of the rule
Here’s a simple analogy: the backend defines the law. The front-end delivers the notice, guides behavior, and applies visual constraints — it helps the citizen (the user) experience the rule in action.
Without this bridge, the business rule might exist — but the user won’t feel it. The result? Frustration, errors, and broken experience (surprise: your product breaks, your company fails).
So how does front-end deal with business rules? By reading, interpreting, and serving.
The Mountain Metaphor
If business rules didn’t exist in the front-end, every interactive app would feel like a valley surrounded by a thousand massive, identical mountains — with no signs. The user would assume any path is valid. They’d choose a mountain, start climbing… only to discover days later that the trail was closed, access was forbidden, or that the summit brought no benefit at all.
The front-end doesn’t define which mountains exist — that’s the backend’s job. But it places the signs, marks the paths, and says:
- “This trail is open.”
- “That one requires authorization.”
- “This summit is worth your effort.”
Every mountain may have value. The problem is when the user climbs the wrong one out of confusion. The effort is wasted — not because the rule didn’t exist, but because it wasn’t communicated.
That’s what happens when the front-end fails to reflect the business rules the backend already knows. Users enter dead-end flows, make uninformed choices, waste time, and get frustrated with a system that should’ve guided them from step one.
“But isn’t that the backend’s responsibility?”
Yes — the backend is and must be the ultimate guardian of business rules. It holds the source of truth, ensures data security, and validates what is and isn’t allowed in the system. No sensitive action should be allowed without server-side checks.
But reducing front-end’s responsibility to visuals only is a misunderstanding of modern architecture.
Front-end deals with business logic too — not as a decider, but as an executor and communicator. It’s the first contact between the user and the system’s rules. It’s where logic becomes visible, intuitive, and interactive.
The front applies business rules by:
- Interpreting API state (e.g. account status, permissions, limits, flags);
- Conditionally rendering UI and interactions based on those states (e.g. hiding buttons, blocking routes, displaying tooltips or alerts);
- Preventing avoidable errors before they reach the server (e.g. blocking invalid form submissions);
- Guiding the user journey based on what’s allowed, required, or restricted.
So no, it’s not about taking responsibility from the backend. It’s about acknowledging the strategic role the front-end plays in bringing business rules to life. It prevents confusion, protects user experience, and ensures the product behaves consistently across layers.
In short:
The backend holds the rule. The front-end delivers the experience of the rule.
Conclusion
Dismissing front-end’s involvement in business rules is to ignore how modern products are built. Yes — the backend is the source of truth. It validates, persists, and enforces the rules that define the domain.
But that doesn’t diminish the role of the front-end. On the contrary — it’s the layer that makes those rules visible, understandable, and actionable.
Even if it doesn’t define the rule, the front plays its part: Validating inputs, adapting UI based on permissions, and guiding the user along the correct path.
Front-end isn’t just about pretty buttons — it’s about behavior, logic, and delivering the product in motion.
If you found this useful, share it with that dev who still thinks front-end is “just UI.”
메타데이터
- post_id
- bd5f1f55bafe
- slug
- the-unmarked-mountain-when-front-end-ignores-business-rules-bd5f1f55bafe
- url
- https://medium.com/@gabrielmaxgb/the-unmarked-mountain-when-front-end-ignores-business-rules-bd5f1f55bafe
- canonical_url
- https://medium.com/@gabrielmaxgb/the-unmarked-mountain-when-front-end-ignores-business-rules-bd5f1f55bafe
- author_url
- https://medium.com/@gabrielmaxgb
- status
- ok
- fetched_at
- 2026-07-19 14:50:31