# ivo-donchev/talks architecture

> Architecture diagram of the GitHub repository ivo-donchev/talks, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ivo-donchev/talks
- Repository: https://github.com/ivo-donchev/talks

## Overview

##### Main Components
- A top-level “Talks Repository” container that holds all the talk-related content.
- Within each event’s container, identify components like “demo code”, “configuration files” (e.g., requirements.txt, setup.cfg, .gitignore), and possibly “slides” if they are included in the demos (the README implies that slides are intended to be part of the talks).

##### Relationships and Interactions
– Concurrency demonstrations (multiprocessing, multithreading, coroutines) are a repeated pattern across several demos (DevBG.* and EuroPython).
– Web application demos are segmented into backend (often Django-based, with additional configurations like asgi.py, wsgi.py, settings.py) and frontend parts (notice the Next.js sub-folder in some Django meetups).
- Although there are no runtime interactions between demos, from a design perspective it’s useful to show that the repository is “modular” with each folder encapsulating a specific demonstration or talk.

##### Architectural Patterns & Technologies
- For the Django-based projects:
– Illustrate the classic Django MVC (or “MTV”) separation where you have models, views, templates (or even API endpoints) and controllers (urls, middleware, etc.).
– Indicate that each Django project includes configuration layers (e.g., settings) plus possible integrations with frontend projects (Next.js).
- For the Next.js components:
– Show the separation between server-side configuration (next.config.js, tsconfig.json) and client-rendered components (pages, app directories).
- Concurrency demos:
– Highlight the fact that many of these demos come in “class-based” versus “function-based” versions for both multi-threading and multi-processing.
- Common configuration files (like requirements.txt, setup.cfg, and .gitignore) as supporting infrastructure that ties the demos together.

## Diagram (Mermaid)

```mermaid
graph TD
    A["Talks Repository"]:::repo

    %% DevBG.Python.Meetup (May-2021) Subgraph
    subgraph E1["DevBG.Python.Meetup (May-2021)"]
        direction TB
        E1H["DevBG.Python.Meetup (May-2021)"]:::event
        D1["01-http"]:::demo
        D1a["multiprocessing"]:::concurrency
        D1b["multithreading"]:::concurrency
        D2["02-cpu"]:::demo
        D2a["multiprocessing"]:::concurrency
        D2b["multithreading"]:::concurrency
        D3["03-memory-sharing"]:::demo
        D4["04-controller"]:::demo

        E1H --> D1
        D1 --> D1a
        D1 --> D1b
        E1H --> D2
        D2 --> D2a
        D2 --> D2b
        E1H --> D3
        E1H --> D4
    end

    %% DevBG.Python.Meetup (February-2024) Subgraph
    subgraph E2["DevBG.Python.Meetup (February-2024)"]
        direction TB
        E2H["DevBG.Python.Meetup (February-2024)"]:::event
        DJ1["Django backend"]:::django
        NX1["Next.js frontend"]:::nextjs

        E2H --> DJ1
        E2H --> NX1
    end

    %% Django.Meetup.Bulgaria-02-2023 Subgraph
    subgraph E3["Django.Meetup.Bulgaria-02-2023"]
        direction TB
        E3H["Django.Meetup.Bulgaria-02-2023"]:::event
        DJ2["Django App"]:::django
        NX2["Next.js App"]:::nextjs

        E3H --> DJ2
        E3H --> NX2
    end

    %% Django.Meetup.Bulgaria-05-2020 Subgraph
    subgraph E4["Django.Meetup.Bulgaria-05-2020"]
        direction TB
        E4H["Django.Meetup.Bulgaria-05-2020"]:::event
        DB["Dashboard Module"]:::django
        MC["Meetup Config"]:::django

        E4H --> DB
        E4H --> MC
    end

    %% Django.Meetup.Bulgaria-21-06-2022 Subgraph
    subgraph E5["Django.Meetup.Bulgaria-21-06-2022"]
        direction TB
        E5H["Django.Meetup.Bulgaria-21-06-2022"]:::event
        DJ3["Django Modular App"]:::django
        PC["Python Concurrency Demos"]:::concurrency

        E5H --> DJ3
        E5H --> PC
    end

    %% EuroPython Demos Subgraph
    subgraph E6["EuroPython Demos"]
        direction TB
        E6H["EuroPython Demos"]:::event
        EP18["EuroPython-2018"]:::demo
        subgraph EP22["EuroPython-2022"]
            direction TB
            EP22H["EuroPython-2022"]:::event
            EP22a["Concurrency Demos (python)"]:::concurrency
            EP22b["Scripts"]:::demo
            EP22c["Terminalizer Configs"]:::demo
            EP22H --> EP22a
            EP22H --> EP22b
            EP22H --> EP22c
        end
        EP23["EuroPython-2023"]:::demo

        E6H --> EP18
        E6H --> EP22H
        E6H --> EP23
    end

    %% Hands.On.Git.Github Demos Subgraph
    subgraph E7["Hands.On.Git.Github Demos"]
        direction TB
        E7H["Hands.On.Git.Github-09-2019"]:::event
    end

    %% PyCon.Balkan Demos Subgraph
    subgraph E8["PyCon.Balkan Demos"]
        direction TB
        E8H["PyCon.Balkan-2018"]:::event
    end

    %% Connections from Talks Repository to each event container header
    A --> E1H
    A --> E2H
    A --> E3H
    A --> E4H
    A --> E5H
    A --> E6H
    A --> E7H
    A --> E8H

    %% Click Events
    click A "https://github.com/ivo-donchev/talks/tree/master/Repository Root"
    click E1H "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/"
    click D1 "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/01-http/"
    click D1a "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/01-http/multiprocessing/"
    click D1b "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/01-http/multithreading/"
    click D2 "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/02-cpu/"
    click D2a "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/02-cpu/multiprocessing/"
    click D2b "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/02-cpu/multithreading/"
    click D3 "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/03-memory-sharing/"
    click D4 "https://github.com/ivo-donchev/talks/tree/master/DevBG.Python.Meetup.May-2021/demo/04-controller/"

    click E2H "https://github.com/ivo-donchev/talks/tree/master/DevBg.Python.Meetup.February-2024/"
    click DJ1 "https://github.com/ivo-donchev/talks/tree/master/DevBg.Python.Meetup.February-2024/demo_project/django/"
    click NX1 "https://github.com/ivo-donchev/talks/tree/master/DevBg.Python.Meetup.February-2024/demo_project/nextjs/"

    click E3H "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-02-2023/"
    click DJ2 "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-02-2023/demo/django_app/"
    click NX2 "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-02-2023/demo/nextjs_app/"

    click E4H "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-05-2020/"
    click DB "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-05-2020/demo/dashboard/"
    click MC "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-05-2020/demo/meetup/"

    click E5H "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-21-06-2022/"
    click DJ3 "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-21-06-2022/demo/django/app/"
    click PC "https://github.com/ivo-donchev/talks/tree/master/Django.Meetup.Bulgaria-21-06-2022/demo/python/"

    click EP18 "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2018/"
    click EP22H "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2022/demo/python/"
    click EP22a "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2022/demo/python/"
    click EP22b "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2022/demo/scripts/"
    click EP22c "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2022/demo/terminalizer_configs/"
    click EP23 "https://github.com/ivo-donchev/talks/tree/master/EuroPython-2023/"

    click E7H "https://github.com/ivo-donchev/talks/tree/master/Hands.On.Git.Github-09-2019/"
    click E8H "https://github.com/ivo-donchev/talks/tree/master/PyCon.Balkan-2018/"

    %% Class Definitions
    classDef repo fill:#BBDEFB,stroke:#000,stroke-width:2px;
    classDef event fill:#C8E6C9,stroke:#000,stroke-width:1px,stroke-dasharray:5,5;
    classDef demo fill:#FFF9C4,stroke:#f39c12,stroke-width:1px;
    classDef concurrency fill:#FFCDD2,stroke:#c0392b,stroke-width:1px;
    classDef django fill:#D1C4E9,stroke:#6a1b9a,stroke-width:1px;
    classDef nextjs fill:#B3E5FC,stroke:#0277bd,stroke-width:1px;
```
