# zoomicon/readcom_app architecture

> Architecture diagram of the GitHub repository zoomicon/readcom_app, 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/zoomicon/readcom_app
- Repository: https://github.com/zoomicon/readcom_app

## Overview

##### Main Components
- Application Core – The heart of the READ-COM App is in the “App” directory. This contains the main project files (e.g., READCOM_App.dproj, READCOM_App.dpr), and core business logic (READCOM.App.Main.pas, Messages.pas), as well as project definitions.
- Platform-Specific Modules – The tree shows platform-specific subfolders such as “App/Win32”, “App/Win64”, “App/Android64”, and templates for iOS and macOS (e.g., AndroidManifest.template.xml, AppxManifest.template.xml, Info.plist templates). These are responsible for build/deployment and platform customization.
- Localization and Asset Management – The “App/Localization” folder and asset templates (LaunchScreen, AppIcon) indicate support for multiple languages and customization of the UI across platforms.

##### Relationships and Interactions
- The UI Layer directly interacts with the Application Core to render interactive reading content (such as stories) and manage editing/remixing features.
- The Core Business Logic handles story processing, message distribution (via READCOM.App.Messages.pas), and integrates with resources (localization files, assets).
- Platform-specific modules wrap around the core, initiating the app through customized manifests and deployment settings.
- Build scripts and configuration files bridge the source code and the target deployment environments.
- Experimental modules serve as optional extensions, experiments that may later be integrated into the main application.

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Core and Interface"
        AppCore["Application Core"]:::appcore
        UILayer["User Interface (UI) Layer"]:::ui
    end

    subgraph "Platform-Specific Modules"
        Platform_Windows["Windows Modules"]:::platform
        Platform_Android["Android Modules"]:::platform
        Platform_iOS["iOS/macOS Modules"]:::platform
    end

    subgraph "Supporting Modules"
        Localization["Localization & Assets"]:::loc
        Experimental["Experimental/Prototype Modules"]:::experimental
        BuildDeployment["Build/Deployment Scripts"]:::build
    end

    UILayer -->|"interacts"| AppCore
    AppCore -->|"integrates"| Platform_Windows
    AppCore -->|"integrates"| Platform_Android
    AppCore -->|"integrates"| Platform_iOS
    BuildDeployment -->|"packages"| Platform_Windows
    BuildDeployment -->|"packages"| Platform_Android
    BuildDeployment -->|"packages"| Platform_iOS
    Localization -->|"provides"| UILayer
    Experimental -->|"extends"| AppCore

    click AppCore "https://github.com/zoomicon/readcom_app/blob/master/App/READCOM_App.dpr"
    click UILayer "https://github.com/zoomicon/readcom_app/tree/master/App/Views"
    click Platform_Windows "https://github.com/zoomicon/readcom_app/tree/master/App/Win32"
    click Platform_Android "https://github.com/zoomicon/readcom_app/tree/master/App/Android64"
    click Platform_iOS "https://github.com/zoomicon/readcom_app/blob/master/App/AppxManifest.template.xml"
    click Localization "https://github.com/zoomicon/readcom_app/tree/master/App/Localization"
    click Experimental "https://github.com/zoomicon/readcom_app/tree/master/Experiments"
    click BuildDeployment "https://github.com/zoomicon/readcom_app/blob/master/App/boss.json"

    classDef appcore fill:#ADD8E6,stroke:#000,stroke-width:2px;
    classDef ui fill:#8FBC8F,stroke:#000,stroke-width:2px;
    classDef platform fill:#FDD835,stroke:#000,stroke-width:2px;
    classDef loc fill:#FFB74D,stroke:#000,stroke-width:2px;
    classDef experimental fill:#CE93D8,stroke:#000,stroke-width:2px;
    classDef build fill:#90A4AE,stroke:#000,stroke-width:2px;
```
