# wyhannnnn423/cos30020-advanced-web-development architecture

> Architecture diagram of the GitHub repository wyhannnnn423/cos30020-advanced-web-development, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wyhannnnn423/cos30020-advanced-web-development
- Repository: https://github.com/wyhannnnn423/cos30020-advanced-web-development

## Overview

Gundam Hub is a hobby website for learning about the franchise, exploring kits and activities, booking workshops or sessions, and viewing community showcases. The main journey leads from the home hub into the series and activity catalogs, then into activity registration; members can also register, log in, and manage profiles. The graph follows only relationships visible in the excerpts or README/file references. The README is minimal, and unsampled account, booking, and showcase behavior is represented cautiously rather than assuming hidden calls.

Main entry points: [`header.php`](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/header.php) (Shared Navigation), [`series.php`](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/series.php) (Series Guide), [`activity_reg.php`](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/activity_reg.php) (Activity Registration), [`index.php`](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/index.php) (Home Hub)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Explore Gundam"]
  node_home["Home Hub<br/>[index.php]"]
  node_menu["Main Menu<br/>[main_menu.php]"]
  node_series["Series Guide<br/>[series.php]"]
  node_series_detail["Series Detail<br/>[series_detail.php]"]
  node_products["Product Catalog<br/>[product_list.php]"]
end

subgraph group_participation["Activities &amp; Community"]
  node_activities["Activity Catalog<br/>[activities.php]"]
  node_booking["Activity Registration<br/>[activity_reg.php]"]
  node_booking_submit["Booking Handler"]
  node_community["Community Gallery<br/>[community.php]"]
  node_community_detail["Community Post"]
end

subgraph group_accounts["Member Accounts"]
  node_register["Registration Form<br/>[registration.php]"]
  node_register_handler["Registration Handler"]
  node_login["Login<br/>[login.php]"]
  node_logout["Logout<br/>[logout.php]"]
  node_profile["Member Profile<br/>[profile.php]"]
  node_profile_edit["Profile Editor<br/>[update_profile.php]"]
  node_profile_handler["Profile Update Handler"]
  node_recovery["Password Recovery"]
end

subgraph group_shared["Shared Data &amp; UI"]
  node_series_data["Franchise Dataset<br/>[data_series.php]"]
  node_activity_data["Activity Dataset"]
  node_community_data["Showcase Dataset<br/>[data_community.php]"]
  node_user_store[("User Records<br/>[user.txt]")]
  node_booking_store[("Booking Records<br/>[bookings.txt]")]
  node_header["Shared Navigation<br/>[header.php]"]
  node_footer["Shared Footer<br/>[footer.php]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"includes"| node_header
node_home -->|"links to"| node_menu
node_home -->|"includes"| node_footer
node_header -->|"links to"| node_series
node_header -->|"links to"| node_community
node_series -->|"includes"| node_header
node_series -->|"loads"| node_series_data
node_series -->|"includes"| node_footer
node_series_detail -->|"loads"| node_series_data
node_series -->|"links to"| node_products
node_activities -->|"loads"| node_activity_data
node_activities -.->|"offers booking"| node_booking
node_booking -->|"loads"| node_series_data
node_booking -->|"loads"| node_activity_data
node_booking -->|"redirects when signed out"| node_login
node_booking -.->|"submits to"| node_booking_submit
node_booking_submit -.->|"writes"| node_booking_store
node_community -->|"loads"| node_community_data
node_community_detail -->|"loads"| node_community_data
node_register -.->|"submits to"| node_register_handler
node_register_handler -->|"writes"| node_user_store
node_login -.->|"checks credentials"| node_user_store
node_profile_edit -.->|"submits to"| node_profile_handler
node_profile_handler -->|"updates"| node_user_store
node_recovery -.->|"checks account"| node_user_store
node_header -->|"links to"| node_login
node_header -->|"links to"| node_register
node_header -->|"links to"| node_profile
node_header -->|"links to"| node_logout
node_footer -->|"loads script"| node_home

click node_home "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/index.php"
click node_menu "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/main_menu.php"
click node_series "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/series.php"
click node_series_detail "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/series_detail.php"
click node_products "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/product_list.php"
click node_series_data "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_series.php"
click node_activities "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/activities.php"
click node_activity_data "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_activities.php"
click node_booking "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/activity_reg.php"
click node_booking_submit "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_activity_reg.php"
click node_community "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/community.php"
click node_community_detail "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/community_detail.php"
click node_community_data "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_community.php"
click node_register "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/registration.php"
click node_register_handler "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_registration.php"
click node_login "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/login.php"
click node_logout "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/logout.php"
click node_profile "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/profile.php"
click node_profile_edit "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/update_profile.php"
click node_profile_handler "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_update_profile.php"
click node_recovery "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/forgot_password.php"
click node_user_store "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data/User/user.txt"
click node_booking_store "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data/Activity/bookings.txt"
click node_header "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/header.php"
click node_footer "https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/footer.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_home,node_menu,node_series,node_series_detail,node_products toneBlue
class node_activities,node_booking,node_booking_submit,node_community,node_community_detail toneAmber
class node_register,node_register_handler,node_login,node_logout,node_profile,node_profile_edit,node_profile_handler,node_recovery toneMint
class node_series_data,node_activity_data,node_community_data,node_user_store,node_booking_store,node_header,node_footer toneRose
class node_visitor toneIndigo
```

## Components

### Explore Gundam

- [Home Hub](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/index.php): `index.php`
- [Main Menu](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/main_menu.php): `main_menu.php`
- [Series Guide](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/series.php): `series.php`
- [Series Detail](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/series_detail.php): `series_detail.php`
- [Product Catalog](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/product_list.php): `product_list.php`

### Activities & Community

- [Activity Catalog](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/activities.php): `activities.php`
- [Activity Registration](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/activity_reg.php): `activity_reg.php`
- [Booking Handler](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_activity_reg.php): `process_activity_reg.php`
- [Community Gallery](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/community.php): `community.php`
- [Community Post](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/community_detail.php): `community_detail.php`

### Member Accounts

- [Registration Form](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/registration.php): `registration.php`
- [Registration Handler](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_registration.php): `process_registration.php`
- [Login](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/login.php): `login.php`
- [Logout](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/logout.php): `logout.php`
- [Member Profile](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/profile.php): `profile.php`
- [Profile Editor](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/update_profile.php): `update_profile.php`
- [Profile Update Handler](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/process_update_profile.php): `process_update_profile.php`
- [Password Recovery](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/forgot_password.php): `forgot_password.php`

### Shared Data & UI

- [Franchise Dataset](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_series.php): `data_series.php`
- [Activity Dataset](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_activities.php): `data_activities.php`
- [Showcase Dataset](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data_community.php): `data_community.php`
- [User Records](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data/User/user.txt): `data/User/user.txt`
- [Booking Records](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/data/Activity/bookings.txt): `data/Activity/bookings.txt`
- [Shared Navigation](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/header.php): `header.php`
- [Shared Footer](https://github.com/wyhannnnn423/cos30020-advanced-web-development/blob/main/footer.php): `footer.php`

### Other components

- **Visitor**

## Connections

- Visitor → Home Hub: opens (evidence: `index.php`)
- Home Hub → Shared Navigation: includes (evidence: `index.php`)
- Home Hub → Main Menu: links to (evidence: `index.php`)
- Home Hub → Shared Footer: includes (evidence: `index.php`)
- Shared Navigation → Series Guide: links to (evidence: `header.php`)
- Shared Navigation → Community Gallery: links to (evidence: `header.php`)
- Series Guide → Shared Navigation: includes (evidence: `series.php`)
- Series Guide → Franchise Dataset: loads (evidence: `series.php`)
- Series Guide → Shared Footer: includes (evidence: `series.php`)
- Series Detail → Franchise Dataset: loads (evidence: `series_detail.php`)
- Series Guide → Product Catalog: links to (evidence: `product_list.php`)
- Activity Catalog → Activity Dataset: loads (evidence: `activities.php`)
- Activity Catalog → Activity Registration: offers booking
- Activity Registration → Franchise Dataset: loads (evidence: `activity_reg.php`)
- Activity Registration → Activity Dataset: loads (evidence: `activity_reg.php`)
- Activity Registration → Login: redirects when signed out (evidence: `activity_reg.php`)
- Activity Registration → Booking Handler: submits to
- Booking Handler → Booking Records: writes
- Community Gallery → Showcase Dataset: loads (evidence: `community.php`)
- Community Post → Showcase Dataset: loads (evidence: `community_detail.php`)
- Registration Form → Registration Handler: submits to
- Registration Handler → User Records: writes (evidence: `process_registration.php`)
- Login → User Records: checks credentials
- Profile Editor → Profile Update Handler: submits to
- Profile Update Handler → User Records: updates (evidence: `process_update_profile.php`)
- Password Recovery → User Records: checks account
- Shared Navigation → Login: links to (evidence: `header.php`)
- Shared Navigation → Registration Form: links to (evidence: `header.php`)
- Shared Navigation → Member Profile: links to (evidence: `header.php`)
- Shared Navigation → Logout: links to (evidence: `header.php`)
- Shared Footer → Home Hub: loads script (evidence: `footer.php`)
