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

BoxLang 1.0.0 Beta 27 Launched

BoxLang 1.0.0 Beta 27 Launched

We are excited to bring you Beta 27 with enhanced XML handling, new CLI app support, improved error handling, and expanded interoperability with Java and CFML runtimes. We've also added new HTTP event hooks, improved caching strategies, and a streamlined class resolution process to make your applications more performant, even in debug modes.

Luis Majano
Luis Majano
January 31, 2025
Into the Box 2025 | Plan Your Trip With Us!

Into the Box 2025 | Plan Your Trip With Us!

Are you ready to join us for Into the Box 2025 from April 30th to May 2nd in Washington, D.C.? Let’s make your trip planning as smooth as possible. Here you’ll find Airfare discounts, Hotel Deals and fun things to do to the the best out of your trip to D.C.

Maria Jose Herrera
Maria Jose Herrera
January 30, 2025