# miguelangel48/proyectoswebma architecture

> Architecture diagram of the GitHub repository miguelangel48/proyectoswebma, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-03-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/miguelangel48/proyectoswebma
- Repository: https://github.com/miguelangel48/proyectoswebma

## Overview

##### Main Components
- Multiple “mini-projects” or demos are contained in separate folders. For instance:
- ApiJson: Appears to demonstrate API–JSON–HTML–CSS interactions.
- Emparejados: Likely an interactive matching game (with images and some logic in JS/CSS).
- FormularioConJs: A web form that includes client-side validation.
- actividadJS: Contains exercises in JavaScript.
- boostrap: A project demonstrating layout and design using Bootstrap (with pages like blog, gallery, login).
- XML: An example showing XML data structure, schema (XSD), styling using XSL, and related assets.
- Other individual HTML pages (e.g., FlexBox.html, blogsimple.html, formulario.html, horario.html, etc.) that illustrate various web design techniques.
- Shared assets and styling:
- There are common folders for CSS (like the “css” directory), images (the “img” folder), and possibly shared JavaScript files.
- Configuration and Editor Support:
- The presence of the “.vscode” directory suggests that there might be common debugging or launch configurations across the projects.

##### Relationships and Interactions
- For example, in the ApiJson module, show the HTML page linking to its CSS (api.css) and JS (api.js). Similarly, for the Emparejados module, illustrate how the HTML file depends on the CSS and JavaScript files and also includes image assets.
- Out that the boostrap folder contains several pages that rely on custom CSS (in the css sub-folder) and JavaScript (in the js sub-folder), which in turn refer to a common HTML structure.

##### Architectural Patterns & Design Principles
- Separation of Concerns: Each mini-project is self-contained (HTML, CSS, JS components live together), making clear that each exercise focuses on a specific web development concept.
- Consistent Use of Web Standards: Most demonstrations follow standard web architecture practices by separating the HTML markup (structure), CSS (presentation), and JavaScript (behavior).

##### Relevant Technologies
- HTML5 for page structure.
- CSS (including FlexBox techniques, selectors, etc.) for presentation.
- JavaScript for dynamic behavior and validations.
- XML technologies (XML files, XSD for schema, XSL for styling).
- Bootstrap in the “boostrap” folder to demonstrate responsive design.
- Image formats such as AVIF are used in some modules.
- The use of external services is not explicitly mentioned, but any API demo (in ApiJson) can be annotated to indicate how data might be fetched or processed.

## Diagram (Mermaid)

```mermaid
flowchart TD
    P["proyectoswebma – Class Web Projects"]:::project

    subgraph "ApiJson Demo"
        A_module["ApiJson Demo"]:::module
        A_html["HTML: api.html"]:::html
        A_css["CSS: api.css"]:::css
        A_js["JS: api.js"]:::js
        A_module --> A_html
        A_module --> A_css
        A_module --> A_js
    end

    subgraph "Emparejados Matching Game"
        E_module["Emparejados Matching Game"]:::module
        E_html["HTML: emparejados.html"]:::html
        E_css["CSS: emparejadoscss.css"]:::css
        E_js["JS: emparejadosjs.js"]:::js
        E_img["Image Assets: ImgEmp"]:::other
        E_module --> E_html
        E_module --> E_css
        E_module --> E_js
        E_module --> E_img
    end

    subgraph "Formulario with JS Validation"
        F_module["Formulario with JS Validation"]:::module
        F_html["HTML: formulari.html"]:::html
        F_js["JS: validador_enunciat.js"]:::js
        F_module --> F_html
        F_module --> F_js
    end

    subgraph "JavaScript Exercises (actividadJS)"
        J_module["JavaScript Exercises"]:::module
        J_html["HTML: exercicisJS.html"]:::html
        J_js["JS: exercicisJS.js"]:::js
        J_module --> J_html
        J_module --> J_js
    end

    subgraph "Bootstrap Demos"
        B_module["Bootstrap Demos"]:::module
        B_index["HTML: index.html"]:::html
        B_blog["HTML: blog.html"]:::html
        B_galeria["HTML: galeria.html"]:::html
        B_login["HTML: login.html"]:::html
        B_css["CSS Folder: css"]:::css
        B_js["JS Folder: js"]:::js
        B_module --> B_index
        B_module --> B_blog
        B_module --> B_galeria
        B_module --> B_login
        B_module --> B_css
        B_module --> B_js
    end

    subgraph "XML Demo"
        X_module["XML Demo"]:::module
        X_xml["XML: datos.xml"]:::xml
        X_xsd["XSD: esquema.xsd"]:::xml
        X_xsl["XSL: estilo.xsl"]:::xml
        X_img["Image Resources: imagenPeliculas"]:::other
        X_module --> X_xml
        X_module --> X_xsd
        X_module --> X_xsl
        X_module --> X_img
    end

    subgraph "Shared Assets & Configuration"
        S_module["Shared Assets & Config"]:::module
        S_css["Shared CSS: css"]:::css
        S_img["Shared Images: img"]:::other
        S_vscode["Editor Config: .vscode"]:::other
        S_module --> S_css
        S_module --> S_img
        S_module --> S_vscode
    end

    P -->|"contains"| A_module
    P -->|"contains"| E_module
    P -->|"contains"| F_module
    P -->|"contains"| J_module
    P -->|"contains"| B_module
    P -->|"contains"| X_module
    P -->|"contains"| S_module

    click A_html "https://github.com/miguelangel48/proyectoswebma/blob/main/ApiJson/api.html"
    click A_css "https://github.com/miguelangel48/proyectoswebma/blob/main/ApiJson/api.css"
    click A_js "https://github.com/miguelangel48/proyectoswebma/blob/main/ApiJson/api.js"

    click E_html "https://github.com/miguelangel48/proyectoswebma/blob/main/Emparejados/emparejados.html"
    click E_css "https://github.com/miguelangel48/proyectoswebma/blob/main/Emparejados/emparejadoscss.css"
    click E_js "https://github.com/miguelangel48/proyectoswebma/blob/main/Emparejados/emparejadosjs.js"
    click E_img "https://github.com/miguelangel48/proyectoswebma/tree/main/Emparejados/ImgEmp"

    click F_html "https://github.com/miguelangel48/proyectoswebma/blob/main/FormularioConJs/formulari.html"
    click F_js "https://github.com/miguelangel48/proyectoswebma/blob/main/FormularioConJs/validador_enunciat.js"

    click J_html "https://github.com/miguelangel48/proyectoswebma/blob/main/actividadJS/exercicisJS.html"
    click J_js "https://github.com/miguelangel48/proyectoswebma/blob/main/actividadJS/exercicisJS.js"

    click B_index "https://github.com/miguelangel48/proyectoswebma/blob/main/boostrap/index.html"
    click B_blog "https://github.com/miguelangel48/proyectoswebma/blob/main/boostrap/blog.html"
    click B_galeria "https://github.com/miguelangel48/proyectoswebma/blob/main/boostrap/galeria.html"
    click B_login "https://github.com/miguelangel48/proyectoswebma/blob/main/boostrap/login.html"
    click B_css "https://github.com/miguelangel48/proyectoswebma/tree/main/boostrap/css"
    click B_js "https://github.com/miguelangel48/proyectoswebma/tree/main/boostrap/js"

    click X_xml "https://github.com/miguelangel48/proyectoswebma/blob/main/XML/datos.xml"
    click X_xsd "https://github.com/miguelangel48/proyectoswebma/blob/main/XML/esquema.xsd"
    click X_xsl "https://github.com/miguelangel48/proyectoswebma/blob/main/XML/estilo.xsl"
    click X_img "https://github.com/miguelangel48/proyectoswebma/tree/main/XML/imagenPeliculas"

    click S_css "https://github.com/miguelangel48/proyectoswebma/tree/main/css"
    click S_img "https://github.com/miguelangel48/proyectoswebma/tree/main/img"
    click S_vscode "https://github.com/miguelangel48/proyectoswebma/blob/main/.vscode"

    classDef project fill:#ffd1dc,stroke:#d6336c,stroke-width:2px;
    classDef module fill:#cce5ff,stroke:#004085,stroke-width:2px;
    classDef html fill:#fff3cd,stroke:#856404,stroke-width:2px;
    classDef css fill:#d4edda,stroke:#155724,stroke-width:2px;
    classDef js fill:#d1ecf1,stroke:#0c5460,stroke-width:2px;
    classDef xml fill:#f8d7da,stroke:#721c24,stroke-width:2px;
    classDef other fill:#e2e3e5,stroke:#6c757d,stroke-width:2px;
```
