C4 models as code - Simon Brown - NDC Oslo 2023

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • "Diagrams as code", as featured on the ThoughtWorks Tech Radar, is becoming a popular way to create software architecture diagrams for inclusion in long-lived documentation. The benefits of creating diagrams from text are well understood - text is version controllable, easy to diff, easy to integrate into build pipelines, and automatic layout facilities allow authors to focus on content. The majority of these tools (e.g. PlantUML and Mermaid) are focussed on diagramming though, and require you to create one text file per diagram, with only a limited ability to reuse diagram elements across multiple diagrams. At scale, this causes maintenance problems, and leads to inconsistencies between diagrams.
    This talk will introduce and demonstrate the open source Structurizr DSL - a way to create a model of your software architecture using a textual DSL that's specifically targeted towards the C4 model. We'll also see how the DSL separates content from presentation, allowing you to render your diagrams with a number of tools, which in turn offers some answers for the tricky question of how to use the C4 model at scale.
    Check out our new channel:
    NDC Clips:
    ‪@ndcclips‬
    Check out more of our featured speakers and talks at
    ndcconferences.com/
    ndcoslo.com/
  • Věda a technologie

Komentáře • 11

  • @tyl4239
    @tyl4239 Před 15 dny +2

    This is exactly what I am looking for, thanks for the sharing!

  • @TheEyzic
    @TheEyzic Před rokem +13

    This is mindblowingly brilliant!!! I saw one of his talks before the Structurizr DSL existed and I remembered being impressed but I did not really now how to put it into practice. Now I do! Throughout the presentation it just gets better and better. I will definitely start using this. WOW! :D

  • @altugaecoffice
    @altugaecoffice Před 11 měsíci

    is this DSL's grammar based on Hashicorp HCL's grammar?

  • @wyleong4326
    @wyleong4326 Před 5 měsíci

    It’s like Graphvis went to the code gym, did some reps and grew some muscles.

  • @ericblankenburg
    @ericblankenburg Před 10 měsíci +2

    Container = Subsystem

  • @slavaslutsker7223
    @slavaslutsker7223 Před 9 měsíci

    Great work done and as well as the talk, nice tooling for software architects.
    The main challenge I see is this type of docs need DSL and tools to be created and updated, so the dev team won’t update docs on regular base, it can lead to a point when you have diagrams that are out of sync with real system’s structure, which makes those diagrams less useful or even completely useless to devs.

    • @lucas_sg
      @lucas_sg Před 4 měsíci +2

      Are there alternatives that solve this?

    • @illyam689
      @illyam689 Před 3 měsíci

      @@lucas_sg I think not.. any kind of documentation tends to rot

  • @szeredaiakos
    @szeredaiakos Před 10 měsíci

    I am not sure why there is such focus on data modelling early on. The focus of information tech is to enhance and extend abilities. Data has a support role to that.

  • @illyam689
    @illyam689 Před 3 měsíci

    Demo god was not kind 😂! But still great presentation as usual!

  • @ManfredWisniewski
    @ManfredWisniewski Před 4 měsíci

    I am not old! The Rational Rose UI was horrible but still better than PlantUML. 🙄 Am I old?🤔