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 ColdFusion User Group (Jan. 2009) with:

George Bridgeman

Member since Dec 11, 2008

Recent Blog Comments By George Bridgeman

  • Bidirectional Data Exchange With ColdFusion's CFThread Tag

    Posted on Aug 12, 2010 at 12:46 PM

    @Ben, It's completely different. It's like your var-scoped variables in a cffunction being modified mid-call by an outside process. Threads aren't designed as a means to solely encapsulate logic - that's what methods in a CFC are for. A thread is a bunch of logic which runs effectively as a proce... read more »

  • Bidirectional Data Exchange With ColdFusion's CFThread Tag

    Posted on Aug 12, 2010 at 11:52 AM

    This is probably actually a bug in cfthread! Modifying a thread's state at runtime is incredibly dangerous as the caller has no idea what state the thread is in so you could end up putting your threads into a broken, invalid state. It's the reason why object attributes to cfthread are deep copied. ... read more »

  • From Windows To Mac - A Roller-Coaster Of Emotions

    Posted on Aug 10, 2010 at 9:26 AM

    Another vote for TextWrangler. I've looked at TextMate a lot before and it's awesome but there's not enough there to justify the $50 purchase for me. I use Eclipse with cf_eclipse installed. Tried CF Builder when it was in beta and really didn't care for it too much. If it was free I might've tried... read more »

  • Learning ColdFusion 8: CFThread Part II - Parallel Threads

    Posted on Jun 16, 2010 at 9:45 AM

    @Ben I'm all too aware of the deep copy issue - it's alright if you're only passing primitives to your threads but I had an issue a while back where someone was passing entire CFCs, unaware that CF was making a deep copy. Needless to say, I had to change that because of memory issues. Garbage coll... read more »

  • Learning ColdFusion 8: CFThread Part II - Parallel Threads

    Posted on Jun 16, 2010 at 9:22 AM

    You shouldn't need to 'page' your threads. ColdFusion has a maximum number of threads that it will allow to run at time - the setting is in CF Admin in Server Settings -> Request Tuning (on CF9 anyway; might be elsewhere in 8). The default for 'Maximum number of threads available for CFTHREAD' i... read more »

  • Creating An Infinite Scroll Effect With jQuery And ColdFusion

    Posted on Jan 4, 2010 at 11:03 AM

    We've had this on our site for a while now as well. You'll find that when you start testing with other browsers and more complicated content, the problem isn't as simple as you'd imagine. Once you get variable height list items, dynamic content (images, etc) and suchlike, height calculations become ... read more »

  • Building Single-Page Applications Using jQuery And ColdFusion With Ben Nadel (Video Presentation)

    Posted on Oct 15, 2009 at 9:07 AM

    @Ben I think you're missing the point. You can certainly expect *users* to have JS turned on. Spiders (or robots, or crawlers, or whatever you want to call them), however, cannot be expected to parse JS. The GoogleBot is such a spider. If your site doesn't work at all without having JS turned on, ... read more »

  • Building Single-Page Applications Using jQuery And ColdFusion With Ben Nadel (Video Presentation)

    Posted on Oct 12, 2009 at 4:48 AM

    Good demo but there's one major problem with the AwesomeContacts application; it doesn't work at all without JavaScript turned on. This won't be a problem for the vast majority of users but will cause issues for spiders; especially GoogleBot. Spiders don't use JavaScript so Google won't be able to ... read more »

  • Learning ColdFusion 8: CFThread Part II - Parallel Threads

    Posted on Aug 24, 2009 at 8:49 AM

    @Peter, I can't remember what we used for activeHandlerThreads and minHandlerThreads; the sysadmins deal with all this sort of stuff but I figured as it gave us such a performance gain I'd post it here. I know we started at around 1000 for each but it's no doubt been refined since we first discover... read more »

  • Adobe Launches ColdFusion 9 And Bolt Public Betas

    Posted on Jul 13, 2009 at 8:48 AM

    I'm not too fussed about CF9. There don't seem to be many new features I'm after, other than the ability to write an entire CFC using cfscript. I've looked through the 'Whats new' pages and there just isn't anything game-changing from what I can see. The one thing I was hoping for was the ability to... read more »

  • Learning ColdFusion 8: CFThread Part II - Parallel Threads

    Posted on Jun 25, 2009 at 11:09 AM

    A quick note for anyone using cfthread on servers with high load running code which creates a large number of threads on multi-core processors... Even if you increase the 'Maximum number of threads available for cfthread' in CF Administrator, your app may be throttled by JRun. If you're getting thr... read more »

  • Exploring Mixins And ColdFusion Components

    Posted on Apr 2, 2009 at 6:03 AM

    Good post. Sean Corfield posted about mixins a while ago and there's some interesting banter in the comments here: http://corfield.org/blog/index.cfm/do/blog.entry/entry/Mixins I have to say I think mixins are a horrible 'pattern'. If you use them in even a medium scale project you can run into d... read more »

  • What Chinese Food Has Taught Me About Life

    Posted on Mar 26, 2009 at 3:12 PM

    @Ben "But, I think we all know what really happens - you suck it up, go the month, then pay for the product and start using. And, why do you/we do this? Because the product is still worth what we thought it was going to be worth before we commissioned it. If it wasn't we wouldn't buy it." You're c... read more »

  • What Chinese Food Has Taught Me About Life

    Posted on Mar 26, 2009 at 5:49 AM

    You could have bought raw chicken and cooked it yourself but you didn't, either because you can't, or you can't be bothered. Hence you are paying for the convenience of them cooking the chicken as well as the chicken itself. I'd not have paid. Period. I've had several food deliveries take an hour a... read more »

  • How Do I Call Methods On ColdFusion Components In Java

    Posted on Mar 15, 2009 at 8:37 AM

    Eric, For the most part, CFCProxy does indeed need to be running in ColdFusion's JVM. I'd use web services in your case. Very, very easy to set up from your CF code and easy to call, too. George.... read more »

  • Storing Property Data In Javascript Function Objects

    Posted on Mar 10, 2009 at 11:01 AM

    Not only can you do that but you can have private, privilaged and public members. http://javascript.crockford.com/private.html... read more »

  • How Do I Call Methods On ColdFusion Components In Java

    Posted on Mar 9, 2009 at 7:06 AM

    Accidentally posted before finishing! I'll clean the code up a little this week and email it over to you so you can see how to call CFC methods from Java on an existing CFC from inside a request.... read more »

  • How Do I Call Methods On ColdFusion Components In Java

    Posted on Mar 9, 2009 at 7:03 AM

    Sorry for the late reply... didn't get an email when you posted a response and only just came back to check. Yes, I managed to call functions inside a CFC from Java. That part is (relatively) straight-forward. I did it a different way to how it's described here, but Ben Forta released some document... read more »

  • How Do I Call Methods On ColdFusion Components In Java

    Posted on Mar 5, 2009 at 2:11 PM

    Ben Did you figure this out in the end? I spent a fair bit of time a while ago calling methods on CFCs from Java in order to write a SAX parser I could use in ColdFusion. That was fairly straight-forward as everything was done in the same request to a CFM. I've now hit a dead-end when trying to ca... read more »

  • Making My ColdFusion Tags More Consistent

    Posted on Feb 13, 2009 at 12:30 PM

    Incoming rant... Does it really matter? I've never worked at a company where they have even remotely rigid code conventions and I can't imagine ever doing so. Does it really make a difference if I don't always put attributes in the same order for the same tag? Try implementing something like th... read more »