# se7enxweb/clone.digg.one architecture

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

- Interactive diagram: https://gitdiagram.com/se7enxweb/clone.digg.one
- Repository: https://github.com/se7enxweb/clone.digg.one

## Overview

eZ Publish is a PHP CMS and application framework. Its principal user workflow is authoring structured content, applying permissions and workflow, publishing it, then rendering it through templates or exposing it through the read-only REST API. The README also documents search, multilingual support, media processing, and webshop features, which are represented as separate capabilities. The source excerpts are selective, so most CMS relationships below reflect README-level architecture rather than inspected call sites; the translation utility links use the SOURCE INDEX reference lists.

Main entry points: [`kernel/classes/packagehandlers/ezcontentobject/ezcontentobjectpackagehandler.php`](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/classes/packagehandlers/ezcontentobject/ezcontentobjectpackagehandler.php) (Content model), [`index.php`](https://github.com/se7enxweb/clone.digg.one/blob/main/index.php) (Web entry), [`support/ezlupdate-qt4.5/ezlupdate/main.cpp`](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/ezlupdate/main.cpp) (Translation updater), [`support/ezlupdate-qt4.5/shared/profileevaluator.h`](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/profileevaluator.h) (Project evaluator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cms["CMS Runtime"]
  node_webentry["Web entry<br/>[index.php]"]
  node_kernel["Kernel bootstrap<br/>[ezp_kernel.php]"]
  node_templates["Template rendering"]
  node_rest["Read-only REST"]
end

subgraph group_content["Content Capabilities"]
  node_contentmodel["Content model"]
  node_permissions["Role permissions<br/>[edit.php]"]
  node_workflow["Workflow publishing<br/>[workflow.php]"]
  node_search["Content search<br/>[ezsearchengine.php]"]
  node_webshop["Webshop"]
end

subgraph group_services["Platform Services"]
  node_images["Image processing<br/>[ezimagemanager.php]"]
  node_sessions["Sessions"]
  node_localization["Localization"]
end

subgraph group_translations["Translation Utility"]
  node_translation_cli["Translation updater<br/>[main.cpp]"]
  node_profile_eval["Project evaluator<br/>[profileevaluator.h]"]
  node_translator["Translation model<br/>[translator.h]"]
  node_translation_message["Translation messages"]
  node_translation_tools["Translation merge<br/>[translatortools.h]"]
  node_translation_items["Project items<br/>[proitems.h]"]
  node_item_visitor["Project visitor"]
end

node_visitor(("Site visitor"))
node_editor(("Content editor"))

node_visitor -->|"requests pages"| node_webentry
node_editor -->|"edits content"| node_webentry
node_webentry -.->|"enters runtime"| node_kernel
node_kernel -.->|"provides CMS"| node_contentmodel
node_editor -->|"defines content"| node_contentmodel
node_contentmodel -->|"subject to"| node_permissions
node_contentmodel -->|"enters approval"| node_workflow
node_workflow -.->|"publishes content"| node_templates
node_visitor -->|"searches content"| node_search
node_visitor -->|"requests API"| node_rest
node_visitor -->|"uses shop"| node_webshop
node_contentmodel -->|"uses media"| node_images
node_webentry -.->|"maintains session"| node_sessions
node_templates -.->|"localizes output"| node_localization
node_translation_cli -->|"updates translations"| node_translator
node_translation_cli -->|"evaluates projects"| node_profile_eval
node_translation_cli -->|"uses merge tools"| node_translation_tools
node_profile_eval -->|"reads project items"| node_translation_items
node_profile_eval -->|"uses visitor"| node_item_visitor
node_translator -->|"stores messages"| node_translation_message

click node_webentry "https://github.com/se7enxweb/clone.digg.one/blob/main/index.php"
click node_kernel "https://github.com/se7enxweb/clone.digg.one/blob/main/autoload/ezp_kernel.php"
click node_contentmodel "https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/classes/packagehandlers/ezcontentobject/ezcontentobjectpackagehandler.php"
click node_permissions "https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/class/edit.php"
click node_workflow "https://github.com/se7enxweb/clone.digg.one/blob/main/cronjobs/workflow.php"
click node_templates "https://github.com/se7enxweb/clone.digg.one/blob/main/lib/eztemplate/classes/eztemplatemultipassparser.php"
click node_search "https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/search/plugins/ezsearchengine/ezsearchengine.php"
click node_rest "https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/private/rest/classes/controllers/rest_controller.php"
click node_webshop "https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/classes/ezshippingmanager.php"
click node_images "https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezimage/classes/ezimagemanager.php"
click node_sessions "https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezsession/classes/ezpsessionhandlerdb.php"
click node_localization "https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezi18n/classes/eztranslatormanager.php"
click node_translation_cli "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/ezlupdate/main.cpp"
click node_profile_eval "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/profileevaluator.h"
click node_translator "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translator.h"
click node_translation_message "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translatormessage.h"
click node_translation_tools "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translatortools.h"
click node_translation_items "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/proitems.h"
click node_item_visitor "https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/abstractproitemvisitor.h"

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_webentry,node_kernel,node_templates,node_rest toneBlue
class node_contentmodel,node_permissions,node_workflow,node_search,node_webshop toneAmber
class node_images,node_sessions,node_localization toneMint
class node_translation_cli,node_profile_eval,node_translator,node_translation_message,node_translation_tools,node_translation_items,node_item_visitor toneRose
class node_visitor,node_editor toneIndigo
```

## Components

### CMS Runtime

- [Web entry](https://github.com/se7enxweb/clone.digg.one/blob/main/index.php): `index.php`
- [Kernel bootstrap](https://github.com/se7enxweb/clone.digg.one/blob/main/autoload/ezp_kernel.php): `autoload/ezp_kernel.php`
- [Template rendering](https://github.com/se7enxweb/clone.digg.one/blob/main/lib/eztemplate/classes/eztemplatemultipassparser.php): `lib/eztemplate/classes/eztemplatemultipassparser.php`
- [Read-only REST](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/private/rest/classes/controllers/rest_controller.php): `kernel/private/rest/classes/controllers/rest_controller.php`

### Content Capabilities

- [Content model](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/classes/packagehandlers/ezcontentobject/ezcontentobjectpackagehandler.php): `kernel/classes/packagehandlers/ezcontentobject/ezcontentobjectpackagehandler.php`
- [Role permissions](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/class/edit.php): `kernel/class/edit.php`
- [Workflow publishing](https://github.com/se7enxweb/clone.digg.one/blob/main/cronjobs/workflow.php): `cronjobs/workflow.php`
- [Content search](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/search/plugins/ezsearchengine/ezsearchengine.php): `kernel/search/plugins/ezsearchengine/ezsearchengine.php`
- [Webshop](https://github.com/se7enxweb/clone.digg.one/blob/main/kernel/classes/ezshippingmanager.php): `kernel/classes/ezshippingmanager.php`

### Platform Services

- [Image processing](https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezimage/classes/ezimagemanager.php): `lib/ezimage/classes/ezimagemanager.php`
- [Sessions](https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezsession/classes/ezpsessionhandlerdb.php): `lib/ezsession/classes/ezpsessionhandlerdb.php`
- [Localization](https://github.com/se7enxweb/clone.digg.one/blob/main/lib/ezi18n/classes/eztranslatormanager.php): `lib/ezi18n/classes/eztranslatormanager.php`

### Translation Utility

- [Translation updater](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/ezlupdate/main.cpp): `support/ezlupdate-qt4.5/ezlupdate/main.cpp`
- [Project evaluator](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/profileevaluator.h): `support/ezlupdate-qt4.5/shared/profileevaluator.h`
- [Translation model](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translator.h): `support/ezlupdate-qt4.5/shared/translator.h`
- [Translation messages](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translatormessage.h): `support/ezlupdate-qt4.5/shared/translatormessage.h`
- [Translation merge](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/translatortools.h): `support/ezlupdate-qt4.5/shared/translatortools.h`
- [Project items](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/proitems.h): `support/ezlupdate-qt4.5/shared/proitems.h`
- [Project visitor](https://github.com/se7enxweb/clone.digg.one/blob/main/support/ezlupdate-qt4.5/shared/abstractproitemvisitor.h): `support/ezlupdate-qt4.5/shared/abstractproitemvisitor.h`

### Other components

- **Site visitor**
- **Content editor**

## Connections

- Site visitor → Web entry: requests pages
- Content editor → Web entry: edits content
- Web entry → Kernel bootstrap: enters runtime
- Kernel bootstrap → Content model: provides CMS
- Content editor → Content model: defines content
- Content model → Role permissions: subject to
- Content model → Workflow publishing: enters approval
- Workflow publishing → Template rendering: publishes content
- Site visitor → Content search: searches content
- Site visitor → Read-only REST: requests API
- Site visitor → Webshop: uses shop
- Content model → Image processing: uses media
- Web entry → Sessions: maintains session
- Template rendering → Localization: localizes output
- Translation updater → Translation model: updates translations (evidence: `support/ezlupdate-qt4.5/ezlupdate/main.cpp`)
- Translation updater → Project evaluator: evaluates projects (evidence: `support/ezlupdate-qt4.5/ezlupdate/main.cpp`)
- Translation updater → Translation merge: uses merge tools (evidence: `support/ezlupdate-qt4.5/ezlupdate/main.cpp`)
- Project evaluator → Project items: reads project items (evidence: `support/ezlupdate-qt4.5/shared/profileevaluator.h`)
- Project evaluator → Project visitor: uses visitor (evidence: `support/ezlupdate-qt4.5/shared/profileevaluator.h`)
- Translation model → Translation messages: stores messages (evidence: `support/ezlupdate-qt4.5/shared/translator.h`)
