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

Title: RE: Best Practices X Event Handler
Thread: Best Practices X Event Handler
Forum: Discussions
Conference: ColdBox
User: lmajano

Right on!!

Ronan, you handlers are also objects and therefore they
should have their specific identity and function. So you need to map them the in
the best logical way according to their functions. If you need more flexibility
you can even create directories (packages) and place them in logical buckets.
This is mostly used in large applications.

So think of them as entities and
how they would do tasks for your via the events. Once you do this, you can come
up with a very good event model for your application.