Blog

Tip of the Week: Decorating Your Controller

Brad Wood |  January 11, 2013

 

If you've ever wanted to modify any behavior of the core ColdBox controller, you can now do so as of version 3.5.3 with the Controller Decorator feature.  This is accomplished much like the Request Context Decorator.
 
First, add a configuration setting called "ControllerDecorator" in the coldbox struct of your config file.  
 
/config/ColdBox.cfc

ColdBox LITE at the San Francisco CFUG

Luis Majano |  January 08, 2013

We are excited to announce that we will be presenting about ColdBox LITE at the San Francisco User Group on January 17th, 2013 @ 7pm.  So if you are close to the San Francisco area, please stop by and join us for some great food, drinks and geek talk!

For those of you who do not know what ColdBox LITE is, here is a little synopsis:

ColdBox LITE (CBL) is an MVC framework with a subset of features o...

Read More

Tip of the Week: Defaulting Values in the Request Collection

Brad Wood |  December 29, 2012
The request collection is a struct of values which are aggregated from the FORM and URL scopes as well as remote parameters to proxy requests.  The data in your request collection is available via methods in the event object or by referencing the "rc" struct directly.
 
event.getValue('foo')
or
rc.foo
 
...
Read More

Tip of the Week: Using Interceptors

Brad Wood |  December 20, 2012

 

One of the most powerful parts of the ColdBox framework are interceptors.  Interception points are events that happen over the life cycle of your application or a user request which are broadcast by the framework.  Examples would be preProcess (when a request first comes in), onException (when an error happens), or preViewRender (before a view is rendered).  If you any code you want to execute at those points, or if you want to override/modify the default...
Read More

ColdBox Connection On ColdBox ORM And ContentBox Contest Winners Announced

Brad Wood |  December 17, 2012

Everyone, we have an exciting ColdBox Connection scheduled for tomorrow, the 18th.  First, we'll be announcing the winners of our ContentBox Christmas Contest.  We're super excited about the submissions we received.  They're all out on ForgeBox already waiting to be installed and played with. 

...

Read More

Ortus Products Available As Railo Extensions

Luis Majano |  December 08, 2012

We are proud to announce the availability of all our major products as Railo Extensions today.  Railo is an incredible open source ColdFusion engine that supports all of our products with 1 click installs.  The extensions that we have made available starting today are:

Read More

Railo Extensions Released!

Luis Majano |  December 08, 2012

We are proud to announce now the availability of ContentBox as a Railo extension.  So any Railo powered server can now enjoy ContentBox with a few clicks.

Step 1: Log in to the web administrator of your Railo server

Step 2: Click on the Applications Menu item

Read More

Reminder to Submit your ContentBox Christmas Contest Entries in the Next 10 Days

Brad Wood |  December 06, 2012
Just a quick reminder, there are only 10 days left before entries have to be submitted for the ContentBox Christmas Contest.   We're giving away a Kindle Fire and $100 worth of gift cards to the top two winners.  All you have to do is write a cool theme or module for the ContentBox Modular CMS, and submit it to ForgeBox.  Don't forget t...
Read More

Tip of the Week: Implicit View Dispatch

Brad Wood |  December 05, 2012

 

In the past we've talked about implicit views in ColdBox which mean that if the action in your event handler doesn't call setView() explicitly, ColdBox will use conventions to try and find the view to render.  Well, ColdBox also supports something called Implicit View Dispatch which goes one step further and allows you to dispatch a view to the user without running any event at all.
Read More

Tip of the Week: ColdBox Routes

Brad Wood |  November 28, 2012

 

Hopefully you are already familiar with the format of a default ColdBox URL when using the SES interceptor.  
 
mysite.com/index.cfm/myHandlerName/myActionName
 
Of course, a simple rewrite rule can simplify that even further to:
 
mysite.com/myHandlerName/myActionName
 <...
Read More