An Architect's View

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

An Architect's View

Entries for month: January 2006

ColdFusion - unleash the java within...

January 31, 2006 ·

ColdFusionGear has just added a new coffee mug with that tag line...

Tags: coldfusion

Spring Pros and Cons

January 31, 2006 ·

Frameworks certainly stir up some passionate debates! Bob Lee says "I Don't Get Spring" and it gets picked up by The Server Side and both posts generate a lot of commentary. ColdSpring implements, in ColdFusion, several features of Java's Spring framework features so some of the discussions linked should prove interesting to you, as a ColdFusion programmer.

Tags: coldfusion · architecture · coldspring

cf.Objective announces sponsors

January 31, 2006 ·

Adobe is a platinum sponsor for cf.Objective(). Also, Jared says the registration system will be online in the next day or two, along with more detail about the sessions.

Tags: coldfusion · cfobjective

PDXCFUG - Good Turnout!

January 27, 2006 ·

Our hosts, Business Transitions, recently moved into swanky new offices and last night's PDXCFUG meeting pretty much packed out their open 'conference' space. It was great to see so many new faces there (and a good number of regulars that I recognize from last August's meeting). Simeon Bateman has done a great job in rallying the local ColdFusion community - and he's continually doing more to add value to the user group. If you live in the greater PDX area, you owe it to yourself to check out this user group! My talk went OK for a first time. It'll be changing a lot before CFUNITED - probably even before cf.Objective() - as it's too long (but there's a lot of information to cover!). Thanks to Simeon and his group for making me welcome and turning out in force on a wet Portland night!

Tags: coldfusion

CFUNITED - Early Bird Expires 1/31!!

January 25, 2006 ·

Just a friendly reminder that the early bird price ($649 for four days, $549 for three days, $249 for one day) for CFUNITED ends next Tuesday, January 31st! And also a reminder that cf.Objective() is also still running its early bird price of just $275 for two days. You can sign up for the mailing list - registration should be open soon.

Tags: coldfusion

Test-Driven Development - Part III - Fusion Authority

January 25, 2006 ·

Fusion Authority has just published part 3 of their test-driven development series which shows how to integrate testing directly into your workflow using ant inside CFEclipse. I use this extensively to automate testing components as I write them and find it extremely useful! Every time I change (and save) my test cases, CFEclipse uses ant to run my test suite and report success / failure in the console window. Every time I change (and save) the components I'm trying to test, it does the same thing. I never have to run the tests manually which means I never forget to run them! Of course I still have to remember to write new test cases for new components - but the visual hint of the test suite running every time I touch the code is a good reminder for that!

Tags: coldfusion

CFMX / JRun installer will not launch on Mac OS X

January 25, 2006 ·

Some time ago I downloaded JRun4 and moved the installer around before using it. When I came to double-click on it to install it, nothing happened. Since I have so much crap on my machine, I figured I'd done something dumb so I just copied an installation from another machine and off I went. This morning a customer IM'd me to say he had a similar problem with both the JRun and ColdFusion MX installers. Neither would launch when he double-clicked. He'd tried the installer on another Mac with the same result. He'd downloaded the installers again - still no joy. Puzzled, I walked him through a whole series of diagnostics, comparing his installer to one on my machine (which had worked just fine). We couldn't see any significant differences. He had the right JVM. We were stumped. So I pinged Mike Nimer who referred me to Farah Gron on the CF team. She recognized the symptoms and checked the bugbase for me. It turns out there's a subtle issue with certain installers on Mac OS X. If the permissions end up being incorrect after you download the installer or you copy / move the installer around in certain ways, you can end up with a non-executable installer. Fortunately, the fix is simple. First of all, diagnosis: In a Terminal window, navigate to the directory containing your installer (probably on your desktop) and check the permissions on the installer executable that is inside the installer application:
cd ~/Desktop
ls -l cf_install.app/Contents/MacOS/cf_install
If you see something like this, you have a non-executable installer:
-rw-r--r-- 1 gavin admin 13816 Sep 9 17:22 cf_install.app/Contents/MacOS/cf_install
The fix is to make that file executable:
chmod +x cf_install.app/Contents/MacOS/cf_install
That should change the permissions to -rwxr-xr-x (check using the ls -l command shown above). Now you should be able to double-click the installer in the Finder and all should be well!

Tags: osx · coldfusion

PDXCFUG - January 26th - Objects and Persistence

January 24, 2006 ·

Just another reminder that I'll be up in Portland this weekend and speaking at the Portland CFUG on Thursday night, with my brand new "Objects & Persistence" talk! I'll also be at the Department of Revenue in Salem on Friday with the same talk. Oh, and there's a cat show in Portland this weekend. Of course.
*cough* That would be January TWENTY-SIXTH (tomorrow). My typing has been a bit off all day...

Tags: coldfusion

Simon Horwith - Defending ColdFusion

January 24, 2006 ·

Simon has posted a note about his CFDJ article which provides responses to many of the misconceptions and challenges made against ColdFusion. It's a good article and should help you the next time you find yourself having to educate people about the benefits of using ColdFusion over some alternative. Only today I was talking to a Java developer, coming to ColdFusion for the first time, and they were initially skeptical about learning a "scripting" language, especially a tag-based one. We talked a bit about Java integration, we talked about CFCs and design patterns and MVC frameworks - and they began to get more comfortable. Then I talked about ColdSpring and Reactor and we were on familiar territory (Spring, Hibernate etc). Once they realized they could bring all of their Java knowledge and skills to bear on ColdFusion, they seemed much happier about the prospect of learning this tag-based, scripting language!

Tags: coldfusion

MAX 2006?

January 24, 2006 ·

I've noticed several people on various lists and blogs starting to ask about "MAX 2006" so I just wanted to point out that MAX 2005 was announced in early April (2005) which makes me think it's a bit premature to be speculating about this year's conference...

Tags: adobe · adobemax06