An Architect's View

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

An Architect's View

Entries for month: October 2007

Advanced Transfer on cfFrameworks

October 30, 2007 ·

Mark Mandel is running an Advanced Transfer Workshop via cfFrameworks on November 28th. I saw his Advanced Transfer presentation at cf.Objective() 2007 and it was a great session. If you're on the fence about persistence frameworks, or you've just started using Transfer and want to know what it's really capable of, you need to tune into this presentation!

Tags: coldfusion · orm

5.6 or why I love the Bay Area!

October 30, 2007 ·

Tags: personal

Loving ColdFusion 8

October 28, 2007 ·

Now that Scazu is running on ColdFusion 8, I can finally start taking advantage of the new features and kick off some of my old habits. One of the things I've found myself doing - much to my surprise, given past pronouncements on this topic - is using <cfscript> more and more. I hadn't expected the ability to use regular comparison (< <= == != >= >) and boolean (|| && !) operators to have such an impact on my coding style!
for (i = 1; i <= n; ++i) { ... }
is just so much easier to read than the alternatives. I think part of my shift to <cfscript> is driven by the fact that I'm also doing a lot more JavaScript these days as well as increasingly using ActionScript so it's easier to jump from one code base to another if they're all script-based. I'm even writing entire components in <cfscript>. Did you know you can omit <cfcomponent> inside a CFC? Yes, you can just write a CFC like this:
<cfscript>
function init() { return this; }
function getFoo() { return variables.foo; }
function setFoo(foo) { variables.foo = foo; }
</cfscript>
The equivalent default tag attributes are returntype="any" access="public" on the functions and type="any" required="true" on the arguments. That's fine for a lot of methods but it gets a bit frustrating if you want a private method or you actually want to specify return types or argument types or defaults. I've also started using type="component" instead of type="any" for my "duck typing" when I know I'm really passing a CFC (there are still many times when I'm passing either a CFC or a primary key - and then using isObject() to see whether I need to load the object from the PK). Writing type="WEB-INF.cftags.component" was just far too much work so I'm glad Adobe added this shorthand type name! Also, as I mentioned earlier, per-application mappings have been a huge help already on shared hosting. What little ColdFusion 8 features are you enjoying using on your newly upgraded production systems?

Tags: coldfusion

cf.Objective() 2008 speaker invitation process

October 27, 2007 ·

I've had a few questions about this so I thought it best to explain how it works. First off, I'm content chair for the conference so, for the most part, I'm driving the process of speaker and topic selection along with a small committee of volunteers and the core conference team. We all got together early in the summer and came up with the tracks:
  • Architecture and Design in Software
  • RIA - Flex / AJAX / AIR
  • Frameworks A-Z
  • Process and Tools
  • Platform: Database Tuning & (Application / System) Security

[Read more →]

Tags: coldfusion · air · cfobjective · flex

Leopard Compatibility

October 27, 2007 ·

I know a lot of people rushed to installed Leopard (Mac OS X 10.5) last night and my friends found it very odd that I was not one of those early adopters. I've owned and used Macs day-in, day-out for almost two decades, since the early System 6 days. I've been through two changes of hardware (68000 to PPC, PPC to Intel) and several of the "major" O/S upgrades (I skipped System 8 and System 9, for reasons that anyone who actually used them will happily expound upon for hours!). I'm on my sixth or seventh Apple laptop and my fourth Apple desktop. I'm a huge fan boy. So why did I not pre-order Leopard and rush to install it?

[Read more →]

Tags: osx · personal · coldfusion · adobe

Fast Views in Eclipse

October 26, 2007 ·

I'd heard of this option in Eclipse but never tried it... until today! It started with Michael Henke's blog, where he asked people to share their Eclipse perspectives so we could all see how different people work. The discussion has also taken place on the CFEclipse users' mailing list. And today, I saw Charlie Griefer's blog post showing a very minimal Eclipse layout. He explains that he has almost all of the non-editor views set up as Fast Views to keep the main area uncluttered. So what is a Fast View? Instead of having the view available visible and "docked" somewhere, the view lurks in the gutter at the bottom of the Eclipse window and only springs up (on the left or on the bottom) when you click on the icon. As soon as the view loses focus, it minimizes again. I'm still getting used to this new way of working but certainly clears up the working area. Thanx Charlie for pointing me in that direction! Another one of those "learn something new every day" moments...

Tags: cfeclipse · coldfusion

Fusebox 5.5 Release Date

October 26, 2007 ·

Fusebox 5.5 will be officially released on December 1st! That means you have just one month left to download the Public Beta and take it for a test drive! We want Fusebox 5.5 to be the greatest release ever of Fusebox so we want as many people as possible to test it and log any issues they encounter (via the Bug Tracker on the Fusebox website). The Public Beta has been available since October 1st and only two minor bugs have been found so we're fairly confident that Fusebox 5.5 is ready to go but we'd really like some more folks to test it for us! If you're not already on the Fusebox 5 mailing list, you should join so you can discuss Fusebox 5.5 features and experiences. If you have a blog, please spread the news about the Public Beta and the release date.

Tags: coldfusion · fusebox

SQLite Admin on AIR

October 26, 2007 ·

Christophe Coenraets has posted a new version of his SQLite Admin AIR application. This is a very slick little application that lets you work with the embedded SQLite databases that you use with AIR to persist data locally.

Tags: air

CFUNITED Express Bay Area - speaker change and deadline

October 26, 2007 ·

Tony Hillerson of EffectiveUI will be speaking at CFUNITED Express Bay Area on November 9th in San Francisco. His talk will focus on the online/offline features of AIR. Tony will be replacing Simon Horwith on the schedule. That means the final session lineup will be:
  • Tony Hillerson - Offline/Online Features of AIR
  • Charlie Arehart - Hidden Gems in CF8
  • Michael Smith - Using your Whole Brain for Developers
  • Paul Kenney - Test-Driven Development with ColdFusion
  • Sean Corfield - Design Patterns and ColdFusion
  • John Paul Ashenfelter - Pragmatic ColdFusion: Build, Test, Deploy
  • Matt Chotin - Introduction to Flex with ColdFusion
Remember: if you register by October 31st (next Wednesday!), you can offset the entire cost against your ticket for CFUNITED 2008!

Tags: coldfusion · air · bacfug · cfunited08 · flex

The coolest conference promotion ever?

October 26, 2007 ·

Scotch on the Rocks 2008...

Tags: coldfusion · scotch08