<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Florian Fenzl</title>
    <description>The latest articles on DEV Community by Florian Fenzl (@florian_fenzl).</description>
    <link>https://dev.to/florian_fenzl</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4263489%2F18928ca0-9f0a-4dbe-b2a6-1571a07f6df6.png</url>
      <title>DEV Community: Florian Fenzl</title>
      <link>https://dev.to/florian_fenzl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/florian_fenzl"/>
    <language>en</language>
    <item>
      <title>Your Architecture Diagram Is Already Out of Date</title>
      <dc:creator>Florian Fenzl</dc:creator>
      <pubDate>Tue, 24 Nov 2026 21:47:01 +0000</pubDate>
      <link>https://dev.to/florian_fenzl/your-architecture-diagram-is-already-out-of-date-39en</link>
      <guid>https://dev.to/florian_fenzl/your-architecture-diagram-is-already-out-of-date-39en</guid>
      <description>&lt;p&gt;Every team I have worked with had &lt;em&gt;the diagram&lt;/em&gt;. A beautiful picture in Miro, draw.io or a slide deck, created during a kickoff, presented once to stakeholders — and quietly wrong three sprints later.&lt;/p&gt;

&lt;p&gt;Nobody lied. The system just moved on. A service was split, a queue replaced a REST call, a database got a read replica. The diagram didn't, because updating it means opening a canvas, nudging boxes and re-routing arrows by hand. So we stop doing it, and the most important document of a system turns into decoration.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;ArchScript&lt;/strong&gt; because I wanted the opposite: an architecture that is as easy to change as the code it describes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Describe the system, don't draw it
&lt;/h2&gt;

&lt;p&gt;ArchScript is a small, readable language for software architecture. You write what exists and how it is connected:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project MicroservicesPlatform

domain Identity {
  element service "Auth Service" as auth {
    tech "Rust"
    owner "Identity Team"
  }
  element database "Auth Database" as auth_db
}

boundary Messaging {
  element event_bus "Event Bus" as event_bus {
    tech "Kafka"
  }
}

relation auth -&amp;gt; auth_db : PostgreSQL
relation auth -&amp;gt; event_bus : publishes UserCreated
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the whole model. There are no coordinates, no colours to pick, no arrows to route. The diagram is &lt;strong&gt;generated&lt;/strong&gt; — laid out automatically every time the code changes:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwm25nste2mfel78inub0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwm25nste2mfel78inub0.png" alt="The generated diagram" width="800" height="897"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Domains and boundaries become frames, element types get their own shapes and colours, relations are routed orthogonally with their labels.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes when the diagram is generated
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Changes are cheap.&lt;/strong&gt; Rename a service and every relation follows. Move an element into another domain and the layout reorganises itself. The cost of keeping the picture true drops to almost zero — which is the only way it ever stays true.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The model lives next to the code.&lt;/strong&gt; An &lt;code&gt;.archs&lt;/code&gt; file is plain text. It goes into Git, shows up in pull requests and has a history. "When did we introduce the event bus?" becomes &lt;code&gt;git log&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The model can be checked.&lt;/strong&gt; Because the architecture is structured data, a tool can reason about it. ArchScript runs more than a dozen architecture rules while you type: dependency cycles, clients talking straight to databases, critical services without an owner, production services without monitoring, unencrypted public traffic. A picture can't warn you. A model can.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One source, many outputs.&lt;/strong&gt; The same file produces the interactive diagram, Markdown documentation, a PDF report, Mermaid and PlantUML — and even a Terraform skeleton for AWS, Azure or Google Cloud.&lt;/p&gt;

&lt;h2&gt;
  
  
  "But I like dragging boxes"
&lt;/h2&gt;

&lt;p&gt;So do I — for sketching. That's why the newest version turns the diagram into an editor without giving up the code as the source of truth.&lt;/p&gt;

&lt;p&gt;Right-click the diagram and insert an element: it appears in the right container and the right layer, because the layout is still automatic. Drag a handle from one element to another and a &lt;code&gt;relation&lt;/code&gt; line appears in the code. Drag an element into a container and its code block moves there, indentation included. Every action is a small, undoable text edit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fchcy7m3qbm3mlym1hd0p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fchcy7m3qbm3mlym1hd0p.png" alt="ArchScript for Mac: editor, diagram and inspector" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In the Apple apps an inspector edits names, types, properties, tags and colours — each change written back as code.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You get the immediacy of a canvas and the precision of code, without the drift.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to start
&lt;/h2&gt;

&lt;p&gt;The fastest way is the browser: the &lt;strong&gt;&lt;a href="https://archscript.dev/playground/" rel="noopener noreferrer"&gt;ArchScript Playground&lt;/a&gt;&lt;/strong&gt; compiles everything locally with WebAssembly — no account, no upload, your model stays on your device. Pick a template (microservices, DDD, event-driven, Docker deployment) and start changing things.&lt;/p&gt;

&lt;p&gt;On Apple devices, &lt;strong&gt;ArchScript for Mac, iPad and iPhone&lt;/strong&gt; (&lt;a href="https://apps.apple.com/app/archscript/id6832222983" rel="noopener noreferrer"&gt;App Store&lt;/a&gt;) adds a native editor, the inspector, custom rules synced via iCloud and Terraform export. On the Mac there is also — more on that in a later post — a way for AI assistants like Claude to plan architecture with you.&lt;/p&gt;

&lt;p&gt;The diagram on your wall is probably already out of date. The next one doesn't have to be.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;ArchScript is built by Florian Fenzl. Try it at &lt;a href="https://archscript.dev" rel="noopener noreferrer"&gt;archscript.dev&lt;/a&gt;. In the next article: modelling Docker deployments — clusters, servers and containers — as code.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>devops</category>
      <category>systemdesign</category>
    </item>
  </channel>
</rss>
