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 CFinNC 2009 (Raleigh, North Carolina) with:

Kevin Boudloche

Member since Sep 6, 2010

Recent Blog Comments By Kevin Boudloche

  • Learning ColdFusion 9: Understand ORM Events (Thanks John Whish!)

    Posted on Apr 2, 2014 at 2:30 PM

    I didn't, but adding it didn't change anything. (tried true as well.) I still had to use ORMFlush for it to be called.... read more »

  • Learning ColdFusion 9: Understand ORM Events (Thanks John Whish!)

    Posted on Apr 1, 2014 at 2:41 PM

    I'm currently using these events to automatically create revision history of several different entity types and was having a lot of trouble with preDelete. It seems as though preDelete won't fire at all unless I use ORMFlush manually, letting it flush at the end of the request isn't enough. Is this ... read more »

  • Robust CFScript Suport For Tags In ColdFusion 11 Beta

    Posted on Feb 24, 2014 at 12:27 PM

    I like the cf leading the script version of the tag, it makes it easy to differentiate a tag-based cfscript use vs a regular function. I also like the added parentheses to wrap the attributes. I hope railo follows suit so that I can use that syntax.... read more »

  • Clearing Inline CSS Properties With jQuery

    Posted on Jan 15, 2013 at 1:14 PM

    @Omer That depends on what browser you are using. In most browsers it doesn't matter, but in firefox, using just the classname appears to be a little faster. http://jsperf.com/class-selector-with-or-without-tagname In either case, the difference is too small to waste time on.... read more »

  • Are HTML FORM Tags Required To Display Form Input Controls?

    Posted on Oct 29, 2012 at 10:42 AM

    I definitely prefer including the form tags simply because I'm more comfortable binding to the submit event, and pressing enter to submit a form is second nature for someone who uses forms often or in an application with many forms. Sure, I could add a key event to catch the enter key, but that fe... read more »

  • Experimenting With GitHub Gist-Based Code Samples For My Blog

    Posted on Jan 16, 2012 at 2:04 PM

    I'm seriously looking at this syntax highlighter: http://code.google.com/p/google-code-prettify/ It is meant for being included on the finished html page, but you could use this in a CMS to pre-format the code and save out as html. It doesn't support cfml, however it couldn't be too hard to take... read more »

  • Loading GitHub Gists After The Page Content Has Loaded

    Posted on Jan 13, 2012 at 5:33 PM

    The syntax highlighting seems to be very minimal in a Gist, it doesn't highlight enough in my opinion. For example, coloring strings, special keywords such as var, etc. I still have plans to roll my own one day built into my markdown editor.... read more »

  • What CSS Properties Are Supported When You Drop IE6 Support

    Posted on Jan 5, 2012 at 12:19 PM

    @Jason We have chrome frame implemented for IE6, however, we only have a very small percent of our IE6 users who actually use it (which makes sense.) If they are too lazy or not computer literate enough to upgrade IE6 (or simply hate google), why would they install google chrome frame?... read more »

  • Generating Random Passwords In ColdFusion Based On Sets Of Valid Characters

    Posted on Sep 21, 2011 at 1:59 PM

    @David I usually just use <cfcontent type="application/json" reset="true"><cfoutput>#myvar#</cfoutput><cfabort> replacing application/json based on the kind of data i'm returning. for example, text/plain text/html or text/xml etc.... read more »

  • Using Google's Targeted Site Search Protocol To Search My Site

    Posted on Sep 20, 2011 at 4:32 PM

    @WebManWalking: I wouldn't consider it a downside, they aren't using the site map. What actually happens is when you use a search box on a website that uses url parameters such as q or term, Google Chrome will recognize the result page as a search engine and store it in your settings as a search en... read more »

  • Using Google's Targeted Site Search Protocol To Search My Site

    Posted on Sep 19, 2011 at 6:32 PM

    Haha, this feature is actually more than a year old. Basically, if you are in google chrome and use a site's search, google chrome can sometimes recognize that search page as a search page and use it instead of google site search when you use the google chrome address bar.... read more »

  • Using Google's Targeted Site Search Protocol To Search My Site

    Posted on Sep 19, 2011 at 3:54 PM

    @Ben, This actually looks like a new feature of Google Chrome, it is happening for a very wide variety of sites for me. If the site has a built-in search, it is using that site's search rather than google search. I'm using version 13.... read more »

  • Using Google's Targeted Site Search Protocol To Search My Site

    Posted on Sep 19, 2011 at 3:06 PM

    I noticed something odd just now... I was on the google home page in google chrome. In my address bar, I typed "www.bennadel.com scheduled tasks", and it sent me to your old search page (which of course returns 0 results). How would that automatically send me to your search page?... read more »

  • ColdFusion, jQuery, And "AJAX" File Upload Demo

    Posted on Sep 6, 2011 at 11:25 AM

    The way you are getting the content of the iframe jBody.html() results in characters such as & < and > being converted to &amp; &lt; and &gt;. To prevent that, I used jBody.text() The only place where that doesn't work is if you have html inside the json. In that c... read more »

  • Learning ColdFusion 8: Javascript Object Notation (JSON) Part III - AJAX Demo

    Posted on Aug 11, 2011 at 3:24 PM

    After posting, I decided to google around a little. Here's what I came up with: http://www.coldfusionjedi.com/index.cfm/2009/3/11/Writing-a-JSONP-service-in-ColdFusion... read more »

  • Learning ColdFusion 8: Javascript Object Notation (JSON) Part III - AJAX Demo

    Posted on Aug 11, 2011 at 3:21 PM

    Assuming you are using javascript to consume the webservice, the json would need to be converted to jsonp by coldfusion, and your javascript would need to look for jsonp instead of json. I'm still stuck with coldfusion MX 6, so I'm not sure how you would modify Ben's code to return jsonp instead.... read more »

  • Ask Ben: Handling Errors With ColdFusion CFError

    Posted on Sep 10, 2010 at 9:55 PM

    I haven't run into any issues as far as disabled functions go other than createObject(), and that only came around when I wanted to try out the CFFormProtect. Of course, all I'm running is a simple blog, I really don't use that many tags. For what I'm doing, GoDaddy works fine as long as I can keep ... read more »

  • Ask Ben: Handling Errors With ColdFusion CFError

    Posted on Sep 6, 2010 at 9:31 PM

    I am using onError(), guess I should have specified that too. As far as createObject() being missing, I really do miss it be cause I find it so useful at work. Godaddy just wont let you use it, so I have to find other methods to get the same result. You get what you pay for. One day I hope to be ab... read more »

  • Ask Ben: Handling Errors With ColdFusion CFError

    Posted on Sep 6, 2010 at 2:09 PM

    @myself: once again, I answer my own question. The values I'm looking for are inside of the rootcause variable, and to get to them with godaddy I have to loop through the collection and evaluate each item.... read more »

  • Ask Ben: Handling Errors With ColdFusion CFError

    Posted on Sep 6, 2010 at 1:48 PM

    I'm trying to implement this on my GoDaddy Shared Hosting server. one of the issues with it is that I cannot cfdump arguments.exception because it apparently uses createObject. I've gotten around it by outputting the values, such as ARGUMENTS.exception.name, but the values are all weird. the name is... read more »