Blog

ColdBox London-UK Training promotion extended

Luis Majano |  April 11, 2010
Hey everybody, Scotch on the Rocks is just around the corner and so is our ColdBox 3 Day Training Extravaganza!  In honor of such a great conference, we are extending our
Read More

Cool SES Custom Placeholder Routes on 3.0.0

Luis Majano |  April 02, 2010
This is a quick guide to showcase a cool new feature in ColdBox 3.0.0 that helps you create routes based upon your own regular expressions and needs.  Before (coldbox < 3.0.0) you created routes with placeholders and these placeholders could be alphanumerical or numerical values.  In ColdBox 3.0.0 they can be alphanumerical, alpha, numerical, and custom.  Custom is what we are after, which makes URL Mappings in ColdBox 3.0.0 extermely flexible.  So let me pinpoint the use ...
Read More

ColdBox Training in Minneapolis in 3 weeks

Luis Majano |  April 01, 2010
CF.Objective is around the corner (April 22nd) and so is our 1 day training workshop at CF. Objective on April 21st.  We still have some seats available and would love for you or your team to come hang out with us and create some awesome ColdBox goodness!  Even if you have already registered for the conference you can easily add the training by
contacting Best Meetings Inc. At
Read More

ColdBox Platform Utilities v1.8 For ColdFusion Builder Released

Luis Majano |  March 31, 2010
We have now released version 1.8 of the ColdBox Platform Utilities extension for ColdFusion Builder.  This version brings in some cool new stuff and some fixes for auto updates and ForgeBox connectivity.  We are already planning the next version with some more cool stuff coming your way.

Ve...
Read More

ColdBox Amazon S3 Support

Luis Majano |  March 29, 2010

We have a new project called Amazon-S3 Explorer which can explore your Amazon S3 account.  We also have an S3 plugin that can be used in any application. It interfaces with S3 via REST and it can handle pretty much any operation on Amazon.  Below you can see some screenshots of our S3 explorer.  You can get the source from our codedepot SVN, you can download the

Read More

Unit Testing with ColdBox, MXUnit, and CF9 ORM

Curt Gratz |  March 24, 2010

Self admittedly, I am new to Unit Testing. It is on my list of things to learn and implement into my development toolbox and workflow for 2010. So, officially, I have begun the process using the Base Test Case ColdBox has built in and the illustrious MXUnit of course.

All my testing was working great until I wanted to test something that was using CF9 ORM/Hibernate integration.

The first issue I had was that ColdBox creates a separate application for testings. That is, the test folder has its own application.cfc defined. Well, obviously by default, that application.cfc doesn't have ORM setup, which then of course caused me not to be able to test anything that relied on or used an ORM "persistent=true" cfc or did an EntityLoad or anything like that.

So, the workaround for this issue is pretty simple.

First, open up the application.cfc in the test folder, then setup a mapping to your base application your testings. Call it whatever you like, I called my mapping baseApp.

this.mappings["/baseApp"] = expandpath('../../');

You can change the pathing to match your given scenario.

Then you need to configure orm in the application.cfc.

this.ormenabled = "true"; this.datasource = "MyDSN"; this.ormsettings = {cfclocation=["/baseApp/model/ORM","/baseApp/modules"]};

And there you have it, ORM is now configured for your testing application and you can test away.

Read More