Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

For those of you interested in downloading the daily build, I have let
the cat out of the bag today, in which we will have version 2.5.2 in the next coming weeks.

Why the update if we are on schedule for 2.6? Well, these features where left out of 2.5 until I was sure they where ok and now they are.

So what does the update include:

1. Two new interception points: afterHandlerCreation, afterPluginCreation

2. Fixes for using the coldboxproxy with event gateways (Thanks Tom!)

3. API documentation

4. Lightwire updated to include "containsBean" method

5. Due to the popularity of the flash RC persitance via setNextEvent and setNextRoute, the method has been now exposed to the controller and all plugins/handlers/interceptors. You can now persist variables from the collection into the flash RC Ram via the method:

"persistVariables(comma-delimmited list of keys)".

You can now use it to persist on demand. (Thanks Mark!!)

6. One new interceptor: autowire.cfc

This amazing interceptor will autowire your handlers and plugins with beans from the ioc plugin (whether coldspring or lightwire). So you can easily autowire your handlers and plugins with service objects or whatever you want. Man, am I gonna have to configure mooore stuff. Well, not thanks to conventions and metadata. All you do is:

- Declare the 'autowire=true' in your cfcomponent declaration.

- Then just create the getter/setters for your services (*They have to
be the same name as the bean names in your configurations)

And that is IT!!! No configuration, just add the "autowire" metadata parameter
to your handlers and plugins, create the getters and setters and you
are ready to roll.

The interceptor declaration would be:
true

The debugmode property just spits out to the log files any errors or
information stuff.

So there you go, one more surprise coming probably in about a week and
2.5.2 is a go!!

Enjoy the autowire interceptor!!

Add Your Comment

(1)

Jan 16, 2008 21:27:55 UTC

by Tony Garcia

Awesome stuff Luis. You put out cool new features so often, I can't keep up! Looking forward to playing with this stuff. Thanks!

Recent Entries

BoxLang 1.0.0 Beta 7 Launched

BoxLang 1.0.0 Beta 7 Launched

We are pleased to announce the release of BoxLang 1.0.0-Beta 7! This latest beta version includes improvements and essential bug fixes, but more importantly it certifies the execution of ColdBox HMVC and TestBox.

What is BoxLang?

BoxLang is a modern dynamic JVM language that can be deployed on multiple runtimes: operating system (Windows/Mac/*nix/Embedded), web server, lambda, iOS, android, web assembly, and more. BoxLang combines many features from different progr

Luis Majano
Luis Majano
July 26, 2024
New BoxLang Feature: Java Method References and Higher-Order Functions

New BoxLang Feature: Java Method References and Higher-Order Functions

We’ve added more goodies to our BoxLang Java interop: method references and higher-order functions. CFML has never let you do these things, making Java Interop feel like a second-class citizen. But with BoxLang, we’re elevating Java integration to a new level.

Maria Jose Herrera
Maria Jose Herrera
July 26, 2024
Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Are you a CFML developer looking to take your skills to the next level? Look no further than the ColdBox from Zero to Hero Virtual Live Training! This intensive two-day course will equip you with the knowledge and expertise to build robust and scalable applications using ColdBox 7, the latest version of the most popular CFML MVC framework.

What You'll Learn:

  • Master the Fun...

Cristobal Escobar
Cristobal Escobar
July 24, 2024