An Architect's View

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

An Architect's View

Entries for month: April 2005

Installing CFMX on Mac OS X

April 28, 2005 ·

For a long time I've been promising to publish my simple guide to performing this installation. I've talked a lot of CFers through it now, many of them brand new to Mac OS X and not at all familiar with the Unix command-line. So here is my version of Installing ColdFusion MX on Mac OS X. Hope you find it useful. Let me know (in comments) if you have any difficulties with the instructions or any questions about it. Note that I do not bother with the Apache connector for localhost development. Nor do the instructions talk about moving the webroot. The instructions will get you up and running - anything beyond that is a topic for another day!
Update: I've added information about the background startup shell script I use (and made it available as a download).

Tags: osx · coldfusion

Extending Application.cfc

April 28, 2005 ·

One of the cool things you can do with Application.cfc is to extend it in subdirectories to override behavior for parts of your application. This Tech Note tells you how.
Update: there is a way to extend the root Application.cfc without using a mapping. In your root directory, alongside your root Application.cfc, create ProxyApplication.cfc that contains just these two lines:
<cfcomponent extends="Application">
</cfcomponent>
Now, in your subdirectory's Application.cfc you simply extend ProxyApplication (which CFMX will find in your root directory). It doesn't need mappings so it should help people on shared hosts, as well as keeping your server configuration leaner.

Tags: coldfusion

PDXCFUG - Fusebox 4.1 - May

April 28, 2005 ·

Simeon just announced the May meeting of the Portland ColdFusion User Group will feature Barney Boisvert talking about Fusebox 4.1. The meeting is May 19th - check the site for more details. I'll be up at PDXCFUG in August (August 25th, a week later than the normal schedule).

Tags: fusebox · coldfusion

Day One with the Prius

April 26, 2005 ·

Well, we picked up the new car today and I drove it just a handful of miles (home from the credit union, out to a friend's house in town and then down to the store). The keyless entry / start system is very cool: just walk up to the car, it senses your key fob (in your pocket) and unlocks, get in and press the "Start" button and off you go. When you get out, just press a button on the door handle and the car locks. Very convenient. The ability to operate the radio, the climate control and the navigation / information system from buttons on the steering wheel is cool too. If we had a Bluetooth cell phone we could answer calls and hang up from the steering wheel too. Nice. The stereo system is loud (good!) and the radio tells you not only which station you're on but what song is playing. I like that. The rest of the console system we haven't figured out yet. I've selected a blue background because that seems to be more readable. It's cool to watch the energy flow through the system and the 30 minute fuel consumption graph (and energy regeneration graph) is fun. It's a little strange operating the radio and the air conditioning and everything else all from a touch-screen in the console. The manual is 3/4" thick... some 'light' reading for our weekend trip to Tucson... What about driving it? It's smooth and quiet, plenty of pickup for town driving (in fact it's a bit too easy to find yourself doing 50mph). In reverse it beeps like a truck (because the engine is silent so it needs to warn people). We haven't pushed it too much but it seems pretty stable in corners and the steering is nice and positive. Rear visbibility is a bit odd... the shape of the rear window combined with the size of the rearview mirror... I don't know, it's just a bit odd. Gas mileage seemed to be hovering in the mid-forties at the moment but the battery is not fully charged so it seems to be preferring the gas engine around town. There are some techniques to learn to assist the hybrid power system - like always taking your foot off the gas when you are going downhill or approaching stationary traffic! Luggage capability is good: the tonneau cover can be stowed in a 'secret' compartment under the rear deck and there are four cargo tie-downs (it comes with luggage straps). With the rear seats down it's a pretty big space. We can't get the dog crate in or our large show cage but I think we'll have plenty of space for our luggage and three, maybe four, cats. It'll be a while before we take it on any long journeys but I'll post occasional updates along the way...

Tags: personal

CFUNITED - $549 Price Expires 4/30!

April 26, 2005 ·

Don't forget that the registration price for CFUNITED changes on May 1st from $549 to $649 so you only have a few days left to save yourself $100!

Tags: coldfusion

SWT vs Swing

April 26, 2005 ·

As someone who does not know either UI toolkit in depth but has dipped into Eclipse occasionally, I found this Hacknot piece comparing SWT and Swing from a development point of view quite fascinating.

Tags: j2ee

No IATC For You!

April 25, 2005 ·

Does anyone else beside me think it very odd - and unethical - that Bush's administration kicked democratic supporters out of the Inter-American Telecommunication Commission? What is this? You can only be on a "non-partisan committee" if you support the Replicans? Are they serious? No wonder Nokia want "clarification"...

Tags: personal

Generating Parsed Files for Fusebox - Automagically!

April 25, 2005 ·

Brian Kotek has created an incredibly useful CFC that automatically generates all the parsed files for an entire Fusebox application! A very slick implementation too (in terms of the API).

Tags: fusebox · coldfusion

Got a CFMX 7 Success Story?

April 25, 2005 ·

Tell Tim Buntel all about it and you could win a prize! See his blog entry for details of the competition!

Tags: coldfusion

PayPalMX - PayPal Made Easy With CFMX

April 24, 2005 ·

Jared Rypkya-Hauer is about to release PayPalMX, a CFC-based product for managing interactions with PayPal. He's been refining this for a long time and is very familiar with the PayPal APIs so this ought to be a good solid product. Nice to see that he's holding off releasing it until he's happy with the documentation!

Tags: coldfusion