Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

C4 Models as Code

NDC Conferences via YouTube

Overview

Explore the concept of "diagrams as code" for creating software architecture diagrams in this NDC Oslo 2023 conference talk. Learn about the benefits of text-based diagram creation, including version control, easy diffing, and build pipeline integration. Discover the open-source Structurizr DSL, specifically designed for the C4 model, which separates content from presentation and allows rendering with multiple tools. Gain insights into using the C4 model at scale, understanding system context diagrams, container diagrams, and various notation techniques. Delve into topics such as automation, modeling tools, and the advantages of model-based tooling. Examine practical demonstrations, including handling violations, implied relationships, and database shapes. Explore options for dealing with complex architectures, such as creating smaller diagrams or using non-traditional visualization methods like force-directed graphs. Discover how to integrate with tools like Confluence and Backstage, and learn about additional features such as logging and workspace extensions.

Syllabus

Introduction
The C4 model
System context diagram
Notation
Tooling
General purpose tools
Automation
Diagrams as code
Modeling tools
Models as code
Demo
container diagram
violation
implied relationships
database shapes
diagram key
demo page
exports
CLI
Diagrams
C4VS
Documentation
Markdown
ADRs
More than 6 boxes
Service
Microservice
Servicebased architecture
Modelbased tooling
Expression language
Option 1 have lots of smaller diagrams
Option 2 not use a traditional diagram
JavaScript D3js Force Director Graph
ILO Graph
YAML
Logging
structurizer4net
Json
Other tools
Workspace extension
DSL
Confluence
Backstage

Taught by

NDC Conferences

Reviews

Start your review of C4 Models as Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.