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: Simon Free

David Stamm

Member since Dec 11, 2008

Recent Blog Comments By David Stamm

  • Content Is Not Allowed In Prolog - ColdFusion XML And The Byte-Order-Mark (BOM)

    Posted on Apr 22, 2008 at 12:46 PM

    Ben, you are wicked smart. :) If anyone is nerd enough to seek further reading, I highly recommend Wikipedia's information on this subject. I just looked up byte order marks and endianness (big-endian vs. little-endian) and I learned a ton.... read more »

  • Defaulting To The Numeric Keyboard On The iPhone

    Posted on Apr 15, 2008 at 8:24 AM

    You're crazy! Sorry, couldn't resist. :) I just tried it (changing form field names with JS) and it worked just fine in FF2 and IE6. This approach is still pretty kooky. But what I like about it is that you can develop your interface as you normally would, and then layer on the kooky behavior f... read more »

  • Defaulting To The Numeric Keyboard On The iPhone

    Posted on Apr 14, 2008 at 4:31 PM

    What happens when you dynamically change the name attribute of the form field with JavaScript? Does this change the default keyboard as well? If this seriously interferes with usability, you could have JS change the form field names on page load, and then revert them right before page load. I'm n... read more »

  • Initial Thoughts On POI Utility ColdFusion Custom Tag Output

    Posted on Mar 13, 2008 at 9:56 PM

    This looks really awesome, Ben! I think it's particularly clever to spend considerable time up front to craft a usable and pleasant API. We developers often get so excited by code that we dive into the implementation a little too soon. I think the success of technologies from ColdFusion to jQuery... read more »

  • Custom User Agents For ColdFusion Debugging

    Posted on Mar 7, 2008 at 2:50 PM

    Yet another clever hack! Well played, Ben. :) The security concerns that have been raised in the comments could be addressed at least in part by replacing "DEVELOPER" with something relatively impossible to guess. After all, sending along an identifier string with a request is exactly how cookie... read more »

  • Odd MySql CFQueryParam Truncation Issue (Help)?

    Posted on Feb 28, 2008 at 10:48 AM

    I'm not sure I understand where the value being passed to cfqueryparam is coming from? Is it calculated in CF or in SQL? Either way, it raises the philosophical question: if you're not passing values directly from the user to the SQL statement, do you really need to use cfqueryparam? The value of... read more »

  • EasyCaptcha() For Multi-Image CAPTCHA Creation

    Posted on Feb 11, 2008 at 11:06 AM

    @Todd, I hadn't heard about that scam! You have to admit that's rather clever. If your software can't beat the Turing test, then you just trick some humans into helping you. Could be a great plotline on The Sarah Connor Chronicles! In all seriousness, any individual CAPTCHA technique is only go... read more »

  • Hank Hill On ColdFusion

    Posted on Feb 6, 2008 at 10:16 AM

    Wow, that was a hilarious video! I particularly liked the line "Do you actually know CORBA?" I sometimes wish the ColdFusion community had a discernible culture of some sort. The Perl community are so agreeable, with their Perl poetry and plain-old-documentation. Java folks tend to be a little a... read more »

  • Creating Thread-Safe Components With OnMissingMethod()

    Posted on Dec 5, 2007 at 1:48 PM

    @Elliott, Wow - that is one cogent and well-sourced response! The links you sent portray concurrency as a major blind spot for Java developers. Even those working with multithreaded programming way up in the ColdFusion abstraction layer would do well to proceed with caution. Thanks for taking th... read more »

  • Creating Thread-Safe Components With OnMissingMethod()

    Posted on Dec 5, 2007 at 12:41 PM

    Perhaps Elliott could explain the difference between synchronized and thread-safe? I thought they were synonymous. Apparently, so did the authors of the Java 1.4 API docs for the Collections object: http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collections.html #synchronizedCollection(java... read more »

  • Alf Pedersen On NULL Value Usage In Database Design

    Posted on Nov 21, 2007 at 12:29 PM

    This is a thoroughly interesting discussion! My thanks to all those doing the thinking and writing. :) It's easy for developers who are contending with deadlines, customers, and uncooperative applications to get impatient with theory. But I think a healthy respect for theory can make you a bette... read more »

  • Alf Pedersen On NULL Value Usage In Database Design

    Posted on Nov 20, 2007 at 11:37 AM

    @Ben, Thanks for the link, Benihana! Good to see a DB expert with a sense of humor for a change. :) One system I worked on used NULL values to indicate if a given value had been provided yet. The public-facing application was basically a wizard with many many forms. Users had the option of sav... read more »

  • Exercise List: Incorporating OOP Style Form Validation

    Posted on Nov 19, 2007 at 4:29 PM

    @Ben, My bad! I totally misunderstood your excellent code. That hint property should prove most useful for debugging, I imagine. Rock on! While I'm annoying you anyway, have you ever messed around with custom exception handling in ColdFusion? You can throw and catch exceptions with dot-separat... read more »

  • Exercise List: Incorporating OOP Style Form Validation

    Posted on Nov 19, 2007 at 4:09 PM

    @Ben, I've noticed that your ErrorCollection CFC treats errors like messages, or strings. Are you concerned about passing an error message directly from your validation logic to your user interface? You're asking service and domain objects to come up with friendly messages for the user interface.... read more »

  • Exercise List: Rethinking The Domain Model / Object Oriented Approach

    Posted on Nov 8, 2007 at 10:13 AM

    @Peter, I dig what you're saying. Maintainability is key. Encapsulation, cohesion, coding to interfaces... it all makes sense even with a page request, if your system is complex enough. I guess I've yet to fall in love with ColdFusion's implementation of OO concepts. It feels a little clunky a... read more »

  • Exercise List: Rethinking The Domain Model / Object Oriented Approach

    Posted on Nov 7, 2007 at 3:54 PM

    I personally think that OOP and MVC rock the hizzy when it comes to GUIs. Once you've taken the time to model your business logic as objects, you can reuse it with a variety of UIs without any recoding. Does your Employee object care about layout and color schemes? Heck no! But I am still skeptic... read more »

  • Exercise List: Rethinking The Domain Model / Object Oriented Approach

    Posted on Nov 7, 2007 at 1:40 PM

    @Ben, Have you ever perused Martin Fowler's catalog of enterprise design patterns? http://www.martinfowler.com/eaaCatalog/ I am by no means a design patterns junkie (as so many are in the CF world these days) but I have found this catalog to be a great source of ideas when thinking about web ap... read more »

  • Splitting And Joining A Binary File In ColdFusion

    Posted on Nov 2, 2007 at 10:19 AM

    @Ben, I just took a binary variable created with <cffile action="readbinary"> and looked under the hood with my handy getClassInfo() reflection function. The variable is an instance of this Java class: [B WTF? Anyone know what a [B is? Some sort of pointer? The class implements the Seri... read more »

  • Splitting And Joining A Binary File In ColdFusion

    Posted on Nov 1, 2007 at 2:14 PM

    I just noticed: your comment for the first CreateObject call says: "Create an instance of the static ByteBuffer class so that we can refer to it multiple times." I think it's more accurate to say you are loading the ByteBuffer class so that you can call its static methods. Static methods are the c... read more »

  • Splitting And Joining A Binary File In ColdFusion

    Posted on Nov 1, 2007 at 2:11 PM

    Another excellent example of ColdFusion and Java rocking like it's 1999. Much obliged! Splitting and joining binary files is quite useful when you're uploading or downloading files. You can also build a file one byte at a time with classes like BufferedInputStream, but that's a whole other story.... read more »