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 Scotch On The Rocks (SOTR) 2011 (Edinburgh) with:

Doug

Member since Jul 24, 2009

Recent Blog Comments By Doug

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Jul 22, 2011 at 10:59 AM

    @Matt - Sounds like a caching problem. I think jQuery has a "cache" true/false feature, but not 100% sure. Anyway, I always just add "?cache=#TimeFormat(Now(),'hhmmss')#" to all of my ajax URL's.... read more »

  • Throwing And Catching A File Using CFHttp For Both Actions

    Posted on Nov 1, 2010 at 11:12 PM

    @Ben, Cool, I'll check it out. The one I linked to above works in everything except IE. I've gotten it to work with the "PUT" method, but I'm struggling a little bit with the normal "POST" fallback option. I'm sure I'll figure it out. Thanks.... read more »

  • Throwing And Catching A File Using CFHttp For Both Actions

    Posted on Oct 29, 2010 at 2:53 PM

    @Ben I think I answered my own question. Looks like you can grab the XHR data using ColdFusions "GetHttpRequestData()" function. So to capture the file and save you would do something like this: <cfset xhr_data = GetHttpRequestData() /> <cffile action="write" file=&qu... read more »

  • Throwing And Catching A File Using CFHttp For Both Actions

    Posted on Oct 29, 2010 at 1:54 PM

    Hey Ben, I've been playing around with drag-n-drop uploads using jQuery and XMLHttpRequest Level 2. Check out: http://onehub.com/blog/posts/designing-an-html5-drag-drop-file-uploader-using-sinatra-and-jquery-part-1 Basically it's a PUT method and not sure if this relates with exactly what you a... read more »

  • ColdFusion Email Validation, IsValid(), And CFMail Errors

    Posted on Aug 8, 2010 at 7:10 PM

    Ok, so it's just the isValid function that is using that simple regexp. That makes sense then. Cool. As always, thank for the informative response! (And on a Sunday to boot!) -Doug... read more »

  • ColdFusion Email Validation, IsValid(), And CFMail Errors

    Posted on Aug 8, 2010 at 6:47 PM

    So, I found what I think is the ultimate EMAIL validation script. It was created using PHP by Dominic Sayers and apparently it's the best one out there. It follows the email spec to a T. I began to convert it into a nice CFFUNCTION, but then I ran across your post here. So just to clarify somethin... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Apr 26, 2010 at 1:18 PM

    @Randall, you either need to output text/plain content like: <cfset binResponse = ToBinary( ToBase64(strOutput ) ) /> <cfcontent reset="true" /> <cfheader name="content-length" value="#ArrayLen( binResponse )#" /> <cfcontent type="text/html" variable="#binResponse#" /> o... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Apr 21, 2010 at 5:45 PM

    @Randall - Forgot to mention. You might have to set the access type for the function. i.e. access="remote" or access="public".... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Apr 21, 2010 at 5:41 PM

    @Randall - No problem, you don't have to use jQuery. I was just using that as an example. Like Peter Hanley mentioned you can call any function in a CFC by using the url: http://path/to/[CFCname].cfc?method=[cffunctionName]&[URL_Param]=whatever So whatever your using to do your AJAX call, just use... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Apr 21, 2010 at 5:08 PM

    @Randall - All you have to do is use something like $.getJSON (jQuery) to do your call and pass any arguments along. You pass the function name in the parameters and use the variable "method" to specify your function. Something like this: $("/site/page.cfc?method=MYFUNCTION&MYVAR=0",function( resul... read more »

  • ColdFusion File Explorer - Round One

    Posted on Apr 21, 2010 at 9:44 AM

    @Ben Nadel, Thanks!... read more »

  • ColdFusion File Explorer - Round One

    Posted on Apr 20, 2010 at 7:50 PM

    I've had some code on my site for awhile that was meant to be a tutorial for a file browser. I finally decided to release "my internal version" that I had been using, to the public: http://www.cjboco.com/projects.cfm/project/cj-file-browser/3.1.0 It's interface is completely written in jQuery an... read more »

  • CFMail: CFMAILPARAM Used to Embed Images in Email

    Posted on Oct 28, 2009 at 12:49 PM

    I have a weird problem where the image is embeded inline like it should, but it's also showing the image at the bottom of the email message. i.e. the same image is being displayed twice. Not sure if this my email program (Mac OS X Mail.app) or if I'm doing something wrong. Has anyone else experienc... read more »

  • HostMySite.com Has The Best ColdFusion Hosting

    Posted on Sep 11, 2009 at 1:52 PM

    I wanted to follow up with my experience using HostMySite. First of all, I want to state that I think there quality of service really depends on the type of site you are hosting with them. Just by reading this thread you can tell that some people are having problems and some aren't. MY personal expe... read more »

  • HostMySite.com Has The Best ColdFusion Hosting

    Posted on Jul 24, 2009 at 2:45 PM

    @ Paolo - I feel your pain. In another life I would find this funny, but for a company who's business it is to HOST WEBSITES, it downright sad the quality of service you get. In my 13 years of dealing with hosting companies, I can truly say that I have never dealt with such an unprofessional compan... read more »

  • HostMySite.com Has The Best ColdFusion Hosting

    Posted on Jul 24, 2009 at 1:52 PM

    Just to follow up, for those playing along at home. I am still having major issues with HostMySite.com. The problem mentioned above is still going on and at this point, its not looking like I will be recommending them to any of my clients in the future. The above message was posted on July 17th, th... read more »