Posted: July 3, 2008 at 6:29 PM by Ben Nadel
In my previous post on OOPhoto , my latest attempt at learning Object Oriented Programming in ColdFusion, I was finally able to codify some of the gut feelings that I have been having about a missing piece of the MVC puzzle. I understand MVC (model-view-controller) in theory; however, in practice, I am having a very hard time trying to wrap my he... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: July 3, 2008 at 4:46 PM by Ben Nadel
I know I'm jumping the gun a bit, but in case I'm not at a computer tomorrow (it might happen), happy July 4th! Note: While this is not what the holiday was intended for, feel free to take a few moments tomorrow and be thankful for the independence that ColdFusion has afforded ... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: July 3, 2008 at 8:22 AM by Ben Nadel
I know you might think this is really cheesy, but I feel good about having helped set a world record. ... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: July 1, 2008 at 9:48 AM by Ben Nadel
One of the nice things about coming back from a conference like CFUNITED is that you always feel inspired to go out and learn all the stuff that you don't know. One beast that I have been wrestling with for a long time is Object Oriented Programming (OOP). I have decided that I am gonna take that inspiration from CFUNITED and focus it, once agai... read more »
Comments (55) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 30, 2008 at 8:29 AM by Ben Nadel
Hi Ben, I must have searched our old friend Mr. Google and your site for nearly an hour without luck - so I figured I better ASK BEN. I normally retrieve binary object from a database by first writing them to the server's disk and then href-ing to that file. My question is, how do I retrieve a file directly from the database without the intermedia... read more »
Comments (8) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 27, 2008 at 10:07 AM by Ben Nadel
A while back, I posted an AJAX-Style file upload demo . While using that technique in a current project, I discovered a bit of a bug. In FireFox, you can dynamically set the EncType of a form element to be "multipart/form-data" for file uploads; however, this does not work in Internet Explorer (IE). Apparently in IE, you have to set the "encoding... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 27, 2008 at 9:46 AM by Ben Nadel
The other day, I explored the idea of an audit table that copies the entire record in question, creating a full-record snap-shot in time. In the comments to that post, there was some great discussion as to how to create audits and why we might want to do it a certain way. As we mostly agreed on, the type of auditing you do is highly dependent on... read more »
Comments (19) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 25, 2008 at 9:25 AM by Ben Nadel
When I was sitting in on Steve Nelson's Google Gears presentation at CFUNITED , we started talking about ways to track audits to table data. One of the ideas discussed was to keep an audit table for each table we wish to track. I have never done it this way; I generally used a centralized audit table with an XML diff-field that other tables then ... read more »
Comments (24) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 24, 2008 at 8:01 AM by Ben Nadel
Yesterday, while writing data transfer scripts to move data from an MS Access database into a MySQL database, I came across a problem that I had not faced before. In the Access database, all of the phone extensions where broken out into their own fields. In the new database, there were no phone ext fields so as part of the data translation, the ph... read more »
Comments (18) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 23, 2008 at 9:12 AM by Ben Nadel
This weekend, I got back from CFUNITED 2008. As my second experience at CFUNITED, I have to say, it lived up to memory and the glory of the first time. It was a new hotel and a new conference center, so I think there were some things that could be ironed out; but, rather than dwell on the those points of friction, I'd rather concentrate on what ma... read more »
Comments (42) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 19, 2008 at 6:37 AM by Ben Nadel
I am not usually one to blog about a conference while I'm here (as I am usually too busy running around), but this was was just way too cool to keep to myself; yesterday, I ran into the very lovely Katie Maher who was wearing a t-shirt with one of my ColdFusion banner ads on it. Definitely an awesome experience, and I am sure, one of the big hi-li... read more »
Comments (7) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 17, 2008 at 9:30 AM by Ben Nadel
I love ColdFusion's CFQueryParam tag. I use it in almost all of my queries. One of the CFQueryParam features that I love is the List attribute; the List attribute, which I have blogged about before , allows you to use one CFQueryParam tag to bind a list of values to your query. Most of the time, I use this with a list of IDs: WHERE id IN ( &... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 17, 2008 at 8:44 AM by Ben Nadel
Yesterday, I got a ColdFusion error that I had never seen before: java.lang.VerifyError (class: cftest212ecfm1626437113, method: runPage signature: ()Ljava/lang/Object;) Inconsistent stack height 1 != 0 null That's certainly an error that sounds really bad. But, after some tag-context debugging, it came down to a silly commenting mistake. I had ... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 16, 2008 at 9:14 AM by Ben Nadel
I was working on some client work the other day and dealing with a multi-step form process when it occurred to me that I never blogged about this type of thing. And so, I thought I would throw together a quick little multi-step form demo using ColdFusion. Because there are good number of files involved, I thought I would make a little demo video, ... read more »
Comments (12) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: June 13, 2008 at 9:38 AM by Ben Nadel
Back around Regular Expression Day , RegEx guru Steve Levithan kicked off a little regular expression contest . That contest ends at the close of day today. I have been working on a little something for it, but unfortunately, with my work schedule (I also had a deadline today) I haven't really had time to finish it. It is partially working, ho... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Ask Ben: Create A New XML Document Based On A Child Node Of An Existing XML Document - Posted Jun 12, 2008
ColdFusion CFCatch Tags Catch Exceptions Based On Type Hierarchy - Posted Jun 11, 2008
POI Utility Now Has ColdFusion MX7 Compatible Tags (Thanks Dan Wilson!) - Posted Jun 10, 2008
jQuery UI 1.5 Released, Focus On Consistent API And Effects - Posted Jun 9, 2008
Indiana Jones And The Kingdom Of The Crystal Skull Starring Harrison Ford - Posted Jun 8, 2008
Sex And The City Movie Staring Sarah Jessica Parker - Posted Jun 8, 2008
POI Utility Freeze Frames, Bug Fixes, And Branded Templates - Posted Jun 6, 2008
jQuery 1.2.6 Even Better! - Posted Jun 6, 2008
Not Commenting And The Tipping Point Of Poor Programming - Posted Jun 5, 2008
SQL Join Table vs. SQL Entity Table And When To Switch - Posted Jun 5, 2008
My Interview With Christian Ready - CFUNITED 2007 - Posted Jun 4, 2008
You Cannot Delete Application.cfc Methods In The Pseudo Constructor - Posted Jun 4, 2008
Ask Ben: Splitting And Joining Large Binary Files Using Buffers In ColdFusion - Posted Jun 3, 2008
Downloading Email Attachments With CFPop And CFThread - Posted Jun 2, 2008
Bigger, Stronger, Faster - The Side Effects Of Being American - Posted May 31, 2008
National Regular Expression Day And Reflections On My Own Journey - Posted May 30, 2008
Ask Ben: Dynamically Executing ColdFusion Application.cfc Instances - Posted May 30, 2008
POIUtility.cfc - "Too Many Fonts / Formats" Issue Fixed - Posted May 29, 2008
HotFix For "The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory" - Posted May 29, 2008
ColdFusion, jQuery, And "AJAX" File Upload Demo - Posted May 28, 2008
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize) - Posted May 28, 2008
CFHttpSession.cfc Fixed And Added To Projects - Posted May 28, 2008
Malcolm Gladwell, Transactive Memory, And Pair Programming - Posted May 27, 2008
Array Iteration Is Much Faster That Struct Iteration (Thanks Eric Stevens) - Posted May 27, 2008
Updated: Converting A ColdFusion Query To CSV Using QueryToCSV() - Posted May 27, 2008
Ask Ben: Working With Inconsistent XML - Posted May 23, 2008
Bug With ARGUMENTS Scope And Implicit Array / Struct Creation - Posted May 23, 2008
Deleting XML Node Arrays From A ColdFusion XML Document - Posted May 23, 2008
Testing For The Absence Of A Text Node Using XmlSearch() And XPath - Posted May 22, 2008
Text Nodes Do Not Always Exist In A ColdFusion XML Document - Posted May 22, 2008
The ColdFusion Mail Spool Encountered An Invalid Spool File In The Spool Directory - Posted May 21, 2008
XmlSearch() Ignores CDATA Sections In ColdFusion XPath - Posted May 21, 2008
Converting A ColdFusion Query To CSV Using QueryToCSV() - Posted May 19, 2008
The Philosophy Of Undocumented ColdFusion Features - Posted May 16, 2008
Ask Ben: Working With Lists In An Object Oriented Programming Application - Posted May 15, 2008
Eric Stevens On CFContent And Memory Usage In ColdFusion 8 - Posted May 14, 2008
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory - Posted May 14, 2008
Creating Semi-Secure File Downloads Without Using CFContent - Posted May 14, 2008
OOP Data Validation Using Validation Behaviors In ColdFusion - Posted May 13, 2008
HostMySite.com Has The Best ColdFusion Hosting - Posted May 12, 2008