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.
#1 by Raymond Camden - June 5, 2009 at 5:52 PM
#2 by Pablo Varando - June 5, 2009 at 5:58 PM
#3 by Andrea - June 6, 2009 at 4:48 AM
#4 by Raymond Camden - June 6, 2009 at 9:26 AM
#5 by John Allen - June 12, 2009 at 2:11 PM
#6 by Andrea Campolonghi - June 12, 2009 at 4:07 PM
#7 by Nick Tong - June 15, 2009 at 7:51 AM
#8 by Andrea Campolonghi - June 15, 2009 at 8:35 AM
#9 by Brian Meloche - June 29, 2009 at 12:28 AM
#10 by Andrea - June 29, 2009 at 2:24 AM