What problem does it solve?
Bitrix developers face fragmentation between new event-driven architecture and legacy hooks, making integration across modules error-prone and hard to maintain. This Skill provides a unified approach to publish and handle events across Bitrix's two event models, enabling consistent lifecycle management and cross-module communication.
Core Features & Use Cases
- Supports the modern Bitrix event system (Event, EventResult) for custom events.
- Supports legacy OnBefore/OnAfter hooks for compatibility and gradual migration.
- Provides guidance on creating, registering and consuming events across modules to ensure decoupled architectures and reliable integrations.
- Use Case: When integrating two custom modules, publish a PostCreated event and react to it with a notifier, with error-safe handling and proper registration.
Quick Start
Create and publish a custom PostCreatedEvent, then register a handler to respond to it.