Community Member Profile
- Profile: /members/2528-Henry-Ho.htm
- URL: http://henrylearnstorock.blogspot.com
- Comments: 32
- Points: 203
Recent Blog Comments By Henry Ho
-
Converting An IP Address To An Integer Using MySQL (Thanks Julian Halliwell)
Posted on Jan 29, 2010 at 1:26 PM
Any eqv functionality for MS SQL?... read more »
-
Java's AtomicInteger vs. ColdFusion Named-Locking For Incrementing Values
Posted on Jan 5, 2010 at 9:01 PM
Related question I had on Stackoverflow: http://stackoverflow.com/questions/1811406/thread-safe-sequential-number-generator-in-coldfusion I'm now using AtomicIntege... read more »
-
Using Multi-Part Class Paths With CFScript-Based Argument Types
Posted on Dec 30, 2009 at 2:13 PM
wouldn't it be nice to support: component { void function foo(com.xyz.bar bar) {} } pls vote: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.h... read more »
-
Using Double Not-Operator (!!) For Boolean Type Casting
Posted on Dec 14, 2009 at 3:25 PM
FYI JavaScript: The Good Parts, and http://www.jslint.com/ , suggest us to use === or the !=== operator instead.... read more »
-
Creating Globally Accessible User Defined Functions In ColdFusion (Safer Version)
Posted on Dec 8, 2009 at 3:37 PM
Thanks for thinking outside the box. I like this.... read more »
-
Creating A "Remember Me" Login System In ColdFusion
Posted on Oct 1, 2009 at 12:10 PM
view source to your online bank page, you'll see the Pragma: no-cache tag they used in HEAD. :)... read more »
-
Thoroughly Document Your Use Of ColdFusion's CFHTMLHead Tag
Posted on Sep 29, 2009 at 2:19 PM
I've not tested it, but seems like this tag might break when the head tag has profile="" attribute. http://stackoverflow.com/questions/1477266/how-to-prev... read more »
-
Learning ColdFusion 9: ArrayFind() And ArrayContains() For Searching Arrays
Posted on Jul 19, 2009 at 6:48 PM
Ahh!!! finally!!! Good, thanks adobe... Goodbye, stupid: ListFind(ArrayToList(arr),"urgh!")...... read more »
-
Testing For ColdFusion Component Interface Support
Posted on Apr 16, 2009 at 2:50 PM
The cfcexplorer that comes with CF8 have some code that checks if an object which declares as having some interface X implemented, has all the required methods. Maybe you will be interested to take a look how Adobe tests obj against cfinterface. :)... read more »
-
An Experiment In Non-Data-Type ColdFusion Components
Posted on Apr 13, 2009 at 2:45 PM
instead of Object.cfc, u can, in theory, put the methods in web-inf.cftags.component... read more »
-
An Experiment In Non-Data-Type ColdFusion Components
Posted on Apr 13, 2009 at 2:42 PM
? no cfargument bothers you? use cfproperty. :)... read more »
-
Object Oriented Form Helpers And Reusing Form Validation On The Client
Posted on Apr 8, 2009 at 1:39 PM
You want to add a Form Helper layer to validate FORM data before creating the actual domain object, is that all?... read more »
-
Form Helpers And Domain Objects As Data Types In Object Oriented Programming
Posted on Apr 6, 2009 at 7:44 PM
@Ben which "Single Responsibility" principle is violated? Controller's responsibility is to unwrap FORM fields and talk to Service to carry out an event, right?... read more »
-
Form Helpers And Domain Objects As Data Types In Object Oriented Programming
Posted on Apr 6, 2009 at 7:31 PM
A sequence diagram would really help. I made one for you, pls take a look if I made a mistake: read more »
-
Form Helpers And Domain Objects As Data Types In Object Oriented Programming
Posted on Apr 6, 2009 at 5:00 PM
Maybe it'd be easier if u just draw up some UML class diagrams?... read more »
-
What Chinese Food Has Taught Me About Life
Posted on Mar 26, 2009 at 2:52 PM
Although some Chinese restaurants would charge you extra for the containers, pickup is already 'discounted' because you're not paying the 10-15% service tips if you eat in. :) However, if their service is bad, try another one.... read more »
-
ColdFusion Bug: Arrays, ArrayLen(), And Implicit Structs
Posted on Mar 26, 2009 at 2:34 PM
Hmm, for what you're doing there in the example, wouldn't it make more sense to use ArrayAppend()? I'm not surprised CFML couldn't handle something like that. Have you tried the same code in CFScript? Somehow I think CFScript will work...... read more »
-
OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?
Posted on Feb 23, 2009 at 12:00 AM
Hum.. interestingly I just asked this question last week because I forgot the reason behind Variables.instance scope. CFCDev: Can someone remind me, why variables.instance? http://grou... read more »
-
An Intensive Exploration Of jQuery With Ben Nadel (Video Presentation)
Posted on Feb 11, 2009 at 6:09 PM
What software did you use to make the presentation? Did you post it somewhere else? Maybe UGTV?... read more »
-
XSLT And XMLTransform() Work Properly With XHTML In ColdFusion
Posted on Jan 13, 2009 at 5:44 PM
Too bad XStandard is NOT written in JS, but a browser plug-in.... read more »



