Skip to main content

Architecture Frameworks

In What Is Architecture?, I describe architecture simply as how things are built. With such a wide definition, many kinds of frameworks are related to architecture: from the application frameworks a product is built with, through the ways teams work together and design their systems, to the frameworks for organizing architecture work across a whole enterprise.

Below is an overview of the key groups and example frameworks: when each group becomes useful, and for which architects. It ends with how I think frameworks are best used, especially enterprise architecture frameworks.

Framework types​

Different frameworks are meant for different architects and for organizations at different stages. I group them by what they help with:

  • How we build things: the technologies and the quality of what we build.
  • How we work together: how teams plan, deliver and organize, from a single team to many teams.
  • How we design things: how we design distributed systems, their integrations, data and domains, and how we describe them and record decisions.
  • How we govern the enterprise: how architecture, data and security are governed across the whole organization.

The table also follows the stages of Right-Sized Architecture and the types of architects. The stages are typical, not strict: a framework can be useful earlier or later, depending on the problem you have.

Framework typeTypically useful fromMainly used by
How we build things
Application frameworksStage 0: Standalone productEngineers, Application Architects
Agent frameworksStage 0: Standalone productEngineers, Application Architects
Cloud well-architected frameworksStage 1: Beyond functionalityEngineers, Application and System Architects
Application securityStage 1: Beyond functionalityEngineers, Application and System Architects
How we work together
Team practicesStage 0: Standalone productEngineers, Managers
Delivery performanceStage 1: Beyond functionalityManagers, Engineers
Scaled agile deliveryStage 3: Shared standardsManagers, System and Solution Architects
Team organizationStage 4: Platform capabilitiesManagers, System and Enterprise Architects
How we design things
Distributed systemsStage 1: Beyond functionalityEngineers, Application and System Architects
Architecture description and decisionsStage 2: Reuse what worksSystem and Solution Architects, Engineers
IntegrationStage 3: Shared standardsSolution and System Architects, Engineers
Data architectureStage 4: Platform capabilitiesSolution and Enterprise Architects
Domain designStage 5: Formalized designSolution Architects, Engineers
How we govern the enterprise
Enterprise architectureStage 6: Application portfolioEnterprise Architects
Data governanceStage 6: Application portfolioManagers, Enterprise Architects
Security governanceStage 6: Application portfolioManagers, Enterprise Architects

How we build things​

This is probably the largest and most diverse group. Every technology comes with a number of related frameworks, and this is where engineering focus typically goes: understanding those frameworks and being able to use them effectively.

Not everything listed here is a framework in the strict sense. In everyday language, the same things are also called technologies, libraries, packages, SDKs (software development kits), toolkits, runtimes, engines or platforms. The terms are often used loosely, and what matters is knowing when to use which one.

Frameworks in this group can focus on:

  • using a particular technology, such as a web or mobile platform, a cloud provider, a database, or a message broker such as Apache Kafka
  • implementing a particular pattern, such as object-relational mapping (ORM) in Entity Framework or Hibernate, or global state management in a web user interface with Redux
  • solving a specific task, for example:
    • testing, with JUnit for unit tests or Playwright for end-to-end tests of web applications
    • observability, with OpenTelemetry for traces, metrics and logs
    • cryptography, with a library such as libsodium
    • large-scale data processing, with Apache Spark
    • charts and interactive diagrams in the user interface, with D3.js or React Flow

With AI, expert knowledge about any of them is now at our fingertips. We still need to understand the concepts and the differences between options, so that we know when to use what. We also need to frame the problem well enough to judge whether the choices AI suggests are the right ones.

Application frameworks​

Choosing an application framework is often the first architectural decision for a new product. Each framework comes with its own structure, conventions and ecosystem, which shape how the product is built.

For web applications and backend services, these are among the most used in the Stack Overflow Developer Survey 2025:

  • Next.js: use it for a complete web application in JavaScript or TypeScript. It combines React for the user interface with Node.js for server-side rendering and backend endpoints, in one project.
  • ASP.NET Core: use it for web applications and backend services in C#, especially in organizations invested in the Microsoft ecosystem.
  • Spring Boot: use it for backend services in Java or Kotlin, especially in organizations with a large Java ecosystem.
  • FastAPI: use it for APIs in Python, for example to serve data, machine learning and AI capabilities where Python is already the main language.

For mobile applications:

  • Native: Android and iOS: use them when the app needs the best performance, the newest platform features or deep integration with the device, and you can afford a separate codebase for each platform.
  • Cross-platform: .NET MAUI, Flutter or React Native: use them when one team should deliver for both platforms from a single codebase. Choose the one that matches your team's skills: C#, Dart or JavaScript and React.

Agent frameworks​

Agent frameworks are the application frameworks for AI agents: they provide the agent loop, tool calling, memory and orchestration, so that you do not build them from scratch.

  • Claude Agent SDK: use it when your agent works with files, commands and code. It gives you the same tools and agent loop that power Claude Code, as a Python or TypeScript library.
  • Google Agent Development Kit (ADK): use it when you build, debug and deploy agents in Python, TypeScript, Go, Java or Kotlin, with an open-source framework from Google.
  • LangGraph: use it when you need fine-grained control over complex, multi-step agent workflows, independent of the model provider.

Cloud well-architected frameworks​

Use them when a product team starts to address non-functional requirements and needs a checklist to review a workload for reliability, security, performance and cost. They are useful even if you do not run on that provider's cloud.

Application security​

Use them from the moment a product handles real users and data. See also Security as a platform capability.

  • OWASP Top 10: use it as the baseline every team building web applications and APIs should know, to avoid the most common security risks.
  • OWASP ASVS (Application Security Verification Standard): use it when you need concrete, testable security requirements for an application, at a level that matches its risk.

How we work together​

These frameworks describe how people and teams plan, deliver and organize their work, from a single team to many teams working on one solution. They matter for architecture in two ways:

  • They shape the systems. The way teams are organized and communicate shapes the systems they build (Conway's law).
  • They shape how architecture work fits into delivery. Knowing how teams plan and execute their work is crucial to provide architectural input effectively: at the right moment, in the right format and in the right forum, for example in refinement, in planning or as part of the definition of done.

Team practices​

  • Scrum: use it when a team benefits from a fixed rhythm of short iterations, with regular planning, review and retrospective.
  • Kanban: use it when work arrives continuously, for example support or platform requests, and the team wants to visualize and limit work in progress instead of planning in iterations.

Scaled agile delivery​

  • SAFe (Scaled Agile Framework): use it when many teams deliver one solution together and need a shared planning cadence. Its architect roles and its architectural runway, the existing code, components and infrastructure needed for upcoming features, show how architecture fits into agile delivery at scale.

Team organization​

  • Team Topologies: use it when you design team boundaries and platform teams, so that team structure and system boundaries support each other.

Delivery performance​

  • DORA metrics: use them when you want to measure and improve how fast and how safely teams deliver changes, based on research rather than opinions.

How we design things​

Distributed systems​

These are principles, patterns and platforms rather than frameworks in the strict sense, but they shape almost every system that runs on more than one machine.

  • CAP theorem and PACELC: use them when you choose a database or design replication, to make the trade-off between consistency, availability and latency explicit.
  • The Twelve-Factor App: use it as a baseline when services should be deployed, configured and scaled the same way in every environment.
  • Microservice patterns: use them when you split a system into services and need proven solutions for communication and data consistency, such as an API gateway, sagas or the transactional outbox.
  • Kubernetes: use it when you run many containerized services and need a standard platform for deployment, scaling and self-healing. It is a platform rather than a design framework, but its concepts, such as health checks, autoscaling and rolling updates, shape how services are designed. See Infrastructure.

Architecture description and decisions​

Integration​

Data architecture​

  • Data mesh: use it when a central data team has become a bottleneck, and business domains should own and publish their data as products.
  • Medallion architecture: use it when you organize a data lake or lakehouse in layers of increasing quality: raw data (bronze), cleaned and validated data (silver), and data shaped for business use (gold).

Domain design​

How we govern the enterprise​

Enterprise architecture​

  • TOGAF: use it when you build or formalize an architecture practice and its repository across the enterprise. See TOGAF Content Metamodel.
  • Zachman Framework: use it as a completeness check, to make sure a topic is described for all relevant audiences and from all angles: what, how, where, who, when and why.
  • ArchiMate: use it when you need precise, consistent models across business, applications and technology, often together with TOGAF. See ArchiMate Metamodel.

Data governance​

  • DAMA-DMBOK (Data Management Body of Knowledge): use it as the reference when you set up data governance and data management roles, quality, metadata and master data.
  • Federated governance: use it when a central team cannot govern all data alone. Domains own their data, and a governance group with domain representatives agrees on shared policies that the platform enforces automatically. It is one of the four principles of data mesh. AWS describes how to implement data mesh, including federated governance, in Strategies for building a data mesh-based enterprise solution on AWS.

Security governance​

  • ISO/IEC 27001: use it when security must be managed across the whole organization, not only for single applications. It defines the requirements for an information security management system (ISMS): policies, risk assessment, controls and continuous improvement. Organizations can be certified against it. Customers and partners often ask for the certification, sometimes much earlier than Stage 6, especially in regulated domains.

For application-level security, see Application security.

How I use architecture frameworks​

This section is my opinion, based on my experience as an architect in enterprise organizations.

It matters most for the enterprise architecture frameworks, such as TOGAF and Zachman, and for enterprise-wide bodies of knowledge such as DAMA-DMBOK for data management. From the perspective of everyday delivery, they are the most abstract ones, and it is often difficult to see how they relate to building software. They become useful mainly when the organization reaches enough scale and complexity, typically at Stage 6 or 7 of Right-Sized Architecture. But one principle applies to every framework on this page, whether it is an application framework, a way of working or an enterprise architecture framework: start from the problem, not from the framework.

Not a step-by-step guide​

A framework such as TOGAF is not a cookbook that tells you, step by step, how to run architecture in your organization. I find it more useful to think of TOGAF as a framework for building your own architecture practice: a kind of metamodel for creating architecture metamodels. It guides you how to:

  • establish the architecture practice in the organization and grow it incrementally
  • define your own metamodel, the types of elements and relationships you want to capture
  • fill the architecture repository with content, iteration by iteration

TOGAF itself supports this reading. The Open Group describes it as a standard you adapt for your configured Enterprise Architecture practice, and its Architecture Development Method (ADM) is iterative and can be tailored to the organization's needs. The Zachman Framework is even more explicit: its authors state that it is an ontology and not a methodology.

A reference to know and come back to​

What makes frameworks valuable is knowing what they contain, so that you know when to refer to them and for what. When you work on a problem that a framework already covers, look at how it approaches the problem before inventing your own solution. Do not reinvent the wheel: follow the common practice, if it suits your use case.

Frameworks also create a common language. Even within one architecture team, architects can have different opinions on how to model things. A standard framework becomes a neutral reference point that helps align people, instead of a debate between personal preferences.

Start from the problem, not from the framework​

This is true for any framework, not only for architecture frameworks. Pick an application framework, a team practice or a modeling standard because it solves a problem you actually have, not because it is popular or complete.

In this playbook, I do not follow any single framework. I start from the problems I have witnessed in my actual work. Then I look at how the frameworks approach those problems, and align my ways of working and my concept model with what they suggest.

Aligning with the business needs and the actual problems of your organization is always more important than aligning with a framework. Introducing framework elements without a good use case and justification can even harm the organization: it adds work, process and vocabulary that nobody needs. "Because the framework says so" is a very poor justification.

Every organization has many things it could be working on, and many frameworks, methodologies and approaches to choose from. Architecture frameworks are not above the others. They compete for the same time and attention.

The same applies to every layer, element type and single field you take from a framework into your own metamodel. See Choose only what the organization needs.

Further reading​