How shaiderm16/task-management-system works
Project Type & Purpose
• This is a console-based application focusing on task management.
• The primary goal is to allow users to manage their tasks (create, update, view, delete) while persisting data with file storage.
Main Components
• Main Application: Represented by src/main.cpp, this is the entry point that initializes the application.
• Task Entity: Represented by the Task class (in Task.cpp). It encapsulates task details such as ID, title, and other attributes.
• Task Manager: Represented by the TaskManager class (in TaskManager.cpp) which carries out operations including creating, viewing, editing, and deleting tasks.
• File Storage: While not implemented as a separate module, file operations (e.g., reading from and writing to "project.txt") are a critical component that persists task data.
Establish Relationships and Interactions
• The Main component instantiates the TaskManager.
• The TaskManager maintains a collection of Task objects and provides methods to manage these tasks.
• Interaction Flow:
• The user inputs commands at the console (triggered by the main module).
• The TaskManager then interprets these commands and calls the appropriate functions (e.g., createTask, viewTask, editTask, deleteTask).
• During these operations, the TaskManager interacts with the file storage system to load and save task data.
Architectural Patterns & Design Principles
• Object-Oriented Design: The system uses separate classes for Task (data model) and TaskManager (controller/manager), demonstrating encapsulation and separation of concerns.
• File-Based Persistence: Although rudimentary, note the handling of file I/O for saving and retrieving tasks.
Relevant Technologies and Libraries
• C++ Standard Library: For I/O operations (iostream, fstream), string manipulation, and vector storage.
• Compiler: g++ is used to compile the code.
• That the design is good for a small-scale, file-backed application without external databases.
Elements
• From "Main Module" to "TaskManager" (initialization/command delegation).