Luis Majano

October 15, 2008

Spread the word

Share your thoughts

Well, I am finally opening the lid on a project I have been developing since August of last year: ColdBox a ColdFusion Framework. I am just releasing the specs for this framework for now as I complete all the documentation and sample applications. If you want to see how it works, well you are already using it. This site, its blog (Raymond Camden's BlogCFC by the way), and its forums (Raymond Camden's Galleon Forums) are all running via ColdBox.  A subset of ColdBox is powering the Sandals Online Booking Engine and Online Event Engine , which handle more than 500,000 requests per day per server.  So tune in for the next few weeks as I release more information.

ColdBox is a proven event-driven CFC based ColdFusion Framework, specifically designed for high availability web applications. The purpose behind ColdBox was to create a fast & stable development methodology that could be shared among several developers. It makes use of an MVC (Model View Controller) design pattern implemented via CFC's. I introduce the concept of event handler CFC's that hold all the code necessary to prepare views, call model CFC's, use ColdBox plugins, and redirect requests through the ColdBox Controller.   You can consider the event handlers to be all that code that you had on top of your templates, but now moved to an Object Oriented pattern.  You can look at the MVC Design Pattern diagram below:

ColdBox uses both implicit and explicit invocation methods.  You have one single xml file: config.xml, from where you can configure your entire application and plugins.  You can use ColdSpring, Reactor, Remoting, CRUD, Bean/DAO Factories or any other technology and/or pattern that you can think off with ColdBox. However, ColdBox does make you adhere to an application directory structure and some naming conventions.  This is done with the purpose of creating a standard for all developers in the same team to share and for ColdBox to find what it needs. You are only limited by your ingenuity.ColdBox also uses a request collection where all variables can be shared among an execution request. The Request Collection is a central repository of information that is refreshed on every user request.  This is how data gets moved around from event handlers to views and layouts.Another important feature is the use of a plugin library of CFC's that extend the normal usage of ColdBox to application specific tasks but without hindering system performance.  These plugins are reusable components that your applications can use for application-specific tasks and can be loaded on demand via a Plugin Factory. Thus, your plugins are not utilized or loaded into a scope, they are just invoked. Some samples are: i18n, resource bundles, refresh a webservice stub, Bug Reports, java file utilities, etc.  This is a major difference between ColdBox and any other framework, in that it gives you a set of reusable on-demand components for tedious or repeatable application-specific tasks.Below you can see an overview diagram of how ColdBox works, you do not need to install special software on your web server or radically modify your coldfusion installation. You can explore this site to find more information about ColdBox. If you need to contact me please use the Contact button in the navigation bar.

ColdBox Overview:


ColdBox Capabilities & Features

  • MVC Design pattern
  • PROVEN & TESTED for high availability and mission critical applications
  • Multi-Layout & View concept (Can be programmed at runtime if needed)
  • One Centralized Variable Collection for data
  • One config.xml for implicit invocation and setup
  • Event Handler CFC's
  • Event Chaining
  • Support for Child Applications
    • Supports as many as you want child applications
    • No extra configurations, just point to the parent's system folder
    • ColdBox auto-senses if it is in a Parent or Child Application
    • ColdBox auto calculates the distance to its parent if parent code is needed
    • Bug Reports
  • Event Handler Execution Profiling
  • UDF Library usage (Optional, for legacy)
  • Small footprint controller
  • Optimized for high traffic sites
  • Incorporated ColdBox Dashboard (Optional)
    • Online System Update
    • Online API
    • Main Application Config.xml Editor
    • Online Backups
  • Framework extensions through Plugins
    • Logger (Bug Tracking, Tracers)
    • Renderer (Render Logs, Views, Layouts,etc)
    • FileUtilities (Java Utilities, File Utilities)
    • Webservices (instantiation, refresh, etc)
    • ClientStorage (Permanent variable storage for clustered environment uses WDDX)
    • Messagebox (Universal Error/Warning/Information message box)
    • Settings (ColdBox metadata and dashboard utility)
    • Zip (A great zip utility plugin by Arthur Kordowski)
    • cfcViewer (A cfc metadata retriever by Oscar Arevalo )


Hope this can give you a better insight into what ColdBox is and what it can do.  I will start posting more information as I progress. 



Add Your Comment


Jun 16, 2006 12:02:46 UTC

by Brian Rinaldi

Looks impressive. Do you have a place to download the code yet?

Jun 16, 2006 12:58:51 UTC

by Luis Majano

Not yet Brian, I want to finish all the documentation and sample applications so I can release the whole bundle. I still have not updated the entire dashboard. I am considering releasing it without the dashboard for now.

Jun 16, 2006 22:34:26 UTC

by Dave Ross

I think it would help if you described the differences between the two existing front-controller web frameworks out there (Mach-II & Model-Glue) and this. Without looking at it (because we can't), it's tough to see any advantages.

Jun 17, 2006 09:22:56 UTC

by Brian Rinaldi

Dave - I agree that if Luis did a comparison it may be useful to understand the differences, however, there seems to be some implication in your comment that somehow if he doesn't meet some unwritten standard it isn't worth releasing. Given the relatively small size of open source in CF at the moment, I hope that wasn't what you intended to mean. - Brian

Jun 17, 2006 10:19:49 UTC

by Dave Ross

I'm not sure where you read that in my comment. There are plenty of frameworks out there that i would never use because they don't meet my standards - it's not my job to go around and tell them "go home".

Jun 17, 2006 10:22:15 UTC

by Dave Ross

This comment system is awful - I've tried 20 times to get my comment to go trhough - I had a lot more written but it would only take a paragraph as small as above. Error messages would help.

Jun 18, 2006 10:37:00 UTC

by Luis Majano

Dave, I agree with releasing some comparisons, which I will start to create. However, I am more concerned with finishing up the documentation and more sample applications than comparisons. I don't want to compete with anybody, I just want to add my grain of salt to the community. I believe Mach II and Model -Glue are incredible frameworks that can accelerate and innovate developer teams. I am a big fan of Model Glue!! Anyways, I will try to squeeze in a comparison sheet, thanks Dave. Brian, this is the framework I told you about last year. I just had to redo names and references.

Jun 18, 2006 19:24:55 UTC

by Scott Barnes

What problems is it solving compared to other frameworks? Is probably more the interest. I'm all for multiple flavours of how to do things, but i often sometimes question the reasoning behind some frameworks? ie do they exist because of a personalized touch over a similiar concept or is there a specific problem being solved by its existance?

May 08, 2008 21:45:21 UTC

by sdge

Recent Entries

Ortus Solutions Soars Back to CFCamp Munich as Platinum Sponsor and Keynote Presenter!

Ortus Solutions Soars Back to CFCamp Munich as Platinum Sponsor and Keynote Presenter!

We're thrilled to announce that Ortus Solutions is returning to CFCamp Munich for another year! We're incredibly proud to be a continuing sponsor of this fantastic event and can't wait to connect with the ColdFusion community once again.

Taking Center Stage with the Day 1 Keynote

Get ready for some deep dives into the world of BoxLang! Ortus Solutions will be kicking off CFCamp with a dynamic keynote address on day 1. This is your chance to gain valua...

Cristobal Escobar
Cristobal Escobar
May 28, 2024
Into the Box 2025 - Blind Tickets are Out!

Into the Box 2025 - Blind Tickets are Out!

Ortus Solutions is thrilled to announce the release of blind tickets for Into the Box 2025, the premier event for web developers. This year's conference promises to be a game-changer, especially with the unveiling of our groundbreaking new product, BoxLang. **Our team is working hard to get all modern CFML developers amazing tools and software features to improve their productivity. **

Maria Jose Herrera
Maria Jose Herrera
May 27, 2024
Into the Box - Keynote Recap Day 1

Into the Box - Keynote Recap Day 1

Day 1 of Into the Box kicked off with an electrifying keynote session that set the tone for an incredible conference. The excitement was palpable as developers, tech enthusiasts, and industry leaders gathered to explore the latest innovations and trends in web development.

Maria Jose Herrera
Maria Jose Herrera
May 24, 2024