C4 models as code - Simon Brown - NDC Oslo 2023

Поділитися
Вставка
  • Опубліковано 14 тра 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/
  • Наука та технологія

КОМЕНТАРІ • 10

  • @TheEyzic
    @TheEyzic 10 місяців тому +12

    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

  • @ericblankenburg
    @ericblankenburg 7 місяців тому +2

    Container = Subsystem

  • @altugaecoffice
    @altugaecoffice 9 місяців тому

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

  • @illyam689
    @illyam689 26 днів тому

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

  • @szeredaiakos
    @szeredaiakos 7 місяців тому

    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.

  • @wyleong4326
    @wyleong4326 3 місяці тому

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

  • @slavaslutsker7223
    @slavaslutsker7223 6 місяців тому

    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 2 місяці тому +2

      Are there alternatives that solve this?

    • @illyam689
      @illyam689 28 днів тому

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

  • @ManfredWisniewski
    @ManfredWisniewski 2 місяці тому

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