# dp8260264-sys/pure-joy-planner architecture

> Architecture diagram of the GitHub repository dp8260264-sys/pure-joy-planner, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dp8260264-sys/pure-joy-planner
- Repository: https://github.com/dp8260264-sys/pure-joy-planner

## Overview

Pure Joy Planner is a website for discovering event themes and packages, then sending booking or contact details. The graph separates event discovery, the booking and enquiry stages, and their PHP handlers and MySQL storage. The README describes the product capabilities; the HTML pages and their form wiring were not sampled, so links from those pages to handlers are shown as unverified. The two sampled PHP handlers each insert submitted data into the database.

Main entry points: [`weddings.html`](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/weddings.html) (Wedding planning), [`birthday.html`](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/birthday.html) (Birthday planning), [`index.html`](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/index.html) (Home page), [`baby-shower.html`](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/baby-shower.html) (Baby shower planning)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Event discovery"]
  node_home["Home page<br/>[index.html]"]
end

subgraph group_weddings["Wedding themes"]
  node_wedding_catalog["Wedding planning<br/>[weddings.html]"]
  node_traditional["Traditional theme"]
  node_royal["Royal wedding<br/>[royal-wedding.html]"]
  node_vintage["Vintage themes<br/>[vintage.html]"]
  node_modern["Modern theme<br/>[modern.html]"]
  node_garden["Garden themes<br/>[garden.html]"]
end

subgraph group_birthdays["Birthday themes"]
  node_birthday["Birthday planning<br/>[birthday.html]"]
  node_glam_birthday["Glam birthday"]
  node_space["Space adventure"]
  node_sports["Sports theme"]
  node_carnival["Vintage carnival"]
end

subgraph group_baby["Baby shower themes"]
  node_baby_shower["Baby shower planning<br/>[baby-shower.html]"]
  node_baby_themes["Baby shower themes<br/>[baby-animals.html]"]
end

subgraph group_inquiries["Booking and enquiry"]
  node_booking_form["Booking form<br/>[booking.html]"]
  node_booking_handler["Save booking<br/>[save_booking.php]"]
  node_contact_form["Contact form<br/>[contact.html]"]
  node_contact_handler["Save enquiry<br/>[contact_save.php]"]
  node_mysql[("MySQL database")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_home
node_home -.->|"explores events"| node_wedding_catalog
node_home -.->|"explores events"| node_birthday
node_home -.->|"explores events"| node_baby_shower
node_wedding_catalog -.->|"browses themes"| node_traditional
node_wedding_catalog -.->|"browses themes"| node_royal
node_wedding_catalog -.->|"browses themes"| node_vintage
node_wedding_catalog -.->|"browses themes"| node_modern
node_wedding_catalog -.->|"browses themes"| node_garden
node_birthday -.->|"browses themes"| node_glam_birthday
node_birthday -.->|"browses themes"| node_space
node_birthday -.->|"browses themes"| node_sports
node_birthday -.->|"browses themes"| node_carnival
node_baby_shower -.->|"browses themes"| node_baby_themes
node_visitor -->|"submits booking"| node_booking_form
node_booking_form -.->|"posts booking"| node_booking_handler
node_booking_handler -->|"inserts booking"| node_mysql
node_visitor -->|"sends enquiry"| node_contact_form
node_contact_form -.->|"posts enquiry"| node_contact_handler
node_contact_handler -->|"inserts enquiry"| node_mysql

click node_home "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/index.html"
click node_wedding_catalog "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/weddings.html"
click node_traditional "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/traditional-godh-bharai.html"
click node_royal "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/royal-wedding.html"
click node_vintage "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/vintage.html"
click node_modern "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/modern.html"
click node_garden "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/garden.html"
click node_birthday "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/birthday.html"
click node_glam_birthday "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/hollywood-glam-birthday.html"
click node_space "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/space-adventure.html"
click node_sports "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/sports-extravaganza.html"
click node_carnival "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/vintage-carnival.html"
click node_baby_shower "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/baby-shower.html"
click node_baby_themes "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/baby-animals.html"
click node_booking_form "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/booking.html"
click node_booking_handler "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/save_booking.php"
click node_contact_form "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/contact.html"
click node_contact_handler "https://github.com/dp8260264-sys/pure-joy-planner/blob/main/contact_save.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 toneBlue
class node_wedding_catalog,node_traditional,node_royal,node_vintage,node_modern,node_garden toneAmber
class node_birthday,node_glam_birthday,node_space,node_sports,node_carnival toneMint
class node_baby_shower,node_baby_themes toneRose
class node_booking_form,node_booking_handler,node_contact_form,node_contact_handler,node_mysql,node_visitor toneIndigo
```

## Components

### Event discovery

- [Home page](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/index.html): `index.html`

### Wedding themes

- [Wedding planning](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/weddings.html): `weddings.html`
- [Traditional theme](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/traditional-godh-bharai.html): `traditional-godh-bharai.html`
- [Royal wedding](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/royal-wedding.html): `royal-wedding.html`
- [Vintage themes](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/vintage.html): `vintage.html`
- [Modern theme](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/modern.html): `modern.html`
- [Garden themes](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/garden.html): `garden.html`

### Birthday themes

- [Birthday planning](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/birthday.html): `birthday.html`
- [Glam birthday](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/hollywood-glam-birthday.html): `hollywood-glam-birthday.html`
- [Space adventure](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/space-adventure.html): `space-adventure.html`
- [Sports theme](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/sports-extravaganza.html): `sports-extravaganza.html`
- [Vintage carnival](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/vintage-carnival.html): `vintage-carnival.html`

### Baby shower themes

- [Baby shower planning](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/baby-shower.html): `baby-shower.html`
- [Baby shower themes](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/baby-animals.html): `baby-animals.html`

### Booking and enquiry

- [Booking form](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/booking.html): `booking.html`
- [Save booking](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/save_booking.php): `save_booking.php`
- [Contact form](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/contact.html): `contact.html`
- [Save enquiry](https://github.com/dp8260264-sys/pure-joy-planner/blob/main/contact_save.php): `contact_save.php`
- **MySQL database**

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens site (evidence: `README.md`)
- Home page → Wedding planning: explores events
- Home page → Birthday planning: explores events
- Home page → Baby shower planning: explores events
- Wedding planning → Traditional theme: browses themes
- Wedding planning → Royal wedding: browses themes
- Wedding planning → Vintage themes: browses themes
- Wedding planning → Modern theme: browses themes
- Wedding planning → Garden themes: browses themes
- Birthday planning → Glam birthday: browses themes
- Birthday planning → Space adventure: browses themes
- Birthday planning → Sports theme: browses themes
- Birthday planning → Vintage carnival: browses themes
- Baby shower planning → Baby shower themes: browses themes
- Visitor → Booking form: submits booking (evidence: `README.md`)
- Booking form → Save booking: posts booking
- Save booking → MySQL database: inserts booking (evidence: `save_booking.php`)
- Visitor → Contact form: sends enquiry (evidence: `README.md`)
- Contact form → Save enquiry: posts enquiry
- Save enquiry → MySQL database: inserts enquiry (evidence: `contact_save.php`)
