This presentation was recorded at GOTO Copenhagen 2021. #GOTOcon #GOTOcph
Simon Brown - Author of “Software Architecture for Developers“ & Creator of the C4 Software
ABSTRACT
Diagrams as code is becoming a popular way to diagram software architecture, particularly for long-lived high-level documentation. You write the diagram source in a text-based domain specific language (e.g. PlantUML or Mermaid) or a programming language, and render diagrams using web-based or command line tooling.
The benefits are well understood – writing the diagram source as text allows for easy integration into software development practices and toolchains, plus the automatic layout facilities allow authors to focus on content.
The problem with this approach is that it’s easy for diagrams to get out of sync. Enter “diagrams as code 2.0“ — a way to define a model of our software architecture and the views that we’d like to see, ultimately resulting in a consistent set of diagrams that are generated for us. [...]
TIMECODES
00:00 Intro
02:09 C4 Model
06:05 Diagramming vs modelling
07:54 Domain concepts
08:41 Model-based (DRY)
12:41 HTML & CSS
15:44 Diagrams as code 1.0
16:02 Diagrams as code 2.0
20:13 More advanced features
24:04 Enterprise-wide modelling?
25:09 Scripting support
26:36 Plugin support
28:58 Custom tooling
30:23 Usage scenarios
31:24 Interactive diagrams
35:19 Closing thoughts
38:49 Outro
Download slides and read the full abstract here:
RECOMMENDED BOOKS
Simon Brown • Software Architecture for Developers Vol. 2 •
David Farley • Modern Software Engineering •
Dave Farley & Jez Humble • Continuous Delivery •
Woods, Erder & Pureur • Continuous Architecture in Practice •
George Fairbanks • Just Enough Software Architecture •
#SoftwareArchitecture #DevOps #SimonBrown #Microservices #Monolith #ModularMonolith #Complexity #BoundedContext #C4Model #SoftwareEngineering #Programming #SoftwareDevelopment #UML #DRY #Structurizr
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at
Sign up for updates and specials at
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.