# mrhacker1/hci-project-aliweb architecture

> Architecture diagram of the GitHub repository mrhacker1/hci-project-aliweb, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mrhacker1/hci-project-aliweb
- Repository: https://github.com/mrhacker1/hci-project-aliweb

## Overview

##### Main Components

A. Frontend Layer
- Static HTML Pages (organized by categories)
- CSS Styling (aliweb.css)
- Client-side Navigation System
- Search Functionality
- Email Subscription Component

B. Content Organization
- Main Categories (7 primary sections)
- Sub-categories (represented by individual HTML files)
- Website Listings Database/Structure

**[User Interface Layer]**
- ↓   ↑
**[Navigation System]**
- ↓   ↑
**[Content Organization]**

##### Specific Elements

a) User Interface Components:
- Homepage (index.html)
- Category Pages
- Search Interface
- Email Subscription Form
- Logo/Navigation Elements

b) Navigation Flow:
- Category Hover Interactions
- Sub-category Selection
- Website Listing Pages
- Home Page Return Logic

c) Content Structure:
- Entertainment Section
- Living Section
- Money Section
- Newstand Section
- Recreation Section
- Research Section
- Shopping Section
- Computing Section

##### Important Relationships

- Homepage → Category relationships
- Category → Sub-category hierarchies
- Navigation paths between pages
- Search functionality flow
- Email subscription data flow

**[Homepage]**
- ↓
**[Category Navigation]**
- ↓
**[Sub-Categories] ← → [Search System]**
- ↓
**[Website Listings]**
- ↓
**[External Links]**

##### Additional Notes

- Double lines for data flow (search/subscription)
- Annotations for important user interactions

Remember to include:
- Search functionality flow
- Category hover mechanics
- Logo navigation system
- Email subscription process
- Content hierarchy visualization

This system design should reflect the straightforward nature of the project while providing enough detail to understand the complete structure and functionality of the Aliweb Remake.

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph UI["User Interface Layer"]
        Home["Homepage"]
        Search["Search Interface"]
        Email["Email Subscription"]
        Nav["Navigation Elements"]
    end

    subgraph Categories["Category System"]
        Ent["Entertainment"]
        Liv["Living"]
        Mon["Money"]
        New["Newstand"]
        Rec["Recreation"]
        Res["Research"]
        Shop["Shopping"]
        Comp["Computing"]
    end

    subgraph Features["Core Features"]
        SearchSys["Search System"]
        SiteTools["Site Tools"]
        Help["Site Help"]
        Browser["Browser Support"]
    end

    subgraph News["News Components"]
        NewsMain["News System"]
        WorldNews["World News"]
        TechNews["Technology News"]
    end

    subgraph Search["Search Components"]
        SearchIdx["Search Indexes"]
        SearchEng["Search Engines"]
        AllSearch["All-In-One Search"]
    end

    %% Main Flow
    Home --> Nav
    Nav --> Categories
    Categories --> Features
    
    %% Category Connections
    Nav --> Ent
    Nav --> Liv
    Nav --> Mon
    Nav --> New
    Nav --> Rec
    Nav --> Res
    Nav --> Shop
    Nav --> Comp

    %% Feature Connections
    Comp --> SiteTools
    Comp --> Help
    Comp --> Browser

    %% News Flow
    New --> NewsMain
    NewsMain --> WorldNews
    NewsMain --> TechNews

    %% Search Flow
    Res --> SearchSys
    SearchSys --> SearchIdx
    SearchSys --> SearchEng
    SearchSys --> AllSearch

    %% Styling
    classDef default fill:#f9f9f9,stroke:#333,stroke-width:2px
    classDef category fill:#d4eafd,stroke:#333
    classDef feature fill:#e1f5e1,stroke:#333
    classDef news fill:#ffe6cc,stroke:#333
    classDef search fill:#e6e6fa,stroke:#333

    class Ent,Liv,Mon,New,Rec,Res,Shop,Comp category
    class SearchSys,SiteTools,Help,Browser feature
    class NewsMain,WorldNews,TechNews news
    class SearchIdx,SearchEng,AllSearch search

    %% Click Events
    click Home "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/index.html"
    click Ent "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Entertainment/"
    click Liv "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Living/"
    click Mon "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Money/"
    click New "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Newstand/"
    click Rec "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Recreation/"
    click Res "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Research/"
    click Shop "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/Shopping/"
    click Comp "https://github.com/Mrhacker1/HCI-project-Aliweb/tree/main/computing/"
    click SiteTools "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/computing/SiteTools.html"
    click Help "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/computing/SiteHelp.html"
    click Browser "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/computing/browsers.html"
    click SearchIdx "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Research/SearchIndexes.html"
    click SearchEng "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Research/SearchEngines.html"
    click AllSearch "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Research/AllInOneSearch.html"
    click NewsMain "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Newstand/News.html"
    click WorldNews "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Newstand/WorldNews.html"
    click TechNews "https://github.com/Mrhacker1/HCI-project-Aliweb/blob/main/Newstand/Technology.html"
```
