Just a little news that the ColdBox Forums will be deprecated in favor of our mailing list. So please note that by next week the forums will be closed and kept as an archive and still searchable. However, our preference will be to continue with our mailing list.
...Blog
ColdBox Plugins - A wealth of hidden treasure
Today I was getting ready to send a file from my app to the browser for the user to download. I was all set to use cfcontent to do this, but knowing ColdBox I thought I would do a quick check to see if the framework had any nice convenience methods for me to use to make life easier and sure enough... sendFile() in the core Utilities plugin.
getPlugin("Utilities").sendFile(file="test.txt");
So, this post is just a quick word of advice. Don't reinvent the wheel. If you are doing something, anything common, check the docs and see if ColdBox can do it for you. You will be amazed at whats available in the core plugin set already for you to use.

Plug IT IN
Here are just a few I use commonly.
ORMService - generic ORM Service helper for Hibernate
QueryHelper - all sorts of goodies in here, sorting queries is one of my favorite. Or the querySim.
Validator - all sorts of standard validation methods here. checkEmail and checkIPAddress are my favorites.
FileUtils - This is a utilities library that are file related. Lots of fun methods here.
Utilities - A good mix of a variety of handy methods, like todays gem sendFile()
ColdBox Support-Mentoring Program Now Available!
I am very pleased to announce the new Ortus Solutions website and our new professional support and mentoring program. The Support Subscription Program is an incident assistance service that can provide you with sanity checks, code analysis, architectural reviews, professional support, custom development and much more. We have a state of the art electronic...
Unit Testing with Mock Objects via MockBox
Once you get an appreciation for the importance of unit testing and integration testing is when we reach a new level in our development careers. Testing is critical to mission critical applications, and even for our own little projects, where we test that our code should work as expected. There’s that word again, expected. Expectations in unit testing is like a nasty hamburger at a soccer match in El Salvador. They go hand in hand :)
ColdBox London, UK Training Next Week Still Open
Next week is Scotch on the Rocks and immediately following the conference we will be holding our 3 day ColdBox Training marathon. If you have not attended one of our seminars, well you should, they are intense,fun and a great way to learn. Doug Boude puts it best here in his blog:
ColdBox REST Enabled URLs
Thanks to our 3.0.0 milestones, the SES capabilities have been really fine tuned and added some great concepts in order to enable it for more RESTful applications. We have added things like:
- -alpha : Alpha only placeholders
- {X} : Digit quantifiers for all placeholders
- constraints : A separate structure where you can give any placeholder your own regular expression
- RESTful actions : A way to split actions according to the incoming HTTP method
Free ColdBox Training by Aaron Greenlee
Just a mention that on On Saturday May 8 2010, the Central Florida Web Developers User Group came together for a seven-hour presentation covering ColdFusion, ColdFusion builder and the ColdBox framework. This was a free event coordinated by Aaron Greenlee and unfortuna...
ColdBox UK Training in 2 weeks
Just a reminder that the ColdBox London, UK training is occurring this May 26, that is only 16 days away. So hurry up and get trained and even get a hefty discount by using this link: http://coldbox-uk.eventbrite.com/?discount=vivaUK
Please note that you can either purchase the 2 day package or the 3 day package.
...Using regular expressions on SES routes
With ColdBox 3.0.0 you can use any kind of regular expression with your SES routes which makes it extremely flexible. One way to accomplish this is by using the constraints arguments when calling the addRoute() method to add a routing entry. So if I wanted to add a placeholder that matches a regex then I would do this:
addPattern(pattern="/api/:format/", constraints={format="(xml|json)"}) As you can see from the code ab...
New ColdBox Training in the DC Metro Area
We have just opened the registration page for our new ColdBox 2 day training before the CFUnited Conference. The dates are from July 26-27, 2010 and you can click here to view the event page. I am super excited to be holding my first 2 day training in the DC metro area and hope to see you there to get some nice advanced training and yes, it will be 3.0.0 time! Wh...