An Architect's View

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

An Architect's View

Entries for month: November 2007

Can has iPhone?

November 27, 2007 ·

Today Jay & I went to the AT&T store and bought his and hers iPhones. I have to say that I'm even more impressed with the phone than I ever could have imagined. The virtual keyboard is good enough to type blog entries and the overall integration with email, calendar, contacts and browser is stunning!

Tags: iphone · osx · personal

Referrer and Redirect

November 26, 2007 ·

I learned something new today (I like to learn something new every day) and I can thank Matt Quackenbush for this lesson. A lot of sites like to track outbound links to external sites. What if you want to track links but expose a specific referrer? I was very surprised to discover that if you click through from one site to a tracking site to the external site using a <cflocation> on the tracking site, the referrer as it arrives at the external site will be the original site, not the tracking site. I had to recreate the scenario for myself across three websites before I believed it. OK, so using a location header doesn't work. What does? Thanks to Google and Wikipedia, I found a PHP example which showed that a meta refresh tag would fix the referrer to be the intermediate site. Instead of the intermediate page being:
... log the redirect ...
<cflocation url="#url.targetpage#"/>
You can output a meta refresh instead:
<html>
<head>
   <meta http-equiv="refresh" content="0; url=<cfoutput>#url.goto#</cfoutput>" />
</head>
<body>
</body>
</html>
Thoughts? Suggestions?

Tags: coldfusion

Giving Thanks... for Chris Scott!

November 25, 2007 ·

Thanksgiving is a time to be thankful and this year many of us will want to give thanks to Chris Scott for an amazing series of updates to ColdSpring that complete what will be ColdSpring 1.2 (there was no 1.1). Over the last few days he has committed fixes for two bugs including enabling lazy-init="false", configuration factory beans, autowired test cases for cfcUnit and a transactional autorwired test case. This is great news for people using cfcUnit (you all are, aren't you?) as well as providing a number of great usability additions. This is also great news for folks who feel constrained to only use official releases. The last official release of ColdSpring (1.0) was so long ago that lots of great features are only available in the BER: aliases, includes, abstract beans etc. This has been particularly troublesome for such folks trying to use Model-Glue with Transfer (or Reactor) since that has relied on aliases for quite a while. A new official release of ColdSpring (1.2) is just around the corner!

Tags: coldfusion · coldspring

Mach-II 1.6 Progressing Well

November 22, 2007 ·

Since I'm using Mach-II for several of my clients (sometimes because they are already a Mach-II, sometimes because I've recommended it as the best fit for their needs), I'm getting back into the Mach-II community and getting more involved with the new release - I'm always happy to be on the BER while developing! I wanted to let folks know what a great job Matt and Peter are doing with the framework. Mach-II 1.5 was a very impressive release with a lot of new features that help you manage large-scale application development: modules, includes, subroutines, extended property data type support, SES URL support and bindable property parameters.

[Read more →]

Tags: coldfusion · machii

BACFUG Hot Banana Recording Available

November 21, 2007 ·

Tonight's BACFUG meeting was well attended and the recording of Rob Johnston presenting Hot Banana's content management system is available online. Chris Black of ODA - coincidentally a Hot Banana development shop! - won the iPod Touch and Jennifer Larkin won the Adobe giveaway of ColdFusion 8 Standard edition (or equivalent). Congratulations to both of them!

Tags: coldfusion · bacfug

Hot Banana at BACFUG tonight!

November 21, 2007 ·

Hot Banana will be presenting their extensible content management system at BACFUG tonight and will be giving away an iPod Touch in the raffle as well as sponsoring food and drink. We will also be drawing for the "big Adobe prize" at this meeting, based on raffle ticket entries for the July, August, September, October and November meetings - you could win ColdFusion 8 Standard Edition! The meeting will be broadcast and recorded (technology permitting). Broadcast URL: http://experts.acrobat.com/bacfug Recording URL will be published after the meeting. Stay tuned for details of our special January meeting, on Monday 21st, combined with BAADAUG and Fire on the Bay!

Tags: coldfusion · bacfug

Speaking at CFUNITED 2008

November 20, 2007 ·

TeraTech have just announced the first few topics in the frameworks track and my talk "Event-Driven Programming in ColdFusion" is on the list.
We're starting to see a lot of interest in event-driven programming because Flex demands it, AJAX uses it to some extent and some popular application frameworks use this approach (ColdBox, Mach-II, Model-Glue). This talk looks at expanding this technique to other aspects of ColdFusion programming. If Flex looks alien to you, this talk should let you get your head around the techniques in a familiar environment, helping you get ready for Flex.
I've also submitted this to Scotch on the Rocks 2008. I submitted a second topic to CFUNITED 2008 (and Scotch on the Rocks) that covers dynamic programming techniques. I don't know whether that will be accepted for either conference but if it isn't and there's enough interest, I may go ahead and write it up for user groups or online presentation.

Tags: coldfusion · edmund · cfunited08

ColdFusion Beta!

November 19, 2007 ·

Kristen Schofield says "We're in beta now with a release of CF that will support 64 bit and Leopard". If you want to play, hurry on over to her blog and sign up. A new beta of ColdFusion? Hmm, I wonder what that will be?

Tags: coldfusion · adobe

IECFUG - December 7th - Design Patterns and ColdFusion

November 19, 2007 ·

Luis Majano has just announced that I will be encoring an extended version of my Design Patterns and ColdFusion talk at their December meeting.

Tags: coldfusion · architecture

Windows Productivity

November 19, 2007 ·

As regular readers know, I've been running Microsoft Windows Vista Ultimate for quite a while now so I can have a full local Windows development environment (ColdFusion 8, BlueDragon.NET 7 and MS SQL Server Express). Despite my general grumbles about Windows, it has been working out pretty well (but I really try to do all of my development on the Mac side whenever possible). I hadn't been running Vista for a few days so, Monday morning, needing to do client work that involves SQL Server, I fire up the virtual machine and VMware tells me an update is available. Cool! I've been waiting for the 1.1 fixes! I download the new image and shutdown Vista (wondering "how can an operating system take so long to boot up and shut down?") and then shutdown VMware and run the installer. It says VMware is still running. Hmm. The installation guide says if you hit this problem, look in the VMware Help (why can't you put the hint in the installation guide?). So I fire up VMware, fire up Help and it says sometimes a vmware-vmx process doesn't quit and you should use the Mac Activity Monitor to kill it. OK. Shutdown VMware. Open Mac Activity Monitor, find the vmware process and kill it. Run the installer. Success. I get to upgrade VMware. Fire up VMware, boot Vista (wait...). Upgrade the VMware tools. Reboot (more waiting...). Up comes Vista and now it wants to update Windows with some important updates. OK. Wait for a bit. Reboot (more waiting...). Up comes Vista and now... Argh! Apple wants to update Safari, iTunes and QuickTime. OK. Safari updates fast enough but iTunes / QuickTime takes forever. Guess what? Yup, reboot time. Sigh... Up comes Vista again and now I can get on with some work. It only took about 90 minutes from start to finish. Who'd have known that between VMware, Microsoft and Apple (to be fair: mostly Microsoft), I'd lose the first hour and a half of my week? Vista had been up and running happily for about two weeks since I last rebooted it (so, to be fair, this makes Vista the most stable version of Windows I've ever used!). I work through the rest of the morning and on into the afternoon until about 3pm my machine pretty much grinds to a halt. WTF? Oh, Microsoft wants to update Vista again! This time the updates are so important that Microsoft goes ahead and reboots my machine for me. Thanx Bill! Yeah, it sat there with a little count down warning that it was going to reboot but, hey, I normally keep Windows minimized and work on the Mac, right? So Vista has now been up for 17 minutes. Do you think Bill would pay if I sent him an invoice for my lost time?

Tags: personal · microsoft