# anasalmadani/bibliotheksverwaltung- architecture

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

- Interactive diagram: https://gitdiagram.com/anasalmadani/bibliotheksverwaltung-
- Repository: https://github.com/anasalmadani/bibliotheksverwaltung-

## Overview

Dies ist eine Lazarus-Desktopanwendung zur Bibliotheksverwaltung. Der dokumentierte Ablauf führt von Eingaben im Hauptformular über den Service zu Datenbankzugriffen für Bücher, Mitglieder und Ausleihen; Ergebnisse und Meldungen werden in der Oberfläche angezeigt. Die Datenklassen bilden die fachlichen Objekte ab. Der README beschreibt außerdem Status-Views und Triggerregeln in Firebird. Es liegen keine Quelltextauszüge vor; Beziehungen beruhen daher ausschließlich auf der README. Die dort genannten Hauptdateien und das SQL-Skript sind im vorliegenden Baum nicht vorhanden; verwendet werden nur tatsächlich gelistete Backup-Dateien.

Main entry points: [`backup/uBibliothekService.pas`](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBibliothekService.pas) (Bibliotheksservice), [`backup/unit1.pas`](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/unit1.pas) (Hauptformular), [`backup/uBuch.pas`](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBuch.pas) (Buch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Benutzeroberfläche"]
  node_main_form["Hauptformular<br/>[unit1.pas]"]
end

subgraph group_business["Geschäftslogik"]
  node_service["Bibliotheksservice"]
end

subgraph group_domain["Fachliche Datenklassen"]
  node_book["Buch<br/>[uBuch.pas]"]
  node_member["Mitglied"]
  node_loan["Ausleihe"]
end

subgraph group_persistence["Datenhaltung"]
  node_firebird[("Firebird-Datenbank")]
end

node_user(("Bibliotheksmitarbeiter"))

node_user -->|"bedient"| node_main_form
node_main_form -->|"ruft auf"| node_service
node_service -->|"liefert Ergebnisse"| node_main_form
node_service -->|"verwendet"| node_book
node_service -->|"verwendet"| node_member
node_service -->|"verwendet"| node_loan
node_service -->|"liest und schreibt"| node_firebird

click node_main_form "https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/unit1.pas"
click node_service "https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBibliothekService.pas"
click node_book "https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBuch.pas"

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_main_form toneBlue
class node_service toneAmber
class node_book,node_member,node_loan toneMint
class node_firebird toneRose
class node_user toneIndigo
```

## Components

### Benutzeroberfläche

- [Hauptformular](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/unit1.pas): `backup/unit1.pas`

### Geschäftslogik

- [Bibliotheksservice](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBibliothekService.pas): `backup/uBibliothekService.pas`

### Fachliche Datenklassen

- [Buch](https://github.com/anasalmadani/bibliotheksverwaltung-/blob/main/backup/uBuch.pas): `backup/uBuch.pas`
- **Mitglied**
- **Ausleihe**

### Datenhaltung

- **Firebird-Datenbank**

### Other components

- **Bibliotheksmitarbeiter**

## Connections

- Bibliotheksmitarbeiter → Hauptformular: bedient (evidence: `README.md`)
- Hauptformular → Bibliotheksservice: ruft auf (evidence: `README.md`)
- Bibliotheksservice → Hauptformular: liefert Ergebnisse (evidence: `README.md`)
- Bibliotheksservice → Buch: verwendet (evidence: `README.md`)
- Bibliotheksservice → Mitglied: verwendet (evidence: `README.md`)
- Bibliotheksservice → Ausleihe: verwendet (evidence: `README.md`)
- Bibliotheksservice → Firebird-Datenbank: liest und schreibt (evidence: `README.md`)
