Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

I am finalizing the latest beta for 2.0 and it will be available this week. One new feature that will be available is the addition of pre/post event handlers for a requested event. What does this mean? Well, once an event is requested to the framework, let's say its "ehTools.dspTree". Then the framework will execute the dspTree method in the ehTools event handler. Now, you can declare two new methods in the ehTools event handler: 1) preHandler 2)postHandler Inside of those two new methods you will place any logic that will be executed before/after any requested event in that event handler cfc. This is a great way to implicitly run events before and after a requested event. You can even filter the type of logic you would like to execute inside of these methods by looking into the context object and seeing the event that was executed. This is a great addition to the framework and I expect your comments on this addition. You can find the ticket Read it and let me know your thoughts

Add Your Comment

Recent Entries

ColdBox 7.2.0 Released

ColdBox 7.2.0 Released

ColdBox, a widely used development platform for ColdFusion (CFML), has unveiled version 7.2. Packed with compelling new features, bug fixes, and enhancements, this release is designed to empower developers by boosting productivity, refining scheduled task capabilities, and enhancing the overall reliability and efficiency of application development. This article will delve into the key highlights of ColdBox 7.2 and elucidate how these advancements can positively impact developers in their daily coding endeavors.

Luis Majano
Luis Majano
November 20, 2023
Into the Box 2023 Series on CFCast

Into the Box 2023 Series on CFCast

Excitement is in the air as we unleash the highly anticipated ITB 2023 series exclusively for our valued CFCast subscribers – and the best part? It's FREE for CFCast members! Now is the perfect time if you haven't joined the CFCast community yet. Plus, we've got an incredible End-of-Year deal that's too good to miss

Maria Jose Herrera
Maria Jose Herrera
November 20, 2023
Ortus Deals are Finally Here!

Ortus Deals are Finally Here!

The much-anticipated Ortus End-of-the-Year Sale has arrived, and it's time to elevate your development experience! Whether you're a seasoned developer, a tech enthusiast, or someone on the lookout for top-notch projects, Ortus has something special in store for you. Brace yourself for incredible discounts across a wide array of products and services, including Ortus annual events, books, cutting-edge services, and more.

Maria Jose Herrera
Maria Jose Herrera
November 15, 2023