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
Entries for month: March 2009Tony 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
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
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
* 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.cfcOnce 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.
