The last few months I’ve been spending some time trying to get my head around some of the different ColdFusion frameworks that are floating around these days. I’ve been playing with ModelGlue:Unity (which includes ColdSpring and Reactor) and have recently begun using the cfcUnit testing framework in a project I’m working on.
I have to say that, not having come from an “OO” background, the MG:U stuff is way over my head. I had a project for a client that I was contemplating using MG:U on and, after monkeying with it for a couple weeks, I decided that it was going to take longer to get up to speed on the framework than I could afford to spend on the project. I’ve since decided that I’m going to try to use only Reactor in this version of the site so that maybe I can get my head around that part and come back to Unity later.
There has been a lot of buzz over the last few months about unit testing CF applications with cfcUnit and we’ve jumped onto that train in another project I’m involved in. I’m still trying to make myself remember write tests before actually writing the code. The other thing I’m trying to get my head around is how to write tests to test some of the more intricate CFCs where the basic tests don’t do anything useful. I’m hopeful that we can get someone to do a session on cfcUnit for the