How ahmedmbutt/supermarketmanagementsystem works
Main Components
a. Presentation Layer (GUI Components):
• Login Form
• Admin Form
• Selling Form
• Start Form
b. Business Logic Layer:
• ProductManager
• SellerManager
• Main Supermarket class
c. Data Persistence Layer:
• File Storage:
• Seller.txt
• table.txt
• temp.txt
Component Relationships
[Presentation Layer]
• ↕
[Business Logic Layer]
• ↕
[Data Layer]
Specific Design Elements
• Rectangles: GUI Forms
• Rounded Rectangles: Manager Classes
• Diamonds: Main Application Class
• Blue: GUI Components
• Green: Business Logic
• Yellow: Data Storage
• Red: Main Application Entry Point
Detailed Component Breakdown
GUI Layer:
[Login Form] ← → [Start Form] ← → [Admin Form]
• ↓
• [Selling Form]
Business Layer:
[ProductManager] ← → [SellerManager]
• ↓ ↓
• (File Access) (File Access)