June
5th,
2009
I have now released a first version of a tool that I am implementing and using since a while.
CfEventManager is exactly what the word say. An EventManager tool for cfml programming.
Some of the features:
- Very light with a simple API to use/implement.
- Flexible to allow registering of events / listeners from cfml syntax, xml file and programmatically on runtime.
- Ability to cache the listeners objects.
- Use the built in event object or create your own in few easy steps.
- Ability ti stop event propagation.
- Order the listeners with a customized priority order.
- Autowire events object via coldspring by using the Brian Koteks beanInjector class.
On next releases to 1.0:
- Dispatching of async events.
- addEventListener based on regex match.