Entries Tagged as 'CfEventManager'

Cf Event Manager 1.0

Posted By Andrea Campolonghi | Posted in CfEventManager | Posted on Oct

After more than 1 year of testing I have finally reached a stable version of a feature I use since long time.

A previous version released on riaforge 6 months ago has been completely rewritten and extended.

Who Em is for??

  • Developers interested in developing cfml using an events based programming paradigm in the every day coding practice  (not only inside an MVC like model glue or coldbox).
  • Anyone interested in making his own applications extensibles.
  • Developers looking for a base framework to build on.

Is Em an MVC framework ??

No, EM is about events.

Almost any application is based on events so EM can be the base of almost any cfml application or framework you want to build.

 

Please have a look and let me have your feedbacks. A demo site is included in the downlaod package or is visible on the site.

EventManager Vol 1

Posted By Andrea Campolonghi | Posted in railo , CfEventManager , coldfusion | Posted on Jul

1

I start today a series of post on the usage and documentation of my EventManager for coldfusion. You can find more docs and svn code here.

Initialize The EventManager

EventManager is done to work standalone or to be easily integrated with Coldspring. Both examples will be provided.

Standalone

<code class="coldfusion">
<!--- normally saved as singletone on application start --->
<cfset application.em = craeteObject('component','EventManager.EventManager').init() />
</code>

Cf Event Manager

Posted By Andrea Campolonghi | Posted in coldspring , railo , CfEventManager , coldfusion | Posted on Jun

10

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