ColdBox 2.6.2 RC is available!
Posted by Jason Durham | Tags: ColdFusion , ColdBox , IoC Frameworks
I'm currently running the latest release from subversion without a hitch. ColdBox 2.6.2 includes expanded capabilities for autowiring model objects as well as plugins, handlers, interceptors, and IoC beans. Simply add autowire="true" to your IoC bean object <cfcomponent> and a <cfproperty name="myBeanName" type="ioc" scope="variables|instance" /> tag and you're ready to rock! No more verbose getters/setters for each of those beans! However, there is something that doesn't quite 'feel right' about how you call the objects. Currently, you can call one of those objects simply as myBeanName. It seems "more correct" to call those beans as if we were using an accessor (i.e. getMyBeanName()). Maybe I'll put that on my Christmas wish-list. :)
Also included with the new release is enhanced model integration. If you aren't using an IoC framework to handle your beans, you can use ColdBox's powerful caching mechanism in lieu. ColdBox provides two new methods for managing your model called getModel() and populateModel(). I haven't had much of a chance to play with them, as I'm using ColdSpring on my latest project, but Luis told me he may explore using ColdBox exclusively (rather than an another IoC framework). Hmm...
For a complete list of all of the newfangled features found in ColdBox 2.6.2, check out the release notes found here.
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment