Skip to content

About

Desktop productivity and task management system built with JavaFX and MySQL, implementing MVC & DAO design patterns, in-memory filtering, and JUnit testing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 TaskMaster Flow · Desktop Productivity Suite

Enterprise-grade desktop task management system developed with Java and JavaFX, featuring strict MVC & DAO architectural patterns, reactive in-memory filtering, and safe JDBC persistence.

Java JavaFX MySQL Architecture Testing


📌 Project Overview

TaskMaster Flow is an advanced desktop productivity suite designed to structure, track, and manage business workflows. It was engineered as the Capstone Project (TFG) for the Higher Vocational Degree in Multi-platform Applications Development (DAM).

The project demonstrates core software engineering practices: strict separation of concerns, decoupled persistence contracts, defensive resource lifecycle management, and in-memory data querying for optimal user responsiveness.


🏛️ Architecture & System Design

The application enforces a decoupled Model-View-Controller (MVC) design paired with a formal Data Access Object (DAO) persistence layer:

graph TD
    UI[FXML / JavaFX View] -->|User Events| Ctrl[Controller Layer]
    Ctrl -->|Binds Data| Model[POJO Model / ObservableList]
    Ctrl -->|Invokes Operations| DAOInterface[DAO Interface]
    DAOInterface -.->|Implements| DAOImpl[DAO JDBC Implementation]
    DAOImpl -->|Acquires Connection| DBConn[Singleton DBConnection]
    DBConn -->|Thread-Safe Pooling| MySQL[(MySQL Database)]
    DAOImpl -->|Parametrized Queries| MySQL
Loading

Key Engineering Decisions

  • DAO Pattern: Persistence logic is completely isolated behind contracts (TareaDAO), ensuring that switching the database engine (e.g., from MySQL to PostgreSQL) requires zero modifications to UI controllers.
  • Connection Lifecycle (Singleton + Try-with-resources): The database connection pool lifecycle is centralized through a thread-safe DBConnection Singleton, ensuring every SQL statement enforces safe closure via try-with-resources to eliminate connection and memory leaks.
  • SQL Injection Prevention: Enforced usage of parameterized PreparedStatement instances across all CRUD operations.
  • Zero-Latency In-Memory Filtering: Instead of firing recurring expensive SELECT queries across the wire on keystrokes, dataset searching utilizes JavaFX's FilteredList wrapping in-memory ObservableList collections.

🚀 Core Features

  • Full Lifecycle CRUD: Create, read, update, and resolve tasks with validation.
  • Real-Time Dynamic Search: Instant UI re-rendering driven by reactive predicate bindings.
  • Adaptive UI Architecture: Flexible layouts crafted with FXML and CSS, applying constrained column resize policies (CONSTRAINED_RESIZE_POLICY) to ensure responsiveness across different display resolutions.
  • Automated Regression Suite: Automated unit testing suite covering business domain rules and persistence edge cases via JUnit.

📁 Repository Structure

TaskMaster-Flow/
├── src/
│   ├── app/                    # Application bootstrap & JavaFX entry point
│   ├── controller/             # Event coordinators (TareaController, TareaFormController)
│   ├── dao/                    # Persistence boundary contracts and JDBC implementations
│   ├── db/                     # Centralized Singleton connection manager
│   ├── model/                  # Domain entity POJOs & observable wrappers
│   ├── resources/              # FXML view templates, CSS styling, and visual assets
│   └── test/                   # Automated unit testing suite (JUnit)
├── pom.xml                     # Maven dependency & lifecycle configuration
└── README.md                   # Project documentation

🛠️ Tech Stack & Dependencies

  • Language: Java 17+ (LTS)
  • Desktop Framework: JavaFX 17+ (FXML, Controls, CSS)
  • Relational Database: MySQL 8.0+
  • Driver: MySQL Connector/J
  • Quality Assurance: JUnit 5
  • Build Automation & Packaging: Apache Maven

⚡ Setup & Local Execution

Prerequisites

  1. JDK 17+ installed and configured on $JAVA_HOME.
  2. MySQL Server active locally or via Docker.
  3. Apache Maven installed.

Installation

  1. Clone the repository:
    git clone [https://github.com/Rubenzt8/TaskMaster-Flow.git](https://github.com/Rubenzt8/TaskMaster-Flow.git)
    cd TaskMaster-Flow
  2. Configure your database credentials in src/db/DBConnection.java (or export environment variables).
  3. Build the project with Maven:
    mvn clean compile
  4. Execute the application:
    mvn javafx:run

👨‍💻 Author

Rubén Flores Calderón
Backend-focused Software Developer

About

Desktop productivity and task management system built with JavaFX and MySQL, implementing MVC & DAO design patterns, in-memory filtering, and JUnit testing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages