Today is a good day to code

iAction ColdFusion MX Framework

Posted: December 31st, 1969 | Author: | Filed under: Uncategorized | No Comments »

iAction ColdFusion MX Framework

Picture of Irv Owens Web DeveloperNot that the world needs another framework for ColdFusion, but I really think that it does. There are plenty of very complicated frameworks around for ColdFusion. Many of them are very object oriented and are quite cool. They use listeners, beans, and other design patterns. There are other frameworks that aren't very object oriented. They use procedural procedures almost exclusively and also are very cool.

The reason I started building another one is that in my experience, the procedural frameworks too quickly decended into a mess of code and didn't offer some of the cool features that cfcomponents introduced. The other frameworks took too long to develop in and killed the RAD (Rapid Application Development) ability of ColdFusion. Neither of these were ok to me, so I started another one.

The iAction framework uses CFCs and uses a typical method of using cfinclude to bring in other templates. The includes are contained in the iAction.cfc file which governs the operation of the framework and therefore your application. It observes the Model-View-Controller pattern loosely. In fact it observes any patterns that it uses loosely. My focus was on writing a fast framework that could support whatever level of object-orientedness the project required. The result was a cross between mach-ii and Fusebox. This is a very early build and I will be writing more documentation and enhancing it if people are interested. The framework features a repository for unit test files, and tries to focus on good programming practice. It also uses a reset function for dumping cached objects. I will not go too far into depth into the framework, but with subsequent builds I will give more documentation here in the blog, and in a beefier readme. Just remember, this is version 0.14. There is a long way to go.

Oh, and to set up things like your root folder, and whether or not the framework should operate in development mode, or production mode. Please look in the objects folder under the controller folder and use the iSettings.cfc file.

iActionFramework Sample Application