Cf Event Manager

Posted By Andrea Campolonghi | Posted in coldspring , railo , CfEventManager , coldfusion | Posted on Jun 05 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.

Download and Svn

Docs ( not completed yet )

Project Page on this Blog

10 responses to “Cf Event Manager”

When will it be up on RIAForge? :)
Very cool... congrats on the release! Looks really promising... keep up the good work!
@Ray project is already on riaforge like eventManager: http://eventmanager.riaforge.org/ I just added the cf later on.... @Pablo Thanks for your congrats...I hope to finish docs soon so I can go on with new features.
Ah, ok, cool. :)
Gona take this for a spin this weekend. Looks sharp.
John, let me know. I am trying to finsh docs. I will go on this weekend.
Please ignore my ignorance on this but how is this different to AOP?
Nick, the 2 things are quite different also if at first approach can be confusing. In AOP an object is wrapped by the AOP framewrok that can give you the ability to intercept a method and to act without you need to change you original object implementation. But at the and you always call your method directly. An event approach make your obejct being called when something happen in any place of your application. So you do not call directly the subscribed method but the event manager call it for you when the event itself is fired. Does this make sense to you?
I tried to grab the code from SVN, using TortoiseSVN, and no dice. I used: code.assembla.com/cfEventManager/subversion/nodes as the URL was given. The actual URL to grab from SVN is: subversion.assembla.com/svn/cfEventManager I had to leave off the rest. Your blog thought I was a s-p-a-m-m-e-r.
@Brian Thanks for advise and sorry for the blog issue...I had to restrict check on posts cause I got thousand of spam last weeks.

Leave a Reply

Leave this field empty: