Coldbox 2.6.0.
April 21, 2008
I've been keeping my eye on the Coldbox framework for ColdFusion and have heard a lot of positive things about it. I've been a Fusebox user since version 4 came out; whilst I liked the concept, Fusebox 3 just wasn't mature enough.
Coldbox and Fusebox 5.5 have a few things in common, these include:
- Can use conventions to reduce your code
- Combine URL and Form parameters into a single structure
- Promote the MVC concept
- Plugin points
- Support for Layout files
I've just been reading the release notes for Coldbox 2.6.0 and think it has added some major features.
There are a whole bunch of other things in this release, (some of which go over my head!) but I recommend at least looking at what this framework has to offer. I still think that the no xml version of Fusebox is great and really good for RAD, but I can see that for some projects Coldbox does offer a lot.
The features in Coldbox 2.6.0 that caught my eye are:
Per application conventions
This means that you can use the in-built conventions, or override them to suit your specific needs. For example, you may want to specify your own directory structure.
Default event action
I really like this. It means that you can shorten your urls because Coldbox will use the default event action if none is specified. This is similar to the default fuseaction per circuit in Fusebox 3. Of course, it does have it's drawbacks, you would need to be careful with inbound links if you ever decide to change a default action.
onMissingAction method
Similar concept to the exceptions that Fusebox throws when an undefined fuseaction is called, but with much more control over how you handle it.
Messagebox plugin
You can now pass an array of messages that it will render for you. Saves you having to keep append a string.
JSON plugin
I'm not sure what the advantages are of this over the standard ColdFusion 8 functions.
Security Interceptor
This is competely new in Coldbox 2.6.0 beta and hasn't been firmed up yet. I like the fact that you can use cflogin or your own home brew security implementation (I have always found the fact that cflogin verses session scope issue a bit of a pain). The roles rules look really powerful.
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbWhatsNew2.60
- Posted in:
- ColdFusion
- Fusebox
- Coldbox
No comments
Leave a comment
If you found this post useful, interesting or just plain wrong, let me know - I like feedback :)
