Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the New York Javascript Meetup (Aug. 2010) with:

Brad Wood

Member since Dec 11, 2008

Recent Blog Comments By Brad Wood

  • CFFinally Tag Will Execute Even After An Abort In ColdFusion

    Posted on Jul 19, 2014 at 12:48 PM

    That's the point of finally tags-- they always, always, ALWAYS execute. In lower level languages like Java, that behavior is imperative. Otherwise you'd end up with file and socket streams left open, etc. It is interesting that the finally location executes. It must mean that CF somehow queues u... read more »

  • Building A Twitter-Inspired RESTful API Architecture In ColdFusion

    Posted on Feb 28, 2014 at 3:49 PM

    Cool dive into REST. I like how you laid the groundwork for how REST worked before diving into it. And since everyone else has given a shout out to their favorite REST framework in the comments, I wanted to make sure anyone reading know that ColdBox MVC has had really easy REST baked into it since... read more »

  • Using ObjectSave() And ObjectLoad() With Non-ColdFusion-Component Data Types

    Posted on Feb 13, 2014 at 10:23 PM

    For deserializeJSON() to give you queries back, you have to set the "strictMapping" parameter to false. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_43.html I've never understood why that wasn't the default since I would expect to get back what I put ... read more »

  • CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9

    Posted on Apr 5, 2013 at 4:59 PM

    Does anyone ave recent bug base links from the above comment thread? Now, that the Flex version of the bugbase isn't used, all those links are dead, and it's bloody impossible to search the new bugbase for the original bug id.... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 16, 2010 at 4:23 PM

    "Why doesn't that query realize the table doesn't exist in the FROM and choke?" It does exist. It's a derived table (SELECT '' AS test) which I aliased as "r". Technically the FROM clause isn't required since SQL Server will give you a result set if you just do "SELECT '' AS foo" but I wanted an ... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 16, 2010 at 2:11 PM

    @Shannon: if you need a ColdFusion query object with crazy names and don't mind being really sneaky (and a little dirty)-- just ask your database to return that query for you. The following code will return an empty result set (This works with CF8 and SQL Server 2000) <cfset mycolumnList = []&g... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 15, 2010 at 11:43 PM

    "This got me wondering if the cfquery tag uses a different java library to build its queries than the QueryNew() function and the QueryAddColumn() function." If I were a betting man, I would guess you might find your answer in : <ColdFusionHome>\lib\cfusion.jar\coldfusion\tagext\sql\QueryTag.... read more »

  • OOP Getters() And Setters() - A New Programmer's Frustration

    Posted on Jan 25, 2010 at 3:33 PM

    I beleive the gist is this-- You should ask objects to do things for you. You shouldn't ask an object for a bunch of information and then do something with it. Google "anemic domain model" I'm not saying it's bad to have gets and sets, but if that is ALL your objects ever have then where is your ... read more »

  • Creating Globally Accessible User Defined Functions In ColdFusion (Safer Version)

    Posted on Dec 13, 2009 at 5:51 PM

    "create a base Component that all of the other CFC's extend" ColdFusion already has a base component that all components extend. Its called located here: WEB-INF/cftags/component.cfc :)... read more »

  • Creating Globally Accessible User Defined Functions In ColdFusion (Safer Version)

    Posted on Dec 8, 2009 at 6:56 PM

    "All to say, we really need a native way to do this (ala Railo)" FWIW, at one time Adobe listed a feature of CF10 (codename Link) as "Pluggable Architecture". http://www.codersrevolution.com/index.cfm/2008/9/17/A-Look-Into-ColdFusions-Future-Centaur-Sully-Link Sadly though, the latest version o... read more »

  • Five Months Without Hungarian Notation And I'm Loving It

    Posted on Nov 20, 2009 at 1:12 PM

    > Did you use the healing brush? Actually, I think that was the torture and disfigure brush. It's hidden in one of the sub-menus. If Dave Watts were here he'd link to this article and remind us that true Hungarian notation isn't actually just prefixing variable names with their type. http://... read more »

  • Five Months Without Hungarian Notation And I'm Loving It

    Posted on Nov 19, 2009 at 10:34 PM

    I had to click the link. I just had to....... read more »

  • Thoroughly Document Your Use Of ColdFusion's CFHTMLHead Tag

    Posted on Oct 12, 2009 at 3:04 PM

    @David: What version of ColdFusion did you test that with? I am on 8.0.1 and the getCFHtmlHead function errors on the line with local.out.getClass().getDeclaredField("headerBuffer"). It appears that my version of ColdFusion doesn't have a headerBuffer field in the NeoBodyContext class, but insead ... read more »

  • Passing A Function To jQuery's Attr() Method For Implicit Iteration

    Posted on Oct 7, 2009 at 12:35 PM

    @Steven: Around line 1855 in my v1.3.3pre of jQuery are the following bits: jQuery.fn.extend({ attr: function( name, value ) { This is what code runs when you call the attr() method of a jQuery object. You will see the first line is this: var elem, options, isFunction = jQuery.isFunction(value... read more »

  • Passing A Function To jQuery's Attr() Method For Implicit Iteration

    Posted on Oct 7, 2009 at 11:47 AM

    I'm sure it wouldn't make much of a difference unless you were doing it thousands of time. And if you are, I bet the FireBug profiler would give you some good stats on which one was faster.... read more »

  • Learning ColdFusion 9: A Bug With File-Based Object Caching

    Posted on Jul 22, 2009 at 7:00 PM

    Ben, what happens when you turn on trusted cache? What if the temp file contained a cfcomponent tag and you created and cached an instance of that component instead of just a reference to the UDF?... read more »

  • OOP Getters() And Setters() - A New Programmer's Frustration

    Posted on Oct 14, 2008 at 11:17 AM

    @Ronny: "using OOP methods and practices in a language that doesn't really support real OOP." How do you define "real" OOP? The way Java does it? If you are suggesting CF isn't OO I would disagree, but I would admit that do to the structure of the language (dynamically typed) and some drawbacks ... read more »

  • OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?

    Posted on Sep 13, 2008 at 4:31 PM

    Ok, so now that you have explained how you separate out the variables, can you tell me why? If you as the writer of the component know the difference between the object's data, what benefit do you get from placing it in a different place? Is that in case you forget later, or do you have some dyn... read more »

  • OOPhoto - What Is An Idealized Object?

    Posted on Aug 20, 2008 at 12:22 PM

    Good thoughts here Ben. My first thought about the related articles was kind of like Gareth's, but I don't know if I am a fan of the whole service thing yet. I asked myself "what object contains or better yet, 'knows' about your articles?" I would be tempted to have a blog object or site object... read more »

  • OOPhoto - Another Attempt At Learning Object Oriented Programming (OOP) In ColdFusion

    Posted on Jul 1, 2008 at 10:58 AM

    Cool Ben, I can't wait to see the project take shape! ~Brad... read more »