How openvk/chandler works
Chandler is a PHP web framework: applications register as extensions, whose routes are dispatched to presenters that render responses. Its runtime also supplies database-backed models, authentication and sessions, templating, captcha, email, events, and scheduled tasks. The graph preserves those documented capabilities and the substantial cron modules; some branches are linked only where the README or SOURCE INDEX supports the relationship, since their implementations were not excerpted.
Main entry points: Router.php Router · SimplePresenter.php Presenter · DatabaseConnection.php Database Connection · Authenticator.php Authenticator
Components 21
Web Runtime
- Bootstrap
chandler/Bootstrap.php - Extensions
chandler/Extensions/ExtensionManager.php - Router
chandler/MVC/Routing/Router.php - Presenter
chandler/MVC/SimplePresenter.php - Latte Integration
chandler/MVC/Latte/ChandlerExtension.php
Data Access
- Database Connection
chandler/Database/DatabaseConnection.php - ORM Entities
chandler/Database/DBEntity.php - Change Logging
chandler/Database/Log.php
Identity and Security
- Authenticator
chandler/Security/Authenticator.php - User and Permissions
chandler/Security/User.php - Session
chandler/Session/Session.php
Framework Services
- Captcha Manager
chandler/Captcha/CaptchaManager.php - Captcha Presenter
chandler/Web/Presenters/CaptchaPresenter.php - Email
chandler/Email/Email.php - Event Dispatcher
chandler/Eventing/EventDispatcher.php - Signal Manager
chandler/Signaling/SignalManager.php
Scheduled Tasks
- Cron Runner
chandler/Cron/CronRunner.php - Scheduler
chandler/Cron/Scheduler.php - Task Definitions
chandler/Cron/Task.php - Cron State Store
chandler/Cron/CronStateStore.php
Other components
- Web Client
Connections 24
- Web Client → Bootstrap: starts request
- Bootstrap → Extensions: initializes
chandler/Bootstrap.php - Extensions → Router: registers routes
chandler/Extensions/ExtensionManager.php - Router → Presenter: dispatches to
chandler/MVC/Routing/Router.php - Presenter → Latte Integration: configures templates
chandler/MVC/SimplePresenter.php - Presenter → Email: uses
chandler/MVC/SimplePresenter.php - Router → Session: reads session
chandler/MVC/Routing/Router.php - Router → Event Dispatcher: uses hooks
chandler/MVC/Routing/Router.php - Router → Web Client: returns response
- ORM Entities → Database Connection: queries through
chandler/Database/DBEntity.php - ORM Entities → Change Logging: uses logging
chandler/Database/DBEntity.php - Change Logging → Database Connection: queries through
chandler/Database/Log.php - Authenticator → Session: reads and writes
chandler/Security/Authenticator.php - Authenticator → Database Connection: loads credentials
chandler/Security/Authenticator.php - Authenticator → User and Permissions: constructs user
chandler/Security/Authenticator.php - User and Permissions → Database Connection: loads permissions
chandler/Security/User.php - Captcha Presenter → Presenter: extends
chandler/Web/Presenters/CaptchaPresenter.php - Captcha Presenter → Captcha Manager: uses
chandler/Web/Presenters/CaptchaPresenter.php - Captcha Manager → Session: stores challenge
chandler/Captcha/CaptchaManager.php - Cron Runner → Scheduler: runs schedule
chandler/Cron/CronRunner.php - Cron Runner → Task Definitions: executes tasks
chandler/Cron/CronRunner.php - Cron Runner → Cron State Store: tracks state
chandler/Cron/CronRunner.php - Scheduler → Task Definitions: manages tasks
chandler/Cron/Scheduler.php - Scheduler → Cron State Store: reads and writes
chandler/Cron/Scheduler.php