Topic

How to Choose the Right Web Architecture for a Business Project

Insights/ Web Architecture & Platforms / Architecture Decisions

04 Oct 2023 - 09 min read

How to Choose the Right Web Architecture for a Business Project
Listen to article00:00 / 10:40

What "architecture" actually means for a business project

The word "architecture" gets used loosely in technology conversations, often to mean "the framework we picked" or "the diagram on slide 12". For a business project, architecture is a much wider thing. It is the whole system: how the user-facing pages are built, where the data lives, how the application talks to the systems already in place, where it runs, who maintains it, and how it survives the next two changes the business will throw at it.

This article is the pillar version of the conversation. It assumes you already have, or will have, the narrower decisions covered: the rendering mode that fits the content and, if React is on the table, whether Next.js is the right framework for the website. The job here is the layer above both of those: deciding what the system as a whole should look like for a specific business project, with a specific team, on a specific budget, with a specific timeline.

Architecture decisions made well are mostly invisible. The site loads fast, integrations work, the team can ship a change without holding their breath, and nobody on call gets paged at 3am for something that should have been thought through eighteen months ago. Architecture decisions made badly become every later decision's problem.

Start from the business shape, not the technology

The most reliable starting point for an architecture decision is the shape of the business, not the shape of the stack. Three things tend to matter more than any framework comparison.

The first is what the system is actually for. A marketing site that has to convert visitors into qualified leads. A logged-in product that customers pay for. A field-data platform for an NGO with a thousand officers in the field. A hybrid of all three. Each shape implies a very different architecture, and trying to use one architecture for all of them is the most common reason a system feels wrong six months in.

The second is who pays for it, and on what cycle. A business funding the system from operating cashflow has a different appetite for ambition than a project funded by a one-off grant that closes in eighteen months. Architecture choices that depend on a permanent in-house team are the wrong choices when there will be no permanent in-house team. The funding model is part of the architecture, not just the business case.

The third is what the business wants to do with the system in two to three years. A static brochure that will be replaced when the new brand launches has a different target architecture than a content hub that will grow into a portal. Building for the wrong horizon is how systems get over-engineered for change that never comes, or under-engineered for change that does.

These three questions filter most architecture choices before any technology has been compared. The technology comparison is real, but it is not the first conversation.

The four common architecture patterns and where each fits

Most business web projects sit inside one of four recognisable architecture patterns. Each one has a real fit and a real failure mode.

Monolithic full-stack (a single application that handles pages, business logic and data access in one codebase, often with a framework like Django, Rails, Laravel or a Next.js app with API routes). Strength: simplest to ship, simplest to operate, fastest to iterate when the team is small. Weakness: scales by adding more of the same instance, not by isolating concerns. Best fit: most small-to-mid business projects with one team and a clear product scope.

Modular monolith with API boundaries (one deployable, but internal modules with strict APIs between them; a single database with carefully scoped schemas). Strength: many of the operational benefits of a monolith, with cleaner boundaries when the system grows. Weakness: discipline-dependent; without the discipline, it becomes a messy monolith. Best fit: business projects that are growing fast and may want to split later.

Headless content plus custom frontend (a CMS or content layer like Sanity, Contentful, Strapi or WordPress-as-API, with a separate frontend application calling it). Strength: editors get a real CMS, developers get a clean separation, multilingual and multi-channel are easier. Weakness: two systems to maintain, two deployment pipelines, two surface areas for things to break. Best fit: content-heavy business sites where editors are non-technical and the frontend has to do something the CMS theme cannot.

Service-oriented or microservices (multiple deployable services, each owning its own data and exposing APIs). Strength: lets multiple teams move independently and isolates failures. Weakness: heavy operational tax, only justified when the team count and operational maturity actually require it. Best fit: large platforms with multiple teams, multiple business domains and a real operations function. Almost always the wrong starting point for a single-team business project.

The mistake is not picking the wrong pattern in absolute terms. It is picking a pattern that does not match the project's size, team and budget. A two-developer business website does not need microservices, however fashionable they are; a multi-team enterprise platform cannot live in a single monolith for long, however simple it would be to start there.

The questions that decide the architecture

When the business shape and the pattern shortlist are clear, six questions usually settle most of the remaining architecture decisions.

Where does the data live, and who else needs it? If the data also feeds a CRM, an ERP, a reporting tool or a mobile app, the data layer has to be designed for that from the start. Treating the website as the system of record for data that other systems also need is a recurring source of expensive rework.

What integrations does the system depend on, and how reliable are they? A site that depends on three external APIs needs caching, fallbacks and timeouts designed in from day one. A site that depends on none of them is operationally simpler but probably less useful.

What is the realistic traffic profile, today and in eighteen months? Optimising for the traffic of a hypothetical successful future is the most common form of premature scaling. Designing for the actual traffic, with a clean upgrade path, is almost always cheaper.

Who is on call when something breaks? An architecture that requires a 24/7 operations capability the organisation does not have is the wrong architecture for that organisation, regardless of how clean it looks on paper.

What is the budget envelope, including the year after launch? Total cost of ownership, not project cost, is the right number. Architecture decisions that lock the project into a hosting contract or a vendor stack the budget cannot sustain are a slow form of failure.

What does the team know how to maintain, and what is it willing to learn? A team that can run a Django app cleanly will struggle with a polyglot microservice deployment, and a team that can run modern React will struggle with a legacy PHP stack. Architecture decisions that ignore the team's actual skills age badly. The same point applies in regulated or NGO contexts where staff turnover is faster: the architecture has to survive the people, not the other way around.

Anti-patterns to avoid

A few architecture choices come up in almost every business project conversation and rarely earn the cost they impose.

Copying a big-tech architecture for a small business project. The architecture that runs a streaming service is the wrong architecture for a regional consultancy's website. It carries operational complexity the smaller team cannot absorb. The right reference is a comparable project, not a famous one.

Over-engineering for scale that has not been demonstrated. Designing for a million users when the realistic ceiling is ten thousand pays a complexity tax now for a benefit that may never arrive. Build for the next plausible step, not for the imagined one after that.

Modernity for its own sake. Choosing the newest tools because they are the newest, without a specific problem they solve better than the boring alternative, is how teams end up with a stack that is fashionable on day one and unmaintainable on day five hundred.

Ignoring editorial workflow. An architecture that is technically beautiful but requires a developer to publish a press release is an architecture that will be circumvented within the year, often through a parallel WordPress that nobody planned for.

Treating hosting as an afterthought. The hosting decision is part of the architecture. Picking a stack the in-house ops team cannot run, or a managed platform the budget cannot sustain, is how systems get rebuilt eighteen months in for reasons that have nothing to do with the code.

Final takeaway

A web architecture is the system, not the stack. The right one for a business project is the one that fits the business shape, the team, the budget and the time horizon, with as little additional complexity as the project can get away with. The organisations that get measurable value from their web platforms are not the ones with the most fashionable architectures; they are the ones whose architecture is boring enough to maintain, specific enough to fit the work, and humble enough to be replaced when the business moves.

The wider context, including the rendering-mode and framework decisions that sit one level below this one, is collected in the web architecture and platforms insights cluster. And when the question moves from "what should the architecture be" to "we have an architecture and we now need someone to build it well, with the right backend, the right frontend and a maintainable codebase", that is exactly what my web application development practice is built around.

- Haja Faniry

Related services

Web Application Development

Custom web application development for companies, startups and international organisations.

Custom Digital Platforms for NGOs & Organisations

Development of digital platforms and data systems for NGOs, research institutions and international organisations.

Previous Post
Monolith vs Modular Architecture for Modern Web Projects
Next Post
How to Integrate AI Into Existing Systems
Choosing the Right Web Architecture for a Business Project | Haja Faniry