An Architect's View

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

An Architect's View

Entries for month: February 2007

Frameworks Explained

February 28, 2007 ·

In one of the best blog posts I've ever seen on the subject, Brian Rinaldi gives a clear, concise rundown of the major types of ColdFusion framework and the major players for each type. If you're confused about the plethora of frameworks, this is a "must read" article! And remember folks, when next years CFeMmys roll round, this would be a great candidate for "2007 ColdFusion Post Of The Year".

Tags: coldfusion

MAX 2007 - Save the date

February 28, 2007 ·

Just got internal notification that we can blog the dates and locations for three MAX events this year:
  • North America MAX 2007 - September 30-October 3, 2007 - McCormick Place West, Chicago
  • EMEA MAX 2007 - October 2007 - Barcelona, Spain
  • Japan MAX 2007 - November 2007 - Japan
More details as they become available. I hope I can get to MAX this year. On Safari is in Toledo, OH immediately prior and my wife and I have friends in Chicago so we could turn this into a nice little vacation with the conference in the middle.

Tags: adobe · adobemax07

Big CFEclipse Announcement at cf.Objective()!

February 28, 2007 ·

Another reason to go to cf.Objective(): Mark Drew will be announcing (and demonstrating) a top secret project that "is so amazing, I am asking Jared to fit seat-belts to each of the seats as I am sure when I show this off, people *WILL* fall off their chairs.", says Mark. He also says the "few people I have shown it to have been very impressed" - I am lucky enough to be one of those few and, yes, this will blow people away.

Tags: coldfusion · cfeclipse · cfobjective

fusebox.org website design contest update

February 28, 2007 ·

Entries continue to come in for the web site design contest and there's only one more week left - the contest closes on March 8th! Think you can do better? Get your entry in quickly!

Tags: fusebox · coldfusion

corfield.org availability / performance

February 27, 2007 ·

If you've been having problems accessing my site in the last few days, it's because another site sharing my server has been behaving badly. HostMySite are taking steps to remedy the problem:
The problem that you have been experiencing is ColdFusion related. As you know in a shared ColdFusion environment poor code by even a single site can cause issues server wide. This has been happening over the last few days on your server. We have informed the operators of the offending site and are currently working on either getting them to fix their code or migrate to a VPS.
-- from HostMySite support.

Tags: coldfusion · blogging

Leave that code alone! Part 2

February 27, 2007 ·

Just got off a debugging session with a ColdFusion developer. They're using Fusebox 5 and successfully running an existing Fusebox 4 site on it. The developer IM'd me because he was having a problem getting a new application up and running. No matter what URL he tried, the application always showed the same default home page. I suggested a few things in IM but nothing worked. Curious, I fired up my public Adobe Acrobat Connect Professional room and asked the developer to join me. I made him a presenter and asked him to shared his screen and show me his fusebox.xml and circuit.xml files. They looked fine. So I requested control and had a look at a few other files in his application - everything looked fine but the application resolutely refused to display any fuseaction except the defaultFuseaction. As a last ditch idea I edited his fusebox.xml file to explicitly set the fuseactionVariable parameter. Success! This said that the default value being used was not the documented default. I asked him to show me where the Fusebox 5 core files were on his system. I opened up fuseboxApplication.cfc and saw that someone had changed the underlying defaultFuseaction! So, someone had modified the core files to create behavior that was at odds with the documentation and the result was a developer spending goodness only knows how much time trying to figure out why their basic little application didn't work - and then about another hour combined of my time and his, tracking down the problem. Remember folks: Leave that code alone!

Tags: oss · fusebox · coldfusion

cf.Objective() likely to sell out

February 26, 2007 ·

Jared notes that cf.Objective() is only 9 weeks away and points out that registration is limited - the conference has a fixed capacity - and "based on feedback we've gotten from last year and from people we have heard from over the course of the year, we fully expect to sell the conference out" so you might want to register sooner rather than later!

Tags: coldfusion · cfobjective

PHP IDE Choices

February 26, 2007 ·

A common discussion in the ColdFusion community is around which IDE to use and how available IDEs reflect on the language itself. For ColdFusion, the choice is essentially between Dreamweaver at $399 (or HomeSite+ which ships "for free" on the Dreamweaver CD - essentially ColdFusion Studio for $100 less than it used to cost) and CFEclipse, the free plugin for Eclipse. Which you choose depends on whether you are primarily doing visual development (layouts and design etc) or back end development - although I use both (the right tool for the right job etc). With that in mind, it's interesting to see that Code Gear has just announced Delphi for PHP - an IDE built with Delphi (and inspired by the existing Delphi IDE) but for PHP developers. It's Windows-only right now (because Delphi is Windows-only - BTW, HomeSite / HomeSite+ is a Delphi application which is why it too is Windows-only) and will cost $299. That places it in pretty much direct competition with Zend Studio which also costs $299. Zend Studio is cross-platform, which is a big plug, and of course there is also the free PDT (PHP Development Tool) plugin for Eclipse.

Tags: oss · cfeclipse

Static vs Dynamic - Parsing XML

February 26, 2007 ·

One of my favorite topics - the pros and cons of statically typed languages compared to dynamically typed languages. Spike Milligan (of CFEclipse fame) has a great post showing how simple parsing of XML started out looking easy in Java and quickly became a nightmare of classes, type checking and casting. He walks thru the creation of Java code to parse flex-config.xml and how quickly it becomes complicated - then shows how easy it is in a dynamically typed language like JavaScript.

Tags: coldfusion

Testing in CFEclipse

February 26, 2007 ·

I'm talking about simple testing here - you know, when you change a file and then switch from Eclipse to your web browser and reload the page to see if you broke anything? Did you know that CFEclipse has a built-in web browser? Just hit Cmd-Shift-F5 (on a Mac - Ctrl-Shift-F5 on Windows?) to load the project root URL in the built-in web browser or Shift-F5 to load the current page in the built-in browser. While you're working on that page, you can easily re-run the test in the browser using F5 to reload the browser. Edit, Cmd-S (Ctrl-S on Windows), F5, edit, Cmd-S, F5. What a nice, simple workflow. All you need to do to make this work is set the project root URL:
  • Right-click on the project in the Navigator and select Properties
  • Select CFEclipse Properties
  • Enter the project root URL, e.g., http://localhost:8500/
  • Click OK
Now hit Cmd-Shift-F5 to open the built-in browser at your project. Want to test out an idea without actually editing your project's files? Check out the "scribble pad" feature. Under Window > Preferences... > CFEclipse > Scribble pad define a file to use as a quick test bed for ideas. Define the path to the file, the project it lives in and the URL to it and then hit F8 to open the file (it has to exist so you might need to create an empty file in the appropriate location first). CFEclipse opens your scribble pad file in the editor and in the browser. Edit, Cmd-S, F5 and you're testing out your idea without touching your project's files! Simple testing made easy with CFEclipse!

Tags: cfeclipse · coldfusion