Masterclass

Architecture as Code: Quantitative Analysis for Software Architecture

About

Architects often describe their work in diagrams and other visual artifacts, but how can they test to see if the implementation is aligned with the architecture? Architects are expected to not only design new systems, but continuously govern what they’ve already built and ensure that their architecture is aligned with the technical and business environment.

This combined course uncovers a new way to think about architecture—as code. We have infrastructure, policy, data, and a host of other things “as code”, but not architecture…until now.

This course covers numerous intersections of software architecture with all the tendrils of the organization, defining each intersection using code. Using fitness function-driven architecture, teams can define structure, constraints, governance, security, communication, and many other capabilities, all as source code.

We cover intersections with implementation, infrastructure, engineering practices, team topologies, data topologies, systems integration, the enterprise, and the business environment , defining each interaction with tests and other fitness functions that allow architects to not only design solutions but make sure they are implemented and aligned correctly via automated verification. This hand-on class includes numerous coding exercises to make intersections concrete, allowing attendees to build their own fitness functions that apply to their day job.

Course contents

Introduction

  • Why doesn’t architecture always work?
  • Introducing Architectural Nexûs
  • Defining Fitness Functions
  • Architecture as code
  • Architecture Definition Language (ADL)
  • Case Study Descriptions

 

Intersection of Architecture and Implementation 

  • Structural Alignment
  • Fitness Function Examples
  • Hands-on Exercises
  • Constraints Alignment
  • Fitness Function Examples

 

Intersection of Architecture and Infrastructure

  • Operational Characteristics Alignment
  • Aspect-Oriented Architecture
  • Governance Mesh
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and Data Topologies

  • How Data Impacts Architecture
  • Data Topologies
  • Data Topology and Architecture Alignment
  • Hands-on Exercises
  • Data Types and Architecture Alignment
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and Engineering Practices

  • Monolithic Repo Governance
  • Development and Deployment Practices
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and Team Topologies

  • Team Topology Types
    • Stream-aligned teams
    • Enabling teams
    • Complex subsystem teams
    • Platform teams
  • Architecture and Team Alignment
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and Integration Environment

  • Architectural Quantum Governance
  • Coupling and Systems Integration
  • Contract Coupling
  • Conflict Free Replicated Data Types (CRDT)
  • Observability techniques / metrics
  • Data Consistency
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and The Enterprise

  • Issues and Challenges with the Enterprise
  • Software Bill of Materials
  • Standards
  • Governance
  • Practices
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and The Business Environment

  • Describing the Business Environment
  • Iterative Architecture
  • Domain to Architecture Isomorphism
  • Fitness Function Examples
  • Hands-on Exercises

 

Intersection of Architecture and Generative AI

  • AI Ecosystem Matrix
  • Generative AI Assistance for Architecture
  • Supporting Ecosystem Tools and Products
  • Productionizing AI
  • Fitness Function Examples
  • Hands-on Exercises

 

Summary and Resources

  • Fitness Function Driven Architecture
  • Summary Tips

Target audience and prerequisites

14
 - 15 October 2025