# ceo-vision/gofast-legacy architecture

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

- Interactive diagram: https://gitdiagram.com/ceo-vision/gofast-legacy
- Repository: https://github.com/ceo-vision/gofast-legacy

## Overview

This repository is Drupal, an extensible content-management platform. A user-facing site request is handled by Drupal core and can produce rendered pages from content, accounts, and configured extensions; the supplied excerpts do not show the request dispatcher, so those runtime links are marked unverified. The graph retains major documented capabilities and distinct domain modules, plus the substantial bundled spreadsheet and Phar-stream libraries. Relationships within the Phar wrapper are grounded in shown calls; module-level relationships are limited to README documentation or marked unverified.

Main entry points: [`modules/node/node.api.php`](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/node/node.api.php) (Content and types), [`modules/system/page.tpl.php`](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/system/page.tpl.php) (Page rendering), [`misc/typo3/phar-stream-wrapper/src/Manager.php`](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Manager.php) (Phar manager), [`misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php`](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php) (Invocation resolver)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site runtime"]
  node_front["Drupal entry<br/>[index.php]"]
  node_render["Page rendering<br/>[page.tpl.php]"]
  node_themes["Themes<br/>[template.php]"]
end

subgraph group_content["Content features"]
  node_content_nodes["Content and types<br/>[node.api.php]"]
  node_fields["Fields<br/>[field.api.php]"]
  node_taxonomy["Taxonomy<br/>[taxonomy.api.php]"]
  node_comments["Comments<br/>[comment.api.php]"]
  node_files_images["Files and images<br/>[image.api.php]"]
end

subgraph group_platform["Platform services"]
  node_accounts["User accounts<br/>[user.api.php]"]
  node_search["Search<br/>[search.api.php]"]
  node_aggregator["Feed aggregator<br/>[aggregator.api.php]"]
  node_system["System and forms<br/>[system.api.php]"]
  node_database[("Drupal database")]
end

subgraph group_libraries["Bundled libraries"]
  node_phar_wrapper["Phar stream wrapper"]
  node_phar_manager["Phar manager<br/>[Manager.php]"]
  node_phar_behavior["Command checks<br/>[Behavior.php]"]
  node_phar_resolver["Invocation resolver"]
  node_phar_invocation["Invocation record<br/>[PharInvocation.php]"]
  node_phar_collection["Invocation collection"]
  node_excel_workbook["Spreadsheet workbook<br/>[PHPExcel.php]"]
  node_excel_calculation["Engineering formulas<br/>[Engineering.php]"]
  node_excel_cache["Cell cache factory"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"requests page"| node_front
node_front -.->|"dispatches to"| node_render
node_render -.->|"renders with"| node_themes
node_render -.->|"presents content"| node_content_nodes
node_content_nodes -.->|"uses fields"| node_fields
node_content_nodes -.->|"categorizes with"| node_taxonomy
node_content_nodes -.->|"supports comments"| node_comments
node_content_nodes -.->|"supports uploads"| node_files_images
node_accounts -.->|"stores accounts"| node_database
node_content_nodes -.->|"stores content"| node_database
node_search -.->|"searches content"| node_database
node_aggregator -.->|"stores feed data"| node_database
node_system -.->|"uses database"| node_database
node_phar_wrapper -->|"checks and resolves"| node_phar_manager
node_phar_manager -->|"asserts commands"| node_phar_behavior
node_phar_manager -->|"resolves paths"| node_phar_resolver
node_phar_resolver -->|"collects invocations"| node_phar_collection
node_phar_resolver -->|"creates records"| node_phar_invocation
node_excel_workbook -.->|"provides formulas"| node_excel_calculation
node_excel_workbook -.->|"configures caching"| node_excel_cache

click node_front "https://github.com/ceo-vision/gofast-legacy/blob/main/index.php"
click node_render "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/system/page.tpl.php"
click node_themes "https://github.com/ceo-vision/gofast-legacy/blob/main/themes/garland/template.php"
click node_content_nodes "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/node/node.api.php"
click node_fields "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/field/field.api.php"
click node_taxonomy "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/taxonomy/taxonomy.api.php"
click node_comments "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/comment/comment.api.php"
click node_files_images "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/image/image.api.php"
click node_accounts "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/user/user.api.php"
click node_search "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/search/search.api.php"
click node_aggregator "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/aggregator/aggregator.api.php"
click node_system "https://github.com/ceo-vision/gofast-legacy/blob/main/modules/system/system.api.php"
click node_phar_wrapper "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php"
click node_phar_manager "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Manager.php"
click node_phar_behavior "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Behavior.php"
click node_phar_resolver "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php"
click node_phar_invocation "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocation.php"
click node_phar_collection "https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationCollection.php"
click node_excel_workbook "https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel.php"
click node_excel_calculation "https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel/Calculation/Engineering.php"
click node_excel_cache "https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel/CachedObjectStorageFactory.php"

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_front,node_render,node_themes toneBlue
class node_content_nodes,node_fields,node_taxonomy,node_comments,node_files_images toneAmber
class node_accounts,node_search,node_aggregator,node_system,node_database toneMint
class node_phar_wrapper,node_phar_manager,node_phar_behavior,node_phar_resolver,node_phar_invocation,node_phar_collection,node_excel_workbook,node_excel_calculation,node_excel_cache toneRose
class node_visitor toneIndigo
```

## Components

### Site runtime

- [Drupal entry](https://github.com/ceo-vision/gofast-legacy/blob/main/index.php): `index.php`
- [Page rendering](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/system/page.tpl.php): `modules/system/page.tpl.php`
- [Themes](https://github.com/ceo-vision/gofast-legacy/blob/main/themes/garland/template.php): `themes/garland/template.php`

### Content features

- [Content and types](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/node/node.api.php): `modules/node/node.api.php`
- [Fields](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/field/field.api.php): `modules/field/field.api.php`
- [Taxonomy](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/taxonomy/taxonomy.api.php): `modules/taxonomy/taxonomy.api.php`
- [Comments](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/comment/comment.api.php): `modules/comment/comment.api.php`
- [Files and images](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/image/image.api.php): `modules/image/image.api.php`

### Platform services

- [User accounts](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/user/user.api.php): `modules/user/user.api.php`
- [Search](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/search/search.api.php): `modules/search/search.api.php`
- [Feed aggregator](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/aggregator/aggregator.api.php): `modules/aggregator/aggregator.api.php`
- [System and forms](https://github.com/ceo-vision/gofast-legacy/blob/main/modules/system/system.api.php): `modules/system/system.api.php`
- **Drupal database**

### Bundled libraries

- [Phar stream wrapper](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php): `misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php`
- [Phar manager](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Manager.php): `misc/typo3/phar-stream-wrapper/src/Manager.php`
- [Command checks](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Behavior.php): `misc/typo3/phar-stream-wrapper/src/Behavior.php`
- [Invocation resolver](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php): `misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php`
- [Invocation record](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocation.php): `misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocation.php`
- [Invocation collection](https://github.com/ceo-vision/gofast-legacy/blob/main/misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationCollection.php): `misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationCollection.php`
- [Spreadsheet workbook](https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel.php): `sites/all/libraries/excel_reader/Classes/PHPExcel.php`
- [Engineering formulas](https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel/Calculation/Engineering.php): `sites/all/libraries/excel_reader/Classes/PHPExcel/Calculation/Engineering.php`
- [Cell cache factory](https://github.com/ceo-vision/gofast-legacy/blob/main/sites/all/libraries/excel_reader/Classes/PHPExcel/CachedObjectStorageFactory.php): `sites/all/libraries/excel_reader/Classes/PHPExcel/CachedObjectStorageFactory.php`

### Other components

- **Site visitor**

## Connections

- Site visitor → Drupal entry: requests page
- Drupal entry → Page rendering: dispatches to
- Page rendering → Themes: renders with
- Page rendering → Content and types: presents content
- Content and types → Fields: uses fields
- Content and types → Taxonomy: categorizes with
- Content and types → Comments: supports comments
- Content and types → Files and images: supports uploads
- User accounts → Drupal database: stores accounts
- Content and types → Drupal database: stores content
- Search → Drupal database: searches content
- Feed aggregator → Drupal database: stores feed data
- System and forms → Drupal database: uses database
- Phar stream wrapper → Phar manager: checks and resolves (evidence: `misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php`)
- Phar manager → Command checks: asserts commands (evidence: `misc/typo3/phar-stream-wrapper/src/Manager.php`)
- Phar manager → Invocation resolver: resolves paths (evidence: `misc/typo3/phar-stream-wrapper/src/Manager.php`)
- Invocation resolver → Invocation collection: collects invocations (evidence: `misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php`)
- Invocation resolver → Invocation record: creates records (evidence: `misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php`)
- Spreadsheet workbook → Engineering formulas: provides formulas (evidence: `sites/all/libraries/excel_reader/Classes/PHPExcel/Calculation/Engineering.php`)
- Spreadsheet workbook → Cell cache factory: configures caching
