How nguyenminhduc163/student_records_manager works
Main Components
a. Frontend Layer (Presentation)
• JavaFX UI Components
• FXML Views (located in src/main/resources/view)
• CSS Styling (located in src/main/resources/css)
• Controllers Package (src/main/java/controllers)
b. Service Layer
• Authentication Services (LoginHandler, RegisterHandler)
• Business Logic Services (UpdateDataHandle, ExportFileHandle)
• Email Service (EmailHandler)
• Network Services (Client, Server, ClientHandler)
c. Data Access Layer
• DAO Interfaces and Implementations
• JDBC Utility
• Database Connection Management
d. Model Layer
• Domain Objects (Student, Course, Grade, etc.)
e. External Systems
• MySQL Database
• Email Server
• Client-Server Communication
[User Interface Layer]
• ↑↓
[Controller Layer]
• ↑↓
[Service Layer]
• ↑↓
[Data Access Layer]
• ↑↓
[Database]
Key Relationships to Highlight
a. User Interface Flow:
• Login Screen → Main Screen
• Registration Flow
• Password Recovery Flow
b. Data Flow:
• Controller → Service → DAO → Database
• Email Notifications
• Client-Server Communication
Detailed Component Breakdown
Frontend:
[JavaFX Views]
• LoginScreen
• MainScreen
• RegisterScreen
• ForgotPassword
• ↓
[Controllers]
• LoginController
• MainScreenController
• RegisterController
• ForgotPassController
Service Layer:
[Authentication]
• LoginHandler
• RegisterHandler
• ForgotPasswordHandl
• ↓
[Business Logic]
• UpdateDataHandle
• ExportFileHandle
• EmailHandler
• ↓
[Network]
• Client
• Server
• ClientHandler
Data Access:
[DAO Interface]
• ↓
[DAO Implementations]
• StudentDAO
• CourseDAO
• GradeDAO
• TeacherDAO
• ↓
[JDBC Utility]
Additional Elements
• Version information and technology stack details
• Database schema relationships
• Error handling and logging flows
• Document the file export process