# syskantechnosoft/2105pythonbatch architecture

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

- Interactive diagram: https://gitdiagram.com/syskantechnosoft/2105pythonbatch
- Repository: https://github.com/syskantechnosoft/2105pythonbatch

## Overview

##### Project type and purpose
- This is not a single application but a monorepo of multiple small sample projects and exercises for “2105PythonBatch” training.
- It contains educational micro-projects in Python (Day1Python, Day2Python, IntroToTDD, WikiAutomationPython, etc.), Java (HelloWorld2, CommunityLibrariAPI, JavaDay2, JavaDay3, JavaDay4, LibraryAPI, encapsulation, etc.), web front-ends (PyBookFrontend, DOM examples), BDD/Selenium automation (BDD/wikiautomation2, WikiAutomationJava), and various docs and reviews.

##### File structure
- Top-level folders each represent an independent module or lesson:
- DayN…Python: Python language fundamentals
- CommunityLibrariAPI / LibraryAPI: Java REST API microservices (Spring or plain Java)
- WikiAutomation… / BDD: Automation test suites using Selenium/WebDriver + Cucumber
- DOM, clientsidereview, asyncjs: Front-end JavaScript/HTML demos
- encapsulation, JavaDayN: Java OOP exercises
- IntroToTDD, Seleniumwaits, Seleniumbasics: Testing frameworks and patterns
- Each Java project follows a Maven layout (pom.xml, src/main/java, src/test/java). Python exercises follow plain-script layouts with modules and tests.

##### README
- Only a title (“2105PythonBatch”) is provided—no high-level architecture described.
- We must infer that this repo’s “architecture” is a structured curriculum rather than a runtime system.

a. Main components
- Monorepo root (“2105PythonBatch”)
- Language tracks: Python track, Java track, Front-end track, Automation track
- Within each track: individual micro-projects (e.g. Day1Python, CommunityLibrariAPI)
- Shared artifacts: documentation & review materials, common utilities
b. Relationships and interactions
- There is no runtime data flow between modules; each is standalone
- We show “uses” or “depends on” relationships: e.g., Java API modules depend on ConnectionUtil and DAOs; BDD suites depend on Selenium/WebDriver and feature definitions
c. Architectural patterns & design principles
- Maven Standard Directory Layout for Java projects (separation of src/main vs src/test)
- MVC style layering in API services (controllers → services → DAOs → entities)
- BDD pattern: feature files → step definitions → page objects
- TDD approach in Python demo (tests first → implementation)
d. Key technologies
- Java 8+ w/ Maven, JAX-RS or Spring-style controllers, JDBC utilities
- Python 3 scripts + pytest or unittest for tests
- Cucumber/Gherkin for BDD, Selenium WebDriver for automation
- HTML/CSS/JavaScript for front-end demos

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Python Track
    subgraph "Python Track" 
        direction TB
        Day1["Day1Python"]:::python
        Day2["Day2Python"]:::python
        Day3["Day3Python"]:::python
        IntroTDD["IntroToTDD"]:::python
        PyImport["PythonImporting"]:::python
    end

    %% Java Track
    subgraph "Java Track"
        direction TB
        HelloW2["HelloWorld2"]:::java
        HelloWServer["HelloWorldServer"]:::java
        CommunityLibAPI["CommunityLibrariAPI"]:::java
        subgraph "CommunityLibrariAPI Layers"
            direction TB
            CL_Controller["Controller"]:::java
            CL_Service["Service"]:::java
            CL_DAO["DAO"]:::java
            CL_DB["Database"]:::db
        end
        LibraryAPIProj["LibraryAPI"]:::java
        subgraph "LibraryAPI Layers"
            direction TB
            LAPI_Controller["Controller"]:::java
            LAPI_Service["Service"]:::java
            LAPI_DAO["DAO"]:::java
            LAPI_Entities["Entities"]:::java
            LAPI_DB["Database"]:::db
        end
        JavaDay2["JavaDay2"]:::java
        JavaDay3["JavaDay3"]:::java
        JavaDay4["JavaDay4"]:::java
        Encapsulation["encapsulation"]:::java
    end

    %% Automation Track
    subgraph "Automation Track"
        direction TB
        BDDPy["BDD/wikiautomation2"]:::automation
        subgraph "BDD Python Sample"
            direction TB
            FeatureFilesPy["Feature Files"]:::automation
            StepDefsPy["Step Definitions"]:::automation
            PomsPy["POMs"]:::automation
        end
        SeleniumBasic["seleniumbasics"]:::automation
        SeleniumWaits["Seleniumwaits"]:::automation
        WikiAutoJava["WikiAutomationJava"]:::automation
        subgraph "BDD Java Sample"
            direction TB
            FeatureFilesJ["Feature Files"]:::automation
            StepDefsJ["Step Definitions"]:::automation
            PageObjectsJ["Page Objects"]:::automation
            BrowserJ["Browser"]:::automation
        end
    end

    %% Front-end Track
    subgraph "Front-end Track"
        direction TB
        DOMDemo["DOM"]:::frontend
        PyBookFE["PyBookFrontend"]:::frontend
        AsyncJS["asyncjs"]:::frontend
        ClientReview["clientsidetech"]:::frontend
    end

    %% Dependencies within Java layers
    CL_Controller -->|calls| CL_Service
    CL_Service -->|calls| CL_DAO
    CL_DAO -->|connects| CL_DB

    LAPI_Controller -->|calls| LAPI_Service
    LAPI_Service -->|calls| LAPI_DAO
    LAPI_DAO -->|defines| LAPI_Entities
    LAPI_DAO -->|connects| LAPI_DB

    %% Automation flows
    FeatureFilesPy -->|implemented by| StepDefsPy
    StepDefsPy -->|configured via| PomsPy

    FeatureFilesJ -->|implemented by| StepDefsJ
    StepDefsJ -->|uses| PageObjectsJ
    PageObjectsJ -->|drives| BrowserJ

    %% Click Events
    click Day1 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/Day1Python/"
    click Day2 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/Day2Python/"
    click Day3 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/Day3Python/"
    click IntroTDD "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/IntroToTDD/"
    click PyImport "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/PythonImporting/"

    click HelloW2 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/HelloWorld2/"
    click HelloWServer "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/HelloWorldServer/"
    click CommunityLibAPI "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/CommunityLibrariAPI/"
    click CL_Controller "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/CommunityLibrariAPI/src/main/java/dev/ranieri/"
    click CL_Service "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/CommunityLibrariAPI/src/main/java/dev/ranieri/"
    click CL_DAO "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/CommunityLibrariAPI/src/main/java/dev/ranieri/"
    click LibraryAPIProj "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/LibraryAPI/"
    click LAPI_DAO "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/LibraryAPI/daos/"
    click LAPI_Service "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/LibraryAPI/services/"
    click LAPI_Entities "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/LibraryAPI/entities/"
    click JavaDay2 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/JavaDay2/"
    click JavaDay3 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/JavaDay3/"
    click JavaDay4 "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/JavaDay4/"
    click Encapsulation "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/encapsulation/"

    click BDDPy "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/BDD/wikiautomation2/"
    click FeatureFilesPy "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/BDD/wikiautomation2/features/"
    click StepDefsPy "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/BDD/wikiautomation2/steps/"
    click PomsPy "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/BDD/wikiautomation2/poms/"

    click SeleniumBasic "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/seleniumbasics/"
    click SeleniumWaits "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/Seleniumwaits/"

    click WikiAutoJava "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/WikiAutomationJava/"
    click FeatureFilesJ "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/WikiAutomationJava/"
    click StepDefsJ "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/WikiAutomationJava/src/test/java/dev/ranieri/"

    click DOMDemo "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/DOM/"
    click PyBookFE "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/PyBookFrontend/"
    click AsyncJS "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/asyncjs/"
    click ClientReview "https://github.com/syskantechnosoft/2105pythonbatch/tree/main/clientsidetech/"

    %% Styles
    classDef python fill:#ADD8E6,stroke:#0000FF,color:#000033
    classDef java fill:#98FB98,stroke:#008000,color:#003300
    classDef automation fill:#FFD580,stroke:#FFA500,color:#663300
    classDef frontend fill:#D8BFD8,stroke:#800080,color:#330033
    classDef db fill:#F0E68C,stroke:#BDB76B,color:#665500
    classDef docs fill:#D3D3D3,stroke:#A9A9A9,color:#555555
```
