From to ColdBox

Tutorials Nov 23, 2021

It might seem like a daunting task to use a framework when you have spent many years without one. And when you see a demo project with some boiler plate code you might not even be convinced you need a framework.

In the initial phases it seems like adding extra complexity and some "magic" to a project is just going to make things harder to maintain. I found adding in the MAGIC part the hardest to come to terms with.

It is only once you realize the benefits of having a framework that you can adjust to the additional complexity that it adds.

Features like

  • module installation
  • shared layouts
  • routing and route restrictions
  • code debugging/time tracking
  • interception points
  • custom events
  • logging
  • dependency injection
  • an opinionated methodology and configuration

This last one might seem like a negative. But I assure you it is not. Many of the framework's methodologies were not decided on a whim, they were inspired by other frameworks, competing language's frameworks (eg. ruby, php), and year of experience using the framework on different types of projects.

Coming from a background of non-framework projects, most features of an applications I worked on were homegrown and it wasn't long before I started noticing many of the features I previously built, existed in ColdBox or one of the many open source modules/plugins for ColdBox.

Examples of this include

All these and more are available here

FORGEBOX: Community Package Repository For ColdFusion (CFML)
ForgeBox : Community Package Repository For ColdFusion (CFML)

With the vast library of plugins/modules available today and the progressive updates being added to ColdBox it is well worth the investment of time to learn and adopt the framework. Until you do, you may not know what awesome and advanced features/plugins/modules/security your missing out on.

If your ready to take the plunge, and you have an idea for a project, the next step on your journey is to get started with a pre-built template, there are a number available for ColdBox so I have broken down what the do here.

What Coldbox template should I use?
ColdBox has created a number of templates to help you get started on new projects, but which one do you choose? Let’s look at the options


Scott Steinbeck

Scott Steinbeck is a Software Developer with over 15+ years of experience. He partners with professionals to bring innovative solutions to difficult problems via web applications and mobile apps.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.