Slides from my MAX presentation: Best Practices of the Modern ColdFusion Developer

Sorry for the delay in getting this up, but here are the slides and code bits from my MAX 2010 presentation. For those of you who attended, you know this is a -very- light code presentation, so for those of you not there, this presentation is probably pretty useless on it's own. Either way, you can at least enjoy my cool pictures.

Archived Comments

Comment 1 by PradeepVizz posted on 10/29/2010 at 10:28 PM

This was one presentation that i wanted to attend! finally got the slides, Thanks Ray!

Comment 2 by Marc Esher posted on 10/29/2010 at 10:52 PM

For all of you looking at the slides, when the recording becomes available on Adobe TV I *strongly* encourage you to watch it. It is easily one of the funniest presentations I've seen at a tech conference, and it is extremely informative. I appreciate a good "darnit, this is the kind of stuff you need to be doing, people" presentation.

Great job, Ray!

Comment 3 by Raymond Camden posted on 10/29/2010 at 10:58 PM

Thanks Marc - both for the kind words - and for reminding me that it will be posted.

Ok - everyone else - just pretend this blog entry isn't here. I'll repost once it's one Adobe TV. :)

Comment 4 by PradeepVizz posted on 10/30/2010 at 12:12 AM

@Ray,

This presentation even without the recording is gonna help my team mates! The content is too cool and hits the point clear. Got to mention about the picture on the slide, AWESOME!

Thank you so much.

Comment 5 by Raymond Camden posted on 10/30/2010 at 7:25 AM
Comment 6 by Eapen posted on 10/30/2010 at 10:04 AM

Nice presentation - It was good to find out about Hudson and JMeter. Sorry about your laptop.

Comment 7 by Raymond Camden posted on 10/30/2010 at 4:14 PM

Glad you liked it. Two things I want to point out in case it wasn't clear or mentioned in this recording (not sure what day they recorded).

Hudson: Marc (above in the thread) pointed out that there is an hour long recording on Hudson available on UGTV. I'd check that out.

JMeter: Since I couldn't run it - be sure to try the URL I linked to in the slides as it can walk you through the process of setting up a test.

Comment 8 by Clay Hess posted on 10/31/2010 at 1:38 AM

Loved your presentation, Ray. Informative and (as always) entertaining, but don't you think that Robocop should be riding a Bantha rather than a unicorn?

Comment 9 by Eapen posted on 11/3/2010 at 8:25 PM

I followed the instructions listed here (http://zacster.blogspot.com... to give JMeter a try and I am amazed at how simple it was to run such an effective test. Will definitely be using this for high traffic sites in the future.

Comment 10 by Raymond Camden posted on 11/3/2010 at 8:27 PM

I'm very happy to hear that. I _really_ wish I could shown it live. :)

Comment 11 by falconseye posted on 11/10/2010 at 9:00 PM

In our development environment, I realized that there are a lot of <cfobject>s on top of many templates. My question is when does CF decide to do the garbage collection? Since there are so many of the same objects being created hundreds of times, I believe that it causes peaks in the jvm memory usage and therefore crashes the server. Can this be the case for jvm memory problems?

Comment 12 by Raymond Camden posted on 11/11/2010 at 2:50 AM

@falconseye: I'll be honest and say this is not an issue I get very deep into. I can say that if you can cache those cfobject instances in the app scope you may get some performance benefits from not having to recreate them on every request.

Comment 13 by falconseye posted on 11/11/2010 at 9:34 PM

@Ray: yes, i want to clean up the code and create the objects in app scope. however, i need some kind of evidence to convince the others.

Comment 14 by Raymond Camden posted on 11/12/2010 at 1:04 AM

Well, if you make an object once versus N times, it will be faster. Period. Will it matter? Depends on your site. Also, CF9 made CFC creation a lot faster so it won't have as much impact as it used to. Still, things add up, and if there is no reason to keep recreating these CFCs, then make them once.