How florianroussarie/sae works
Share is a PHP application for sharing cooking videos and utensils. Its documented request workflow enters through the front controller, which selects a controller and invokes a requested method; the default request selects the video feed. The tree also shows separate account and video controllers, models/DAOs, and Twig views for authentication, video publication, and viewing. Their runtime connections are not visible in the supplied excerpts, so the graph keeps those subsystems distinct rather than assuming calls. The README provides no additional feature detail.
Main entry points: include.php Shared bootstrap · index.php Front controller · controller_factory.class.php Controller factory · controller_video.class.php Video controller
Components 19
Request handling
- Front controller
index.php - Shared bootstrap
include.php - Controller factory
controllers/controller_factory.class.php
Application domains
- Account controller
controllers/controller_compte.class.php - Video controller
controllers/controller_video.class.php - Account model
modeles/compte.class.php - Video model
modeles/video.class.php
Data access
- Account DAO
modeles/compte.dao.php - Video DAO
modeles/video.dao.php - Database connection
modeles/bd.class.php - Application configuration
modeles/config.class.php
Twig views
- Twig setup
config/twig.php - Base layout
templates/base_template.html.twig - Account views
templates/connexion.html.twig - Registration view
templates/inscription.html.twig - Video views
templates/video.html.twig - Video feed view
templates/comptes_tableau.html.twig - Video publication view
templates/publication_video.html.twig
Other components
- Browser visitor
Connections 14
- Browser visitor → Front controller: requests page
index.php - Front controller → Shared bootstrap: loads
index.php - Front controller → Controller factory: selects controller
index.php - Front controller → Video controller: invokes method
- Shared bootstrap → Application configuration: loads
include.php - Shared bootstrap → Twig setup: loads
include.php - Shared bootstrap → Database connection: loads
include.php - Shared bootstrap → Controller factory: loads
include.php - Shared bootstrap → Account controller: loads
include.php - Shared bootstrap → Video controller: loads
include.php - Shared bootstrap → Account model: loads
include.php - Shared bootstrap → Account DAO: loads
include.php - Shared bootstrap → Video model: loads
include.php - Shared bootstrap → Video DAO: loads
include.php