How alpachot/projet-final-maisonneuve works
Vino is a French-language web application for managing users, wine cellars and their bottles, with shopping lists and SAQ catalogue import. The principal flow starts at the public entry point, routes a request to a controller, then uses models to read or update application data and renders a view or returns an AJAX response. The graph also preserves account management, cellar and bottle management, shopping lists, and administrator-led SAQ import. Some subsystem wiring is documented or indexed but unsampled, so those links are marked unverified or omitted.
Main entry points: Controleur_Importation.php SAQ import controller · Routeur.php Request router · Controleur_Bouteille.php Bottle controller · Controleur.php Controller base
Components 26
Request handling
- Web entry point
www/index.php - Request router
prive/controleurs/lib/Routeur.php - Controller base
prive/controleurs/lib/Controleur.php
Accounts
- Account controller
prive/controleurs/Controleur_Login.php - User model
prive/modeles/Modele_Usager.php - Account views
prive/vues/login/login.php
Cellars and bottles
- Cellar controller
prive/controleurs/Controleur_Cellier.php - Cellar model
prive/modeles/Modele_Cellier.php - Cellar views
prive/vues/cellier/cellier.php - Bottle controller
prive/controleurs/Controleur_Bouteille.php - Bottle model
prive/modeles/Modele_Bouteille.php - Bottle views
prive/vues/bouteille/formulaire.php
Catalogue and lists
- SAQ import controller
prive/controleurs/Controleur_Importation.php - SAQ catalogue model
prive/modeles/Modele_Bouteille_SAQ.php - Import administration view
prive/vues/admin/une-page.php - Shopping-list controller
prive/controleurs/Controleur_Liste_Achat.php - Shopping-list model
prive/modeles/Modele_Liste.php - Shopping-list views
prive/vues/bouteille/achat.php
Persistence and support
- Database connection
prive/modeles/BaseDeDonnees.php - Model base
prive/modeles/Modele.php - Admin access check
prive/controleurs/lib/Fonctions.php - File logger
prive/controleurs/lib/Log.php - Shared procedures
prive/controleurs/lib/Procedures.php
Other components
- Web user
- SAQ website
- Application database
Connections 25
- Web user → Web entry point: requests
www/index.php - Web entry point → Request router: invokes
www/index.php - Request router → Shared procedures: loads
prive/controleurs/lib/Routeur.php - Request router → Controller base: dispatches
prive/controleurs/lib/Routeur.php - Request router → Account controller: dispatches
prive/controleurs/lib/Routeur.php - Controller base → Database connection: opens connection
prive/controleurs/lib/Controleur.php - Controller base → Model base: creates models
prive/controleurs/lib/Controleur.php - Database connection → Application database: connects
prive/modeles/BaseDeDonnees.php - Model base → Application database: queries
prive/modeles/Modele.php - Account controller → User model: authenticates and updates
prive/controleurs/Controleur_Login.php - Account controller → Account views: renders
prive/controleurs/Controleur_Login.php - Cellar controller → Cellar model: manages cellar
- Cellar controller → Cellar views: renders
- Bottle controller → Bottle model: updates bottles
prive/controleurs/Controleur_Bouteille.php - Bottle controller → Cellar model: loads model
prive/controleurs/Controleur_Bouteille.php - Bottle controller → Bottle views: renders
prive/controleurs/Controleur_Bouteille.php - SAQ import controller → Import administration view: renders
prive/controleurs/Controleur_Importation.php - SAQ import controller → SAQ website: fetches catalogue
prive/controleurs/Controleur_Importation.php - SAQ import controller → SAQ catalogue model: imports records
prive/controleurs/Controleur_Importation.php - SAQ import controller → Admin access check: checks access
prive/controleurs/Controleur_Importation.php - SAQ import controller → File logger: logs errors
prive/controleurs/Controleur_Importation.php - Shopping-list controller → Shopping-list model: manages lists
- Shopping-list controller → Shopping-list views: renders
- Shopping-list model → SAQ catalogue model: searches catalogue
prive/modeles/Modele_Liste.php - Admin access check → File logger: logs access
prive/controleurs/lib/Fonctions.php