Luis Majano Forums Notification: Post to Best Practices X Event Handler

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

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=7CB3B46B-123F-6116-42DCE73F53617C59