Entries for month: March 2009

Creating Dynamic Model Mappings

Tips & Tricks No Comments »

Tony Garcia has created a nice blog entry on how to create dynamic model mappings using ColdBox's Model Integration features.  I really enjoyed the read and approach Tony took.

http://www.objectivebias.com/blog/entry/dynamic-model-mappings-in-coldbox

CBOX-100 Training Course at CFObjective 2009

Conferences , News , Training No Comments »

I am glad to announce that we will be holding a pre-conference training at CFObjective 2009.  This pre-conference class is based on the CBOX-100 : Intro to ColdBox course.  Below you can find information about the course and how to register.

What is CBOX-100?
Intro to ColdBox is an intense 1-day training course that will get you started with ColdBox Application Development. This course focuses on the main aspects of ColdBox Development and it delivers a one-two punch to get you started.

Event Details: http://www.coldboxframework.com/index.cfm/events/cfobjective-2009-cbox100
Registration: https://www.bestmeetings.com/registration/cfobjective/cfobjective.cfm

Pre-conference classes are a separate cost from the main CFobjective event.

Date:

May 13th, 2009

Hours:

8:00am - 6:30pm

Cost:

$449

CBOX 101 Ontario Pictures Posted

Training No Comments »

I just posted some of the pictures of our last CBOX 101 Training Seminar in Ontario, California. We had a great attendance and a great group of developers. You can find all the pictures here: http://www.flickr.com/groups/coldbox

Extending a ColdBox App's Lock Timeouts

Tips & Tricks 3 Comments »
By default, any ColdBox app has a lock timeout of 30 seconds for their requests.  If longer running processes occur in which they do not give the lock away (for whatever reason it is) there could be a chance of the request to timeout and throw and error.  Therefore, you might be interested in maybe increasing it on high availability applications in order to allow longer running processes to finish.  In order to tweak this setting, you should open your Application's Application.cfc file.
* This only works on Application.cfc's that use inheritance. Non-inheritance Application.cfc will have to wait for ColdBox 3.0 or manually change this in the main coldbox.cfc
Once inside the file, locate the following: <!--- COLDBOX STATIC PROPERTY, DO NOT CHANGE UNLESS THIS IS NOT THE ROOT OF YOUR COLDBOX APP -->
<cfset coldbox_app_root_path="getDirectoryFromPath(getCurrentTemplatePath())" />

<!--- COLDBOX PROPERTIES -->
<cfset coldbox_config_file="" />
And add the following snippet: <!--- Set Lock Timeouts --->
<cfset setLockTimeout(60) />
That's it! You use the setTimeout() method and pass in an integer that denotes the number of seconds to wait for a lock. Now, most of the time, if you have processes taking longer than 30-45 seconds, that to me is a red-flag going up. You should seriously revise your code and processes of why you want processes running for so long.

ColdBox Training Registration Ends Soon

News , Training No Comments »
The ColdBox Training course CBOX-101 registration ends this Thursday at midnight.  So you still have 4 days left to book your seat for this 2-day intensive training course.

Please also note that we will be at CFUnited 2009 this year and will be offering our CBOX-100 course.  So please look at our current training offerings.