How kodingkhurram/bank-management-system works
Project Type and Purpose
• BankMan is a full-stack, monolithic web application written in PHP (5.6) that implements a Bank Management System.
• It exposes two main user-facing modules:
• Employee Work-Space (EWS): for bank employees to register new customers, handle deposits (cash/cheque), withdrawals, transfers, account updates, and summaries.
• ATM Banking: for customers (via ATM number + PIN) to withdraw cash, transfer funds, and view account summaries.
• Both modules share the same PHP codebase and connect to a central MySQL database.
Key Components (to represent
a. Clients
• Bank Employee’s Web Browser (EWS UI)
• Bank Customer’s/ATM Terminal Browser (ATM UI)
b. Web Tier
• Apache HTTP Server + PHP runtime
• PHP scripts (index.php, home.php, emp_wspace.php, account_summary.php, credit_cash.php, credit_cheque.php, debit.php, transfer.php, new_customer.php, update_info.php, transaction.php, manager_permission.php, logout.php, md5.php, get_logged.inc.php, server_connect.inc.php)
• Static assets: CSS (pure‐release, templatemo_main.css, layout/style CSS), JS (init.js, templatemo_script.js, jqvmap plugin & data, custom scripts), images, fonts
c. Data Tier
• MySQL Database (BankMan_db.sql schema)
d. (Optional) External/Infrastructure
• ATM hardware or third-party PIN validation (if applicable)
• Hosting environment: Linux server (Apache/Tomcat), network connectivity, power supply
Relationships & Data Flow
• Presentation Layer (HTML/CSS/JS served by PHP)
• Business Logic Layer (the PHP scripts and includes implementing EWS and ATM workflows)
• Data Access Layer (server_connect.inc.php + SQL queries).
Architectural Patterns & Principles
• Monolithic three-tier architecture: Presentation → Application Logic → Data
• Reusable includes (get_logged.inc.php, server_connect.inc.php) demonstrate modularization within the monolith.
• Use of third-party UI/CSS frameworks (Pure.css, templatemo) and JS libraries (jqvmap) for UI consistency and data visualization.
Technologies & Frameworks
• Web Server: Apache 4.5+
• Scripting: PHP 5.6
• Database: MySQL