Rob Brooks-Bilson
Tech, Photography, Stuff
Tech, Photography, Stuff
March 24, 2008
I've been working up a few demos lately that make use of the new layout tags in ColdFusion 8, and while I think they really do make Ajax based layouts much easier than using the Ext js and YUI libraries on their own, there are a couple of issues I've bumped into that have me thinking that their potential may be limited. Let me explain.
Today I was working on a dashboard mock-up to show to some of my colleagues. I wanted to show them how simple it is to do a dashboard in ColdFusion, and I wanted to do it using the new cfwindow, cflayout, and cflayoutarea tags. Things were moving along well until I wanted to add an accordion pane on the left-hand side of the layout. Try as I might, I couldn't find the attribute or value in any of the new tags to make it happen. That's when I realized that accordion panes are only available as part of the Flash based cfform controls. Doh! I don't want to use any Flash in my dashboard demo (I'll leave that to a Flex based demo), just straight HTML/Ajax. There are several options for adding an accordion panel outside of ColdFusion (Spry, Ext js, etc.), but I wasn't expecting that the control wasn't going to be included as part of ColdFusion 8.
This led me to more carefully consider the new UI controls in ColdFusion 8. For many layout tasks, they may be sufficient. However, what really has me concerned is situations like this. I still want an accordion control, and in order to get it, I'll have to mix and match the ColdFusion UI controls with another solution. What I'm strongly considering right now is abandoning the new UI controls all together in favor of a custom tag based approach. It turns out that there are two ColdFusion custom tag libraries that each wrap the Ext js library: cfExt by Dan Vega and ColdExt by Justin Carter. I like the custom tag based approach for a number of reasons:
I hope I don't come off as bashing the new UI tags in ColdFusion 8. I really do like how easy they are to use and will be very beneficial to a lot of developers. If, however, you require more flexibility, you may want to consider implementing UI controls natively in JavaScript, or looking into one of the Custom Tag Libraries mentioned previously.
I'd love to hear what others have to say about this topic.
March 24, 2008
Over on YouTube, there have been a bunch of "Why ColdFusion" videos lately. A coworker pointed me to three the other day that were absolutely brilliant:
March 6, 2008
I realize that this is another "me too" post as the news has already been widely reported. However, it's good news, and it's too good to pass up. Just in case you haven't heard yet, Adobe ColdFusion 8 just won the 2008 Jolt Product Excellence Award for Web Development, presented by Dr. Dobb's Journal.
What makes this particularly nice is that the winners are "selected by a panel of judges consisting of industry insiders, columnists, and technology leaders.", lending much more credibility to the award.
Congratulations to the ColdFusion Engineering team and to Adobe!