Blog

Hey, where'd my debugger go?

Curt Gratz |  February 09, 2015

You may be wondering where all that amazing debugging information went in your ColdBox 4.0 application.  Have no fear.  You can still have your cake and eat it too.  We modularized it (sensing a theme in ColdBox 4.0 yet?) So, how do you get all that wonderful debugging info?

Easy! Using CommandBox, run the following command.

		
					
			
					
						
Read More

ColdBox 4.0 CFML Compatibility

Nathaniel Francis |  February 06, 2015

The Obvious Question

For those who haven't yet dived into ColdBox 4.0, the obvious question is this: "Will ColdBox 4.0 work with my flavor of CFML?"

What The Flavor?

You may not have thought about CFML this way before. CFML is the language. The servers that interpret that language are the flavors.

 ColdFusion (Adobe) is a flavor of CFML, also referred to as ...

Read More

wait conference

Jorge Reyes |  February 05, 2015

We are excited to be part of the 

Read More

ColdBox 4.0 and Async Loggers

Brad Wood |  February 05, 2015

The Asynchronous loggers in LogBox have been removed in preference to the new async property that can be used in any logger. The affected loggers are:

 

  • AsyncDBAppender -> DBAppender
  • AsyncFileAppender -> FileAppender
  • AsyncRollingFileAppender -> RollingFileAppender
Read More

To Plural or not to Plural: The Models Location Changes

Scott Coldwell |  February 04, 2015

Have you ever looked at the folder structure of ColdBox and noticed that, grammatically speaking, model was the odd man out? No longer! With ColdBox 4.0, the model folder has been renamed to models for consistency.

To upgrade your application, there are two choices to make it compatible with this change:

  1. Rename your model folder to models
  2. Use Custom Conventions in your
    Read More

CommandBox v1.0.0 Released!

Luis Majano |  February 04, 2015

After almost a year in development, we are so excited to finally announce the release of CommandBox 1.0.0 Final.  This has been definitely one of the most challenging and fun projects we have overtaken here at Ortus.  We had a vision of how we could accelerate not only development, tools and ultimately the ColdFusion (CFML) landscape by building a tool that could put us up to par with many other technologies.  I am glad to say we have now a great foundation to move forward.  CommandBox brings CFML to any Operating System and even embedded systems like the Raspberry and Banana Pi.  It also gives ColdFusion (CFML) developers a much better workflow to work with their projects and a sense of community we lovingly call ForgeBox.  

With anything we do here at Ortus, it is fully documented using our new book formats.  So head on over to commandbox.ortusbooks.com to download or read the entire CommandBox documentation.  In the next coming weeks we will begin our CommandBox 5 week roadshow that will include weekly blogging tutorials and video presentations, so stay tuned as each week progresses.  So without further ado, I present to you project Gideon: CommandBox CLI!

Read More

Securing RESTFul endpoints with ColdBox 4

Luis Majano |  February 03, 2015

ColdBox has sported RESTFul capabilities since the 3.0.0 days (that's since 2011).  As each release matures, our RESTFul suite of tools mature as well.  In our latest release we introduced a great way to intercept when RESTFul endpoints are called with invalid HTTP methods.  Every ColdBox handler has the this.allowedMethods structure which can tell the framework what actions can be executed with what HTTP methods.

this.allowedMethods = {
  index = "GET",
  save = "PUT,POST",
  remove = "DELETE"
}
Read More

ColdBox 4.0 Module Enhancements

Curt Gratz |  February 02, 2015

One of the biggest things we changed about ColdBox 4.0 is making tons of the core completely modular.  To support this change, we needed to enhance our modules architecture which brought some cool new features to you.  

Module Inception

Every time I talk about ColdBox modules with people, I get asked if modules can contain modules, which up to now wasn't an option. But the first Module Enhancement I'd like to bring to your attention is just that.  We call it Module Inception.  This will allow for even greater ways for you to build and architect your applications.  Modules can be nested to the Nth degree.  Creating a ton of options and flexibility for you the developer in how you organize your code.

Read More

ColdBox 4.0 Error Handling

Brad Wood |  January 29, 2015

ColdBox has always provided nice, automatic error handling for your code.  Errors in your application are caught for you, and you can respond to them via convention-based methods, event handlers, or even interception points as you see fit.  (Read more on ColdBox error handling here)

If you do nothing, ColdBox will render a nicely formatted page with all the original exception information plus extra details about the ColdBox request which can be handy for debugging.  Due to our focus on security-by-default in ColdBox 4, we found that a large  number of people never change the default error template and their production servers give out way too much information!  Even though having a 'detailed' template by default was convenient, it wasn't secure.  

Read More

ColdBox Validation is Now a Module

Scott Coldwell |  January 28, 2015

The new modular approach of ColdBox 4.0 means much of its built-in functionality has been moved to separate, installable modules. One of the many new modules introduced with ColdBox 4.0 is the Validation Module. To install, simply fire up CommandBox.

Read More