How cfwheels/cfwheels works
Main Components
a. Core Framework Components:
• MVC Architecture Layer
• Controllers (app/controllers)
• Models (app/models)
• Views (app/views)
• Configuration Layer (app/config)
• Event Handling System (app/events)
• Plugin System (app/plugins)
• Database Migration System (app/migrator)
b. Infrastructure Components:
• Multiple CFML Engine Support
• Adobe ColdFusion (2018, 2021, 2023)
• Lucee (5, 6)
• Database Support Layer
• SQL Server
• PostgreSQL
• MySQL
• H2
┌─ Application Layer ─────────────────────┐
• Views → Controllers → Models │
• ┬─────────────────────────┘
┌─ Core Layer ──┴─────────────────────────┐
• Routing │ Config │ Events │ Plugins │
• ┬─────────────────────────┘
┌─ Engine Layer ┴─────────────────────────┐
• Adobe CF │ Lucee │ Database Adapters │
• ┘
Key Relationships to Highlight
• Request flow: URL → Routing → Controller → Model → View
• Plugin integration points
• Demonstrate database interaction flow
• Event handler triggers
• Configuration inheritance
Detailed Component Relationships
┌─ Request Flow ──────────────────────────────┐
• URL → Rewrite Rules → Routing → Controller │
• ↓ │
• Model ← Database ← Migration System │
• ↓ │
• View → Layout → Response │
• ┘
Implementation Notes
• Use standardized UML notation where appropriate
• Notes for important configuration points
• Version compatibility matrix
• Plugin extension points
• Security boundaries
Key Features to Emphasize
• Multi-engine support architecture
• Database abstraction layer
• Plugin system architecture
• Environment-specific configuration
• Testing infrastructure
• CLI tooling integration