Category Filtering: 'coldbox'

Legacy app, meet ColdBox

Category ColdBox, ColdFusion, Refactoring, Tutorials

The term "legacy application" strikes fear in the heart of many a developer, invoking images of spaghetti code, undocumented secret sauce, and evidence of multiple attempts to start some semblance of a paradigm that might have been in the vague direction of a coding standard or convention. Fortunately, there now exists a direct path to bring your legacy out of the cold and into the warm embrace of a modern framework.

ColdBox has seen the need for a migration path for these applications and implemented a feature called Implicit View Dispatch. This means that without having an event handler defined, you can create views, and the events and actions are implicitly created based on folder structure of /views. For example, I can create a view file in the location of views/about/contactUs.cfm, and the corresponding event is implicitly created, permitting the URL mysite.com/about/contactUs to display that view. No handlers, no layouts, no routes. Just views. Pretty slick.


Handling BOMs with JSMin

Category ColdBox, ColdFusion, JSMin, Tips

A fantastic tool for increasing web app efficiency is Luis Majano's JSMin compressor.  It takes your local CSS or JavaScript files, compresses them, and stores them as an aggregated file in your app's cache.  I did run into a bit of trouble with it recently when I ran it on an app's new stack and encountered a bit of a BOM problem.  Here's why the BOM can be a problem and a simple way to fix it.


MXUnit Decorators in cfscript

Category ColdBox, MXUnit, Tips

This is just a quick post showing how to use any of the MXUnit decorators, including the new ORM transaction decorator designed for ColdBox ORM Services, in pure cfscript.  It took me a second to get the syntax correct so I thought I would share and keep this for my own reference.


Building With Blocks - ColdBox Modules CBDW2

Category ColdBox, News, Presentations

Thanks to all who attended my Building With Blocks ColdBox Modules session today as part of ColdBox Developer Week 2013.  

Here is a link to the show recording. 

http://experts.adobeconnect.com/p2flh66pv54/

And here is a link to my slides

Building With Blocks


CBDW.2 - Theming ContentBox Websites

Category ColdBox, ContentBox, News, Presentations

I am excited to be taking part in my first ColdBox Developer Week (CBDW.2) as a speaker.  I have been prepping my Theming ContentBox Website presentation and have some exciting things to share (a new, never been seen before, ContentBox theme and module).  I have the third session on Monday, June 17th.  The session description is as follows...

"A detailed walkthrough of the process of theming your ContentBox websites. In-depth look at integrating and styling site navigation, plugging your site theme into the admin CKEditor for better WYSIWYG page editing."

You can register for free and there are even prizes per day and for the week (be sure to attend to win)!  Hope to see you all there.


CBDW 2.0

Category ColdBox, ContentBox, News, Presentations

Next week will be the 2nd ColdBox developer week.  Computer Know How owners Curt Gratz and Seth Engen will both be presenting.  

Curt will be presenting

1) Using Modules to Build Your Apps on June 19th

2) Harnessing the Power of ORM Services on June 21st

Seth will be presenting

1) Theming ContentBox Websites on June 17th

Be sure to register and attend the 20 hours of free content provided by some of the brightest minds around.  

Oh, did I mention prizes.  There are daily and weekly prizes, so be sure to attend to win.  Check them out at http://blog.coldbox.org/blog/coldbox-developer-week-2013-prizes

Hope to see you there.


Using ColdBox Flash RAM

Category ColdBox

Flash RAM is a handy tool in the ColdBox Framework that can easily be used to temporarily store the RC (request collection) data forward one request.  As I was using the Flash RAM feature recently, I ran into trouble while attempting to persist the form data back to the original form when a validation error had occurred.


PartyBox Hackathon at CFObjective 2013

Category cfObjective, ColdBox, ContentBox, News

Ortus Solutions and Computer Know How are co-sponsoring our first ever *BOX Party Hackathon at this year's CFObjective 2013.  We will be hacking and parting it up at the FireLake Grill in the conference hotel.  We will be holding a mini-Hackathon with some great prizes given out at the end including some throw back 80's prizes and some cool Nerf prizes.  Even if you aren't into ColdBox yet, drop by and hang out.  

WHEN: Friday May 17th, 2013 at 6:00 PM

WHERE: FireLake Grill House & Cocktail Bar inside the Radisson Blu Hotel.  Head to the back, you'll find us!!


1