So this week I had an experience with ColdFusion and ASP.NET that reminded me of why I love ColdFusion. I'm currently working on a project which has a pretty aggressive time line, the goal of which is to migrate some legacy data into a new ColdFusion system. The system has some fairly complex business logic so we decided that the quickest way to get the job done was to write an routine which submits data to the new system as a user would entering data into the application's forms. That way we wouldn't have to reverse engineer any business logic and incorporate it into SQL migration scripts. We also decided to try to leverage some of our .NET resources to help with this task.
I just got home from the on AIR Bus Tour and I have to say that Adobe has done a great job with this tour. The venue was awesome (The Franklin Institute here in Philly), the beer was cold, and the presentations were informative, at least for an AIR newbie like me. I'll admit that haven't had time to look into AIR so I wasn't really getting the hype. However, after tonight's presentations I'm pretty excited about the possibilities... Plus I won a copy of Flex Builder 2 with Charting, so I guess I have no more excuses for not learning Flex.
On my home computer, a MacBook Pro, I have a few Eclipse workspaces: one for ColdFusion development, one for Java stuff, and one for Firefox and JS development. I also run Windows XP under Parallels on this machine and I happen to share a few of these workspaces across platforms. (I'm sure this is not recommended, but hey...) One problem I've run into is that sometimes my Eclipse window gets "stuck" under the menu bar in OS X. This will happen if I've moved my Eclipse window to the top of my Windows screen, close the workspace, then open the workspace in OS X.
When this happens there are two ways to solve the issue. One way is close the workspace in OS X, reopen it in Windows, then resize the window so that it is not at the top of the Windows screen. Sometimes though, I don't have my Windows VM running and I don't feel like starting it up. On those occasions I open the [my_workspace_folder].metadata/.plugins/org.eclipse.ui.workbench/workbench.xml file and modify the following element (near the top of the file):
I can change this to something like:
I then save the file and re-open the workspace in OS X and I'm able to move and resize my Eclipse window as needed.
I don't run into this issue as much now that I'm aware of it, but it really stumped me when I first encountered it so I though it was worth sharing.
I just read a pretty interesting post via Slashdot: A Guide to Hiring Programmers: The High Cost of Low Quality. A great read for anyone involved in hiring developers.
With the CFMX 6.1 reaching its end of life my company is in the process of upgrading ColdFusion. Unfortunately Adobe chose to EOL CF 6.1 before CF 8 was released, so my company began the upgrade process to 7.0.2. (I'm going to do my best to convince the powers that be to upgrade to 8, but that may be difficult given that it is brand spankin' new.)
Anyway, we have been running 7.0.2 on our local development boxes for the past month or so and we have only really hit one issue; that issue has to do with the QuerySetCell function. In ColdFusion 7 and 8 the QuerySetCell function does type validation. What does this mean? Well CF 6 wouldn't complain if you tried to set a numeric column to a text value like so: