Martijn van der Woud
Member since Feb 14, 2010
- Profile: /members/5438-martijn-van-der-woud.htm
- URL: http://www.crimsoncrIcket.com
- Comments: 10
Recent Blog Comments By Martijn van der Woud
-
How Client-Side Validation Is Changing The Shape Of Server-Side Validation
Posted on Dec 29, 2011 at 3:59 PM
@Gary, What about people who are, for instance, visually handicapped and use screen readers, or people who need some other special technolgy to be able to take part in online interaction? Will they be able to use your Javascript-based thick-client application? Sometimes this is not an issue of cou... read more »
-
How Client-Side Validation Is Changing The Shape Of Server-Side Validation
Posted on Dec 29, 2011 at 11:36 AM
Hi Ben, Interesting stuff as always. One question: At the end of your last example you return a JSON response to the browser like this: toBinary( toBase64( serializeJSON( .... Any particular reason for the back-and-forth conversion between base 64 and binary? I think I 've seen you do it before,... read more »
-
I Finally Understand The Finally Part Of A Try/Catch Control Statement
Posted on Mar 23, 2011 at 1:54 PM
@Ben, @Julian I just did a quick check: it turns out that cfrethrow DOES preserve the original call stack info, so Julian was right and I remembered it wrong. (I checked it in Adobe CF8)... read more »
-
Creating ColdFusion Proxy Components With ColdFusion 9's GetFunctionCalledName()
Posted on Feb 9, 2011 at 3:13 PM
Ehm, actually it is identityHashCode(). That matters, since Java is obviously case sensitive. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/System.html#identityHashCode (java.lang.Object)... read more »
-
Creating ColdFusion Proxy Components With ColdFusion 9's GetFunctionCalledName()
Posted on Feb 9, 2011 at 3:10 PM
As for pointer reference equality, I know that MXUnit uses the java.lang.System.identityHashcode() method for its implementation of assertSame(). It seems to be working perfectly across different platforms.... read more »
-
The Occasional Danger Of ColdFusion's Automatic Data Type Conversion
Posted on Feb 9, 2011 at 3:13 AM
@Ben, I tried comparing node references by looking at their java.lang.System.identityHashCode() values. I turned out that two references to the same node have different hashcode values. It appears that XML nodes are passed by value, not reference. This is somewhat surprising, because the XML docum... read more »
-
The Occasional Danger Of ColdFusion's Automatic Data Type Conversion
Posted on Feb 8, 2011 at 7:07 AM
+1 for Helgi's question: how do you check if two XML node objects are actually the same instance?... read more »
-
BenNadel.com Gets Its First Valentine!
Posted on Feb 14, 2010 at 2:15 PM
I am speechless! This must be your lucky day! ;-P But seriously Ben, you deserve to be praised. This girl probably did us all a favour by heightening your motivation. ;)... read more »