How thiagos0/tradefair works
TradeFair is a PHP/MySQL system for organizing buyer–supplier product quotations. The documented workflow starts with a client creating a product list, proceeds through supplier invitations and price proposals, and ends with proposal comparison and supplier selection. The graph also preserves the documented client, supplier, product, event/note, dashboard, user, and multilingual capabilities. Several quotation stages are described in the README but their implementation is not clear from the sampled source, so those links are documented rather than inferred from code.
Main entry points: menu.php Navigation and language · config.php MySQL connection · lists Product lists · index.php Dashboard
Components 18
Accounts and dashboard
- Dashboard
home/index.php - Client records
clients - User accounts
login.php - Profile
home/profile.php
Business records
- Suppliers
supplier - Products
products - Events and notes
notes
Quotation workflow
- Product lists
lists - Price proposals
lists - Proposal comparison
lists
Shared services
- Account helpers
includes/functions.php - MySQL connection
includes/config.php - PDO connection
includes/db.php - Navigation and language
includes/menu.php - Language files
includes/lang
Other components
- Client
- Participating suppliers
- Supplier selection
Connections 19
- Client → Product lists: creates
README.md - Product lists → Participating suppliers: invites
README.md - Participating suppliers → Price proposals: submits prices
README.md - Price proposals → Proposal comparison: compared in
README.md - Proposal comparison → Supplier selection: informs choice
README.md - Dashboard → MySQL connection: queries
home/index.php - Client records → MySQL connection: queries
clients/listagem_cliente.php - Products → MySQL connection: queries
products/index.php - Product lists → MySQL connection: queries
lists/index.php - Events and notes → PDO connection: queries
notes/index.php - User accounts → Account helpers: authenticates with
login.php - Account helpers → MySQL connection: uses
includes/functions.php - Dashboard → Navigation and language: includes
home/index.php - Client records → Navigation and language: includes
clients/listagem_cliente.php - Suppliers → Navigation and language: includes
supplier/index.php - Products → Navigation and language: includes
products/index.php - Product lists → Navigation and language: includes
lists/index.php - Events and notes → Navigation and language: includes
notes/index.php - Navigation and language → Language files: offers languages