How mohaelbadry/projet_web_tp works
Project type and purpose
• This is a monolithic, full-stack LAMP-style (PHP + MySQL) web application for inventory and stock management.
• It exposes two user-facing consoles:
• A public “Customer” storefront (Customer/) for browsing products.
• An admin “Back Office” (Presentation/) for managing categories, clients, suppliers, orders, supplies, and cashier sessions.
File structure
• Top-level directories:
• Customer/ – customer-facing PHP pages, CSS, JS.
• Presentation/ – admin UI, organized by feature modules (Categorie, Client, Commande, etc.), templates, PDF CSS, session checks.
• Metier/ – business-logic classes (Produit, Commande, Approvisionnement, etc.).
• DAO/ – data-access layer (DAO.php).
• assets/ – static assets (CSS framework, JS libraries: Bootstrap, Chart.js, Day.js, etc.).
• Other files: index.php (front controller), DB_.sql (schema), README.md, RAPPORT-WEB.pdf.
README
• Confirms web stack (Apache/Nginx + PHP + MySQL), features: manage products, suppliers, clients, orders, supplies, cashier, sessions, PDF reports.
Detail
• Individual module groups if space allows (e.g., under Presentation: Categorie, Client, Commande, Approvisionnement).
• Session management and PDF report paths.