Category Selected:

tutorials

Blog

Tip of the Week: Using Your customErrorTemplate Setting

Brad Wood |  August 09, 2012

 

ColdBox gives you several ways to deal with unhandled exceptions in your application such as the exceptionHandler event and the onException interception point to name a couple.  With either of those approaches, you can redirect the request to a different event.  If you don't redirect or abort the request though, ColdBox will eventually display the contents of your error template.  
 
By default the error template is /coldbox/system/includes/BugReport.cfm.  This file has the familiar "Oops! Exception Encountered" header.  While BugReport.cfm is chock-full of juicy error details (including the SQL of queries that errored), it isn't the kind of information you want to be revealing to the general public.  
 
This is where your customErrorTemplate setting from the ColdBox config file comes in.
Read More

Tip Of The Week: Using ColdFusion's EHCache with CacheBox

Brad Wood |  August 01, 2012

Trying to decide whether to use ColdFusion's EHCache implemention or CacheBox? You don't have to choose one or the other! CacheBox is a cache aggregator, which means it lets you use the same standard API to interact with any number of different cache providers-- including EHCache. 

Read More

Tip of the Week: Using Rewrites to Clean Up Your URLs

Brad Wood |  July 17, 2012

 

The typical ColdBox application always has "index.cfm" somewhere in each URL.  This is required so the web server knows to have your CFML application server process the request.  With the SES intereceptor you can eliminate the query string, but do you wonder how some websites get away with no file at all for super pretty URLs like tv.adobe.com/product/coldfusion
 
Read More

Tip of the Week: View Caching

Brad Wood |  July 10, 2012
Do you have slow views whose output rarely or never changes? You can get an easy boost in performance by caching those views so they are not re-rendered on every request.

The following code shows two ways to cache the output from a view for a given number of minutes.
Read More

Tip of the Week: Using Implicit Views

Brad Wood |  July 03, 2012

Everyone should be familiar with the setView method in the event object which is used for a handler's action to tell the framework which view file should be used to render the event:

 

event.setView(view="general/index");

 

What you may not realize is that calling setView() is optional.  If you don't explicitly set a view file, ColdBox will then look for the view according to the executing event's syntax.

Read More

Tip of the Week: Using singletonReload for Development

Brad Wood |  June 27, 2012

Many of you using models in your ColdBox app are familiar with how easy WireBox makes it to use the Singleton Pattern for components that are only created once in the life of your app.  

This can also be a bit of a pain when you are working on the code inside your singleton objects.  Any changes require you to re-create the singleton object which typically involves a reinit of the framework.  ColdBox has a handy setting for you to use on your development environment called singletonReload.  

Read More

ColdBox Validation Engine for v3.5

Luis Majano |  February 26, 2012

Just a quick announcement that we now have finally implemented a validation engine and aggregator in ColdBox for 3.5 release.  And in true professional open source style, fully documented: http://wiki.coldbox.org/wiki/Validation.cfm.  It has an embedded validation engine but it also allows you to use ANY validation framework within ANY ColdBox application as long as it satisfies a few interfaces.  Check out our documentation page but here is a little teaser:

Read More

ColdBox FileBrowser video

Luis Majano |  January 30, 2012

A nice short video of how to start with the ColdBox FileBrowser module:

 

 

 

...
Read More

ColdBox Connection Videos on Vimeo

Luis Majano |  July 25, 2011
You can now enjoy the ColdBox Connection ANYWHERE! We are uploading all videos to our vimeo channels for your enjoyment on any platform even iOS!  We now have over 39 different training videos on our vimeo channel, so get to it! ...
Read More

ColdBox Quick Docs Released

Curt Gratz |  July 07, 2011

The ColdBox Quick Docs are released for your use.  They allow you to quickly search any of the ColdBox Platform APIs.  

http://apidocs.coldbox.org/

We have also released the module used to run the quick docs to ForgeBox

http://www.coldbox.org/forgebox/view/Quick-Docs

 DESCRIPTION

 

Basic Requirements: 

  • Coldbox 3.1.0
  • Autowire Interceptor enabled.
  • SES Interceptor enabled.

 

 INSTALLATION INSTRUCTIONS

Grab the Module and place it in the Modules Directory.

 

 

Read More