# denniz-blipblip/sandbox architecture

> Architecture diagram of the GitHub repository denniz-blipblip/sandbox, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/denniz-blipblip/sandbox
- Repository: https://github.com/denniz-blipblip/sandbox

## Overview

SandBox is a collection of independent experiments, not one integrated product. The clearest user-facing workflow is the Java Swing account demo: launch its window, register credentials, then attempt login against in-memory data. Other visible projects include a PHP student-management app, a C++ TCP echo server, a Python image-art tool, coursework examples, and the Calky Flutter platform shells. Evidence is uneven: some projects have only filenames or small excerpts, so their behavior and connections are represented conservatively.

Main entry points: [`BasicCrud-JavaSwing/src/GUI/Window.java`](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Window.java) (Card window), [`BasicCrud-JavaSwing/src/GUI/Login.java`](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Login.java) (Login form), [`BasicCrud-JavaSwing/src/GUI/Register.java`](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Register.java) (Registration form), [`BasicCrud-JavaSwing/src/Data/Tree.java`](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Tree.java) (Account tree)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_swing["Swing account demo"]
  node_swing_app["Swing launcher<br/>[App.java]"]
  node_swing_window["Card window<br/>[Window.java]"]
  node_swing_login["Login form<br/>[Login.java]"]
  node_swing_register["Registration form<br/>[Register.java]"]
  node_swing_manager["Account manager<br/>[DataManager.java]"]
  node_swing_tree["Account tree<br/>[Tree.java]"]
  node_swing_data["Account record<br/>[Data.java]"]
  node_swing_node["Tree node<br/>[Node.java]"]
end

subgraph group_php["PHP applications"]
  node_student_user(("Student-system user"))
  node_student_app["Student-management app<br/>[index.php]"]
  node_student_db[("User database access<br/>[db.php]")]
  node_student_js["Browser script<br/>[main.js]"]
  node_crate_api["Crate API<br/>[index.php]"]
  node_crate_db[("Crate DB config<br/>[db.php]")]
  node_crate_db2[("Alternate DB config<br/>[db2.php]")]
  node_crate_js["Crate browser script<br/>[main.js]"]
  node_crate_cli["Crate CLI<br/>[main.cpp]"]
end

subgraph group_tools["Small tools"]
  node_image_cli["Image script<br/>[main.py]"]
  node_image_tool["Image-art operations<br/>[image_art.py]"]
end

subgraph group_chat["TCP chat server"]
  node_chat_server["Socket server<br/>[main.cpp]"]
  node_chat_handlers["Client handlers<br/>[chat.hpp]"]
end

subgraph group_school["Coursework examples"]
  node_school_examples["Java practice examples"]
  node_priority_queue["Priority-queue exercise<br/>[App.java]"]
end

subgraph group_calky["Calky platform shells"]
  node_calky_linux["Linux app bootstrap<br/>[main.cc]"]
  node_calky_linux_app["Linux application<br/>[my_application.cc]"]
  node_calky_windows["Windows app bootstrap<br/>[main.cpp]"]
  node_calky_window["Flutter window<br/>[flutter_window.cpp]"]
end

node_user(("User"))
node_image_user(("Image-tool user"))
node_chat_client(("TCP client"))

node_swing_app -->|"opens"| node_swing_window
node_user -.->|"uses"| node_swing_window
node_swing_window -->|"constructs"| node_swing_login
node_swing_window -->|"constructs"| node_swing_register
node_swing_login -->|"switches view"| node_swing_window
node_swing_register -->|"switches view"| node_swing_window
node_swing_login -->|"verifies account"| node_swing_manager
node_swing_register -->|"inserts account"| node_swing_manager
node_swing_manager -->|"delegates"| node_swing_tree
node_swing_tree -->|"uses records"| node_swing_data
node_swing_tree -->|"uses nodes"| node_swing_node
node_student_user -.->|"uses"| node_student_app
node_student_app -->|"uses database access"| node_student_db
node_image_user -.->|"runs"| node_image_cli
node_image_cli -->|"calls image operations"| node_image_tool
node_chat_client -.->|"connects"| node_chat_server
node_chat_server -->|"registers handlers"| node_chat_handlers
node_calky_linux -->|"creates app"| node_calky_linux_app
node_calky_windows -->|"creates window"| node_calky_window

click node_swing_app "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/App.java"
click node_swing_window "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Window.java"
click node_swing_login "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Login.java"
click node_swing_register "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Register.java"
click node_swing_manager "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/DataManager.java"
click node_swing_tree "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Tree.java"
click node_swing_data "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Data.java"
click node_swing_node "https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Node.java"
click node_student_app "https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/src/index.php"
click node_student_db "https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/config/db.php"
click node_student_js "https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/public/js/main.js"
click node_crate_api "https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/src/index.php"
click node_crate_db "https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/config/db.php"
click node_crate_db2 "https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/config/db2.php"
click node_crate_js "https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/public/js/main.js"
click node_crate_cli "https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-CLI/main.cpp"
click node_image_cli "https://github.com/denniz-blipblip/sandbox/blob/main/Cutesy/src/main.py"
click node_image_tool "https://github.com/denniz-blipblip/sandbox/blob/main/Cutesy/src/image_art.py"
click node_chat_server "https://github.com/denniz-blipblip/sandbox/blob/main/TCP-chat-Server/main.cpp"
click node_chat_handlers "https://github.com/denniz-blipblip/sandbox/blob/main/TCP-chat-Server/chat.hpp"
click node_school_examples "https://github.com/denniz-blipblip/sandbox/tree/main/SchoolWorks/pf101/practice/src"
click node_priority_queue "https://github.com/denniz-blipblip/sandbox/blob/main/SchoolWorks/cc104/priorityQueue/src/App.java"
click node_calky_linux "https://github.com/denniz-blipblip/sandbox/blob/main/calky/linux/runner/main.cc"
click node_calky_linux_app "https://github.com/denniz-blipblip/sandbox/blob/main/calky/linux/runner/my_application.cc"
click node_calky_windows "https://github.com/denniz-blipblip/sandbox/blob/main/calky/windows/runner/main.cpp"
click node_calky_window "https://github.com/denniz-blipblip/sandbox/blob/main/calky/windows/runner/flutter_window.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_swing_app,node_swing_window,node_swing_login,node_swing_register,node_swing_manager,node_swing_tree,node_swing_data,node_swing_node,node_user,node_image_user,node_chat_client toneBlue
class node_student_user,node_student_app,node_student_db,node_student_js,node_crate_api,node_crate_db,node_crate_db2,node_crate_js,node_crate_cli toneAmber
class node_image_cli,node_image_tool toneMint
class node_chat_server,node_chat_handlers toneRose
class node_school_examples,node_priority_queue toneIndigo
class node_calky_linux,node_calky_linux_app,node_calky_windows,node_calky_window toneTeal
```

## Components

### Swing account demo

- [Swing launcher](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/App.java): `BasicCrud-JavaSwing/src/App.java`
- [Card window](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Window.java): `BasicCrud-JavaSwing/src/GUI/Window.java`
- [Login form](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Login.java): `BasicCrud-JavaSwing/src/GUI/Login.java`
- [Registration form](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/GUI/Register.java): `BasicCrud-JavaSwing/src/GUI/Register.java`
- [Account manager](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/DataManager.java): `BasicCrud-JavaSwing/src/Data/DataManager.java`
- [Account tree](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Tree.java): `BasicCrud-JavaSwing/src/Data/Tree.java`
- [Account record](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Data.java): `BasicCrud-JavaSwing/src/Data/Data.java`
- [Tree node](https://github.com/denniz-blipblip/sandbox/blob/main/BasicCrud-JavaSwing/src/Data/Node.java): `BasicCrud-JavaSwing/src/Data/Node.java`

### PHP applications

- **Student-system user**
- [Student-management app](https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/src/index.php): `Student-Managment-System/src/index.php`
- [User database access](https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/config/db.php): `Student-Managment-System/config/db.php`
- [Browser script](https://github.com/denniz-blipblip/sandbox/blob/main/Student-Managment-System/public/js/main.js): `Student-Managment-System/public/js/main.js`
- [Crate API](https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/src/index.php): `Crate/Crate-API/src/index.php`
- [Crate DB config](https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/config/db.php): `Crate/Crate-API/config/db.php`
- [Alternate DB config](https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/config/db2.php): `Crate/Crate-API/config/db2.php`
- [Crate browser script](https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-API/public/js/main.js): `Crate/Crate-API/public/js/main.js`
- [Crate CLI](https://github.com/denniz-blipblip/sandbox/blob/main/Crate/Crate-CLI/main.cpp): `Crate/Crate-CLI/main.cpp`

### Small tools

- [Image script](https://github.com/denniz-blipblip/sandbox/blob/main/Cutesy/src/main.py): `Cutesy/src/main.py`
- [Image-art operations](https://github.com/denniz-blipblip/sandbox/blob/main/Cutesy/src/image_art.py): `Cutesy/src/image_art.py`

### TCP chat server

- [Socket server](https://github.com/denniz-blipblip/sandbox/blob/main/TCP-chat-Server/main.cpp): `TCP-chat-Server/main.cpp`
- [Client handlers](https://github.com/denniz-blipblip/sandbox/blob/main/TCP-chat-Server/chat.hpp): `TCP-chat-Server/chat.hpp`

### Coursework examples

- [Java practice examples](https://github.com/denniz-blipblip/sandbox/tree/main/SchoolWorks/pf101/practice/src): `SchoolWorks/pf101/practice/src`
- [Priority-queue exercise](https://github.com/denniz-blipblip/sandbox/blob/main/SchoolWorks/cc104/priorityQueue/src/App.java): `SchoolWorks/cc104/priorityQueue/src/App.java`

### Calky platform shells

- [Linux app bootstrap](https://github.com/denniz-blipblip/sandbox/blob/main/calky/linux/runner/main.cc): `calky/linux/runner/main.cc`
- [Linux application](https://github.com/denniz-blipblip/sandbox/blob/main/calky/linux/runner/my_application.cc): `calky/linux/runner/my_application.cc`
- [Windows app bootstrap](https://github.com/denniz-blipblip/sandbox/blob/main/calky/windows/runner/main.cpp): `calky/windows/runner/main.cpp`
- [Flutter window](https://github.com/denniz-blipblip/sandbox/blob/main/calky/windows/runner/flutter_window.cpp): `calky/windows/runner/flutter_window.cpp`

### Other components

- **User**
- **Image-tool user**
- **TCP client**

## Connections

- Swing launcher → Card window: opens (evidence: `BasicCrud-JavaSwing/src/App.java`)
- User → Card window: uses
- Card window → Login form: constructs (evidence: `BasicCrud-JavaSwing/src/GUI/Window.java`)
- Card window → Registration form: constructs (evidence: `BasicCrud-JavaSwing/src/GUI/Window.java`)
- Login form → Card window: switches view (evidence: `BasicCrud-JavaSwing/src/GUI/Login.java`)
- Registration form → Card window: switches view (evidence: `BasicCrud-JavaSwing/src/GUI/Register.java`)
- Login form → Account manager: verifies account (evidence: `BasicCrud-JavaSwing/src/GUI/Login.java`)
- Registration form → Account manager: inserts account (evidence: `BasicCrud-JavaSwing/src/GUI/Register.java`)
- Account manager → Account tree: delegates (evidence: `BasicCrud-JavaSwing/src/Data/DataManager.java`)
- Account tree → Account record: uses records (evidence: `BasicCrud-JavaSwing/src/Data/Tree.java`)
- Account tree → Tree node: uses nodes (evidence: `BasicCrud-JavaSwing/src/Data/Tree.java`)
- Student-system user → Student-management app: uses
- Student-management app → User database access: uses database access (evidence: `Student-Managment-System/src/index.php`)
- Image-tool user → Image script: runs
- Image script → Image-art operations: calls image operations (evidence: `Cutesy/src/main.py`)
- TCP client → Socket server: connects
- Socket server → Client handlers: registers handlers (evidence: `TCP-chat-Server/main.cpp`)
- Linux app bootstrap → Linux application: creates app (evidence: `calky/linux/runner/main.cc`)
- Windows app bootstrap → Flutter window: creates window (evidence: `calky/windows/runner/main.cpp`)
