An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

Entries for month: June 2006

Duck Typing Preso / Code Available

June 30, 2006 ·

You can now download my new duck typing presentation that I gave this morning at CFUNITED, along with the handful of sample files, from the "Software" pod on my blog.

Tags: coldfusion

CFUNITED Day Two Roundup

June 29, 2006 ·

I have to say that today went much more smoothly in terms of my session plan than yesterday. I started the day with Joe Rinehart's "MVC for you and me" session in which Joe explained MVC and several other patterns (MVC is a composite of Strategy, Observer and Composite) and then walked us through his "Pig-Latin" Model-Glue example and his, now famous, "Blog-in-nine-minutes" demo. He covered a lot of ground with a lot of clarity and no fluff. Even as a seasoned MVC application developer, I felt I got something out of this - confirmation of my understanding of MVC and more insight into the impact it actually has on my style of development. I particularly liked his comment that if Elvis was a Design Pattern, he'd be MVC because it's The King! I took a break to work on my duck typing presentation (which has proved to be the bane of my life, to be honest - Hal you owe me a large beer for this one, buddy!), coming back down for lunch and then a solid afternoon of sessions. First up after lunch, Simon standing in for Hal (several of us got to share the pain of Hal's project deadline) doing "Practical Design Patterns". Simon chose to use a module from his one day domain modeling course, going through about ten design patterns and a handful of anti-patterns (common mistakes). It was fairly comprehensive but it was a bit dry and a bit overwhelming - I would have preferred to see fewer patterns explained in more depth, with some code examples. Next was Dave Ross on "Inversion of Control and ColdFusion: Using ColdSpring". If anyone ever tells you that CFUNITED sessions don't cater for advanced developers, point them at this talk and prove them wrong! Dave covered a phenomenal amount of material, starting with an explanation of what ColdSpring is and what problem it is intended to solve (rigid models and coupling) and then moving into the techniques it applies (injection) accompanied by some examples. Then he talked about typical usage scenarios for ColdSpring and how it fits into a tiered application architecture. Finally, he covered some of the additional features of the framework: autowiring (how ColdSpring can figure out dependencies just by looking at method names), factories (ColdSpring can serve up beans from other factory objects as if they were just regular ColdSpring beans) and AOP. He said this could be a full day course in an of itself but somehow managed to condense all of the key concepts and terminology and a full demo into the last 10-15 minutes of his talk. I was exhausted at the end of it! Amazing presentation! Then it was my turn, with "Objects & Persistence". Since Joe had already shown Model-Glue: Unity, many people had a fair idea of what Reactor can do which made my job both easier and harder. Easier because some of the concepts were already at least partially familiar. Harder because, given the basic exposure, the questions from the audience were much more detailed than when I have given this talk in the past! At that point, it was back to writing the duck typing presentation. I swear I've written over a 100 slides for this talk by now! I took a break at 8pm, hoping to find food at the "ColdFusion Celebration" event but it was all gone so I ate alone in the restaurant. This proved to be a good choice with an incredible walnut-crusted seabass with wild herb risotto! A brief mingle and then back to my presentation. By about 11:30pm, I was finally happy with the 40 slides remaining and decided to treat myself to a few beers. Not surprisingly, the bar was still in full swing with many heated discussions in progress and a lot of happy CFers. Doug Hughes had popped in to hang out with folks - great to see him! - although he couldn't attend the conference itself. I spent a fair bit of time chatting to Dion and Adam from Cincinnati - enjoyed the company, thanx guys! Folks began to retreat to the patio with more beer once the bar closed so I decided to come back and write some code examples for my preso and then write up the day. It's 3am. I won't make the first session. I'm on at 9:45am.

Tags: coldfusion

cfcUnit to get ant builder

June 29, 2006 ·

Just about the only reason I currently use cfUnit instead of cfcUnit is that the former has ant integration so that I can tell Eclipse to automatically run my test suite every time I modify code in a project. I am therefore very excited to learn that cfcUnit is finally getting at ant task! Thanks in advance go to John Paul Ashenfelter for stepping up to the plate and creating this for Paul Kenney.

Tags: coldfusion

New ColdFusion Blog

June 29, 2006 ·

Ashwin Mathew of the Adobe ColdFusion product team now has a blog, Stake Five. Just a couple of posts up there so far, including the first in a series on caching, but this is definitely going on my subscriptions list. Ashwin and I chat about ColdFusion stuff quite a bit so I'm really glad he's decided to start blogging!

Tags: coldfusion · blogging · adobe

CFUNITED Day One Roundup

June 28, 2006 ·

Lots of people have blogged Ben Forta's keynote so I won't reiterate that. I'm really pleased to see Tim Buntel is back on board - welcome back Tim! I loved Jason Delmore's Scorpio sneak peak - seeing ColdFusion generate a Breeze presentation made me drool (I can't tell you how much I loathe PowerPoint!). Next up was my talk on factories - essentially a "Why ColdSpring?" presentation - which seemed to go pretty well (although it ran shorter than usual, not sure why... at least there were plenty of questions from the audience). Shlomy Gantz's talk on "pest control" was my choice for the pre-lunch slot although I missed the first few minutes. Lots of good information here: be systematic about debugging, plan and document your testing and troubleshooting processes, use version control, use a bug tracker (he showed Ray's LightHouse Pro as one alternative). Shlomy also covered a wide variety of language techniques for debugging, including <cftimer> (which I use a lot) and <cftrace> (which I don't use - but probably will after this talk!). Shlomy's a great speaker and always has something worthwhile to say! You can download his code and presentation (from his blog). Then my day kind of fell apart. My plan was, after lunch, speaker buddy for Joe Rinehart (Ten Things You Need To Know) then Jeff Peters (Supercharging Fusebox Project Management) and John Paul Ashenfelter (Agile ColdFusion). The reality was that lunch turned into a long series of interesting discussions with a steady stream of ColdFusion developers that left me catching just the last ten minutes of John Paul's talk! I bumped into Jeff Peters and had dinner with him and two other Fuseboxers (at the Silver Diner two blocks from the conference, which does awesome crab cakes!). Lots of Fusebox-related discussions over dinner, as you can imagine. In fact, quite a few of my discussions today have been around Fusebox and several people took advantage of my iPod Shuffle to obtain a copy of the public Release Candidate of Fusebox 5. I went to the Simon Horwith / Hal Helms celebrity death match, coming in just before the end of the first hour and staying for the second hour (seriously!). You had to be there... My feeling is that Hal won by two falls although there was clearly no submission from Simon. Eventually I got to the bar, where discussions continued (including one with Simon about the death match) and I extricated myself after midnight (the final ColdFusion discussion of the day continued right up to the elevator!). Overall, it was a very tiring day and I was a bit annoyed I didn't actually get to most of the sessions I wanted to see. However, it was great to feel the "buzz" in the ColdFusion community: excitement about Flex, excitement about Adobe's commitment to ColdFusion and, something that warmed my heart, excitement about Fusebox 5. I've done my mandatory "catch up" on work email now and I'm looking forward to my five hours of sleep before I do it all again tomorrow!

Tags: coldfusion

Mystic (CFMX702) and Flex 2 Available Now!

June 28, 2006 ·

Ben Forta just announced in his keynote that both Flex 2 and Mystic (ColdFusion MX 7.0.2) are both available for download from the Adobe website:

Tags: flex · coldfusion

Fusebox 5 RC1 Publicly Available!

June 27, 2006 ·

You can now download Fusebox 5 RC1 from the Fusebox website, under downloads. If you find any issues, please open tickets in the Fusebox 5 bug tracker. "What's New?" documentation can also be found on the official Fusebox site now.

Tags: fusebox · coldfusion

CFUNITED - Checked In

June 27, 2006 ·

Room 718 if anyone needs me (at The Marriott).

Tags: personal

En Route to CFUNITED

June 26, 2006 ·

Good to know: Las Vegas McCurran airport has free wifi! A two hour layover for America West, OAK / LAS / DCA. No wonder it's a cheap flight! At least McCurran is smoke-free now although the slot machines still bing and bong and chime constantly. Time to catch up on email and maybe see if anyone is on IM :)

Tags: personal

Fusebox 5 RC1 at CFUNITED

June 26, 2006 ·

As I've indicated before, I'll be releasing Fusebox 5 Release Candidate 1 publicly at CFUNITED. For those at the conference, I will have the RC1 distro on a USB drive (actually my iPod Shuffle!) so if you want a copy, just find me and ask!

Tags: fusebox · coldfusion