What problem does it solve?
This skill helps developers configure and manage dependency injection inside ColdBox applications, removing confusion around ColdBox-specific injection namespaces, binder configuration, and module-scoped mappings so services are resolved consistently and safely.
Core Features & Use Cases
- ColdBox-aware Injection DSL: Explains coldbox:, wirebox:, logbox:, cachebox:, model:, provider, and id namespaces for precise property and argument injection.
- Binder & Module Mapping: Guides creating config/WireBox.cfc binders, overriding auto-scanned models, and declaring module-specific mappings and onLoad behavior.
- Safe Transient Usage: Shows provider-based injection for request-scoped objects, injecting settings via coldbox:setting, and common anti-patterns to avoid in singletons.
Quick Start
Configure a WireBox binder to map a service implementation and inject that service into a handler using property injection.