# maman179/server-silsilah.github.io architecture

> Architecture diagram of the GitHub repository maman179/server-silsilah.github.io, 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/maman179/server-silsilah.github.io
- Repository: https://github.com/maman179/server-silsilah.github.io

## Overview

This repository combines a CodeIgniter PHP framework with a family-record application. Its main user workflow is to reach the application through the web entry point, use controller actions to manage and view family records, and produce print/PDF outputs; the sampled dashboard also handles gallery uploads and chat. The tree indicates separate login, API, and family-view areas, but their detailed wiring is not established by the excerpts. Framework and controller connections below are limited to indexed references or visible calls.

Main entry points: [`system/core/CodeIgniter.php`](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/CodeIgniter.php) (Framework bootstrap), [`application/controllers/dashboard1.php`](https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/dashboard1.php) (Family dashboard), [`system/core/Input.php`](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Input.php) (Request input), [`system/database/DB_query_builder.php`](https://github.com/maman179/server-silsilah.github.io/blob/master/system/database/DB_query_builder.php) (Query builder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Family application"]
  node_dashboard["Family dashboard<br/>[dashboard1.php]"]
  node_api["Application API<br/>[API.php]"]
  node_login["Login actions<br/>[login.php]"]
  node_auth_model["Login model<br/>[M_login.php]"]
  node_login_views["Login screens"]
  node_family_models["Family data models"]
  node_family_views["Family record views"]
  node_legacy_views["Alternate family views"]
  node_pdf["PDF generation<br/>[dompdf_gen.php]"]
  node_pdf_views["PDF templates<br/>[laporan_pdf.php]"]
end

subgraph group_framework["Request framework"]
  node_entry["Front controller<br/>[index.php]"]
  node_bootstrap["Framework bootstrap<br/>[CodeIgniter.php]"]
  node_router["URI routing<br/>[Router.php]"]
  node_routes["Route config<br/>[routes.php]"]
  node_controller_base["Controller base<br/>[Controller.php]"]
  node_loader["Class loader<br/>[Loader.php]"]
  node_common["Common runtime<br/>[Common.php]"]
  node_config["Configuration<br/>[Config.php]"]
end

subgraph group_services["Framework services"]
  node_input["Request input<br/>[Input.php]"]
  node_security["Input security<br/>[Security.php]"]
  node_utf8["UTF-8 handling<br/>[Utf8.php]"]
  node_output["Response output<br/>[Output.php]"]
  node_log["Logging<br/>[Log.php]"]
  node_driver["Driver base<br/>[Driver.php]"]
  node_email["Email service<br/>[Email.php]"]
  node_encrypt["Encryption service<br/>[Encrypt.php]"]
  node_session["Session service<br/>[Session.php]"]
  node_session_driver["Session drivers"]
  node_upload["File upload<br/>[Upload.php]"]
end

subgraph group_persistence["Persistence"]
  node_db_config["Database config<br/>[database.php]"]
  node_database["Query builder"]
  node_database_drivers["Database drivers"]
  node_database_store[("Configured database")]
end

node_visitor(("Web user"))

node_visitor -->|"requests"| node_entry
node_entry -->|"starts"| node_bootstrap
node_bootstrap -->|"uses"| node_common
node_bootstrap -->|"loads"| node_config
node_bootstrap -->|"creates"| node_router
node_router -->|"loads"| node_routes
node_bootstrap -->|"creates"| node_output
node_bootstrap -->|"creates"| node_input
node_bootstrap -->|"creates"| node_security
node_bootstrap -->|"creates"| node_utf8
node_controller_base -->|"initializes"| node_loader
node_loader -->|"references"| node_driver
node_input -->|"uses"| node_security
node_session -->|"loads configured"| node_session_driver
node_dashboard -->|"reads fields"| node_input
node_dashboard -->|"queries records"| node_database
node_dashboard -->|"uses"| node_upload
node_upload -->|"sanitizes filenames"| node_security
node_database -.->|"uses driver"| node_database_drivers
node_database_drivers -.->|"accesses"| node_database_store
node_db_config -.->|"configures"| node_database
node_dashboard -.->|"may use"| node_family_models
node_dashboard -.->|"may render"| node_family_views
node_dashboard -.->|"may render"| node_legacy_views
node_dashboard -.->|"generates PDF"| node_pdf
node_pdf -.->|"may render"| node_pdf_views
node_login -.->|"may use"| node_auth_model
node_login -.->|"may render"| node_login_views

click node_entry "https://github.com/maman179/server-silsilah.github.io/blob/master/index.php"
click node_bootstrap "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/CodeIgniter.php"
click node_router "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Router.php"
click node_routes "https://github.com/maman179/server-silsilah.github.io/blob/master/application/config/routes.php"
click node_controller_base "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Controller.php"
click node_loader "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Loader.php"
click node_common "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Common.php"
click node_config "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Config.php"
click node_input "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Input.php"
click node_security "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Security.php"
click node_utf8 "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Utf8.php"
click node_output "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Output.php"
click node_log "https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Log.php"
click node_driver "https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Driver.php"
click node_email "https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Email.php"
click node_encrypt "https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Encrypt.php"
click node_session "https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Session/Session.php"
click node_session_driver "https://github.com/maman179/server-silsilah.github.io/tree/master/system/libraries/Session/drivers"
click node_upload "https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Upload.php"
click node_dashboard "https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/dashboard1.php"
click node_api "https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/API.php"
click node_login "https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/login.php"
click node_auth_model "https://github.com/maman179/server-silsilah.github.io/blob/master/application/models/M_login.php"
click node_login_views "https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/login"
click node_family_models "https://github.com/maman179/server-silsilah.github.io/tree/master/application/models"
click node_family_views "https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/madnasir1"
click node_legacy_views "https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/madnasir"
click node_pdf "https://github.com/maman179/server-silsilah.github.io/blob/master/application/libraries/dompdf_gen.php"
click node_pdf_views "https://github.com/maman179/server-silsilah.github.io/blob/master/application/views/laporan_pdf.php"
click node_db_config "https://github.com/maman179/server-silsilah.github.io/blob/master/application/config/database.php"
click node_database "https://github.com/maman179/server-silsilah.github.io/blob/master/system/database/DB_query_builder.php"
click node_database_drivers "https://github.com/maman179/server-silsilah.github.io/tree/master/system/database/drivers"

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_dashboard,node_api,node_login,node_auth_model,node_login_views,node_family_models,node_family_views,node_legacy_views,node_pdf,node_pdf_views,node_visitor toneBlue
class node_entry,node_bootstrap,node_router,node_routes,node_controller_base,node_loader,node_common,node_config toneAmber
class node_input,node_security,node_utf8,node_output,node_log,node_driver,node_email,node_encrypt,node_session,node_session_driver,node_upload toneMint
class node_db_config,node_database,node_database_drivers,node_database_store toneRose
```

## Components

### Family application

- [Family dashboard](https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/dashboard1.php): `application/controllers/dashboard1.php`
- [Application API](https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/API.php): `application/controllers/API.php`
- [Login actions](https://github.com/maman179/server-silsilah.github.io/blob/master/application/controllers/login.php): `application/controllers/login.php`
- [Login model](https://github.com/maman179/server-silsilah.github.io/blob/master/application/models/M_login.php): `application/models/M_login.php`
- [Login screens](https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/login): `application/views/login`
- [Family data models](https://github.com/maman179/server-silsilah.github.io/tree/master/application/models): `application/models`
- [Family record views](https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/madnasir1): `application/views/madnasir1`
- [Alternate family views](https://github.com/maman179/server-silsilah.github.io/tree/master/application/views/madnasir): `application/views/madnasir`
- [PDF generation](https://github.com/maman179/server-silsilah.github.io/blob/master/application/libraries/dompdf_gen.php): `application/libraries/dompdf_gen.php`
- [PDF templates](https://github.com/maman179/server-silsilah.github.io/blob/master/application/views/laporan_pdf.php): `application/views/laporan_pdf.php`

### Request framework

- [Front controller](https://github.com/maman179/server-silsilah.github.io/blob/master/index.php): `index.php`
- [Framework bootstrap](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/CodeIgniter.php): `system/core/CodeIgniter.php`
- [URI routing](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Router.php): `system/core/Router.php`
- [Route config](https://github.com/maman179/server-silsilah.github.io/blob/master/application/config/routes.php): `application/config/routes.php`
- [Controller base](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Controller.php): `system/core/Controller.php`
- [Class loader](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Loader.php): `system/core/Loader.php`
- [Common runtime](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Common.php): `system/core/Common.php`
- [Configuration](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Config.php): `system/core/Config.php`

### Framework services

- [Request input](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Input.php): `system/core/Input.php`
- [Input security](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Security.php): `system/core/Security.php`
- [UTF-8 handling](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Utf8.php): `system/core/Utf8.php`
- [Response output](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Output.php): `system/core/Output.php`
- [Logging](https://github.com/maman179/server-silsilah.github.io/blob/master/system/core/Log.php): `system/core/Log.php`
- [Driver base](https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Driver.php): `system/libraries/Driver.php`
- [Email service](https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Email.php): `system/libraries/Email.php`
- [Encryption service](https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Encrypt.php): `system/libraries/Encrypt.php`
- [Session service](https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Session/Session.php): `system/libraries/Session/Session.php`
- [Session drivers](https://github.com/maman179/server-silsilah.github.io/tree/master/system/libraries/Session/drivers): `system/libraries/Session/drivers`
- [File upload](https://github.com/maman179/server-silsilah.github.io/blob/master/system/libraries/Upload.php): `system/libraries/Upload.php`

### Persistence

- [Database config](https://github.com/maman179/server-silsilah.github.io/blob/master/application/config/database.php): `application/config/database.php`
- [Query builder](https://github.com/maman179/server-silsilah.github.io/blob/master/system/database/DB_query_builder.php): `system/database/DB_query_builder.php`
- [Database drivers](https://github.com/maman179/server-silsilah.github.io/tree/master/system/database/drivers): `system/database/drivers`
- **Configured database**

### Other components

- **Web user**

## Connections

- Web user → Front controller: requests
- Front controller → Framework bootstrap: starts (evidence: `index.php`)
- Framework bootstrap → Common runtime: uses (evidence: `system/core/CodeIgniter.php`)
- Framework bootstrap → Configuration: loads (evidence: `system/core/CodeIgniter.php`)
- Framework bootstrap → URI routing: creates (evidence: `system/core/CodeIgniter.php`)
- URI routing → Route config: loads (evidence: `system/core/Router.php`)
- Framework bootstrap → Response output: creates (evidence: `system/core/CodeIgniter.php`)
- Framework bootstrap → Request input: creates (evidence: `system/core/CodeIgniter.php`)
- Framework bootstrap → Input security: creates (evidence: `system/core/CodeIgniter.php`)
- Framework bootstrap → UTF-8 handling: creates (evidence: `system/core/CodeIgniter.php`)
- Controller base → Class loader: initializes (evidence: `system/core/Controller.php`)
- Class loader → Driver base: references (evidence: `system/core/Loader.php`)
- Request input → Input security: uses (evidence: `system/core/Input.php`)
- Session service → Session drivers: loads configured (evidence: `system/libraries/Session/Session.php`)
- Family dashboard → Request input: reads fields (evidence: `application/controllers/dashboard1.php`)
- Family dashboard → Query builder: queries records (evidence: `application/controllers/dashboard1.php`)
- Family dashboard → File upload: uses (evidence: `application/controllers/dashboard1.php`)
- File upload → Input security: sanitizes filenames (evidence: `system/libraries/Upload.php`)
- Query builder → Database drivers: uses driver
- Database drivers → Configured database: accesses
- Database config → Query builder: configures
- Family dashboard → Family data models: may use
- Family dashboard → Family record views: may render
- Family dashboard → Alternate family views: may render
- Family dashboard → PDF generation: generates PDF
- PDF generation → PDF templates: may render
- Login actions → Login model: may use
- Login actions → Login screens: may render
