Title: Best Practices X Event Handler
Thread: Best Practices X Event Handler
Forum: Discussions
Conference: ColdBox
User: ronanlucio
Hello,
What are the best practices in the Event Handlers?
1) Is it better keep
all the EH in the ehGeneral.cfc file?
2) Is it better to divide the EH by
subject?
For instance, I whant to create a system that will have some registers
(Departments, Users, Categories), so I´m thinking in create the event handlers
ehDepartmants, ehUsers, ehCategories, ehProjects and so on.
What do you think
about that?
Thank you,
Ronan