How comete-upn/bbbc works
Project type and purpose
• This is a PHP-based full-stack web application (“BigBlueButton Control”) that manages virtual conferences on a BigBlueButton (BBB) server.
• Key features (from README): multi-user CAS authentication, create/delete permanent conferences, generate moderator/attendee links, measure latency via JSP ping endpoint.
File structure
Top-level directories and files:
• 3rdparty/ – phpCAS library and related JavaScript (flash_detect.js, jquery-2.1.1.js, ua-parser.js)
• inc/ – application core (cas.php, config.template.php, database.php, utility.php, header/footer)
• static/ – CSS, JS, images, HTML stub (void.html)
• sql/ – database schema and migrations
• upload-to-bbb/ – ping.jsp for latency tests on the BBB server
• index.php, redirect.php – main entry points
• publish.sh – CLI helper script
• README.md – installation and overview
Patterns and configurations:
– MVC-light: index.php routes requests, inc/ holds controllers and utility functions, header.php/footer.php act as view templates.
– CAS SSO integration via phpCAS (3rdparty/phpCAS).
– MySQL persistence (sql/init.sql).
– Static asset pipeline (static/css, static/js).
– External dependency: BigBlueButton API endpoints (HTTP requests to create/delete rooms).
– JSP ping endpoint for latency measurement.
README for additional insights
• Clearly describes CAS authentication requirement, database setup, and latency test setup.