Community Member Profile
- Profile: /members/2528-Henry-Ho.htm
- Comments: 42
- Points: 311
Recent Blog Comments By Henry Ho
-
Streaming Secure Files Efficiently With ColdFusion And MOD XSendFile
Posted on Mar 18, 2013 at 10:28 PM
Hi Ben, did you get APE's mod_xsendfile to work successfully? According to Helicon Tech's engineer, CF is not supported because jrun_iis6_wildcard.dll is at fault? http://www.he... read more »
-
What The Heck Is Business Logic Anyway?
Posted on Dec 16, 2012 at 1:48 PM
@Ben, handler layer == controller layer in Coldbox.... read more »
-
What The Heck Is Business Logic Anyway?
Posted on Dec 16, 2012 at 1:47 PM
@Ben, handler layer == controller layer in Coldbox. http://henrylearnstorock.blogspot.ca/... read more »
-
What The Heck Is Business Logic Anyway?
Posted on Dec 14, 2012 at 7:18 PM
Here are what would go through my mind for deciding where to implement the business logic. Purely manipulating properties of the object itself? > Implement in a method of the object class. Front-end dependent? > Implement in the handler layer of your MVC framework.read more »
-
Creating Base64-Encoded Data URLs For Images In ColdFusion
Posted on Nov 8, 2011 at 2:19 PM
Use toBase64(imageGetBlob(myImg)) instead of just toBase64. see: http://blog.dkferguson.com/index.cfm/2010/4/27/All-your-base64-are-not-equal... read more »
-
Parsing CSV Data With An Input Stream And A Finite State Machine
Posted on Aug 16, 2011 at 2:17 PM
"ColdFusion may run out of memory when parsing ginormous files" ? You mean the file IO part? You can loop a file by line in CF8+ to avoid running out of memory. Or do you mean you're running out of ram constructing the data structure? Then FSM or not you're going to run out of... read more »
-
Branching Logic vs. Guard Logic When It Comes To Function Control Flow
Posted on May 17, 2011 at 3:05 PM
I guess it's fine as long as your function is short. However, multiple return points are not encouraged when I was in college. They prefer a short if block for guards and long if block for actual "Branching Logic", and then follow by a single return statement.... read more »
-
Returning NULL Values In JSON Using SerializeJSON() And ColdFusion
Posted on Apr 5, 2011 at 2:14 PM
@Drew Wells, so any problem with using jQuery with processData:false?... read more »
-
Reading In File Data One Line At A Time Using ColdFusion's CFLoop Tag Or Java's LineNumberReader
Posted on Sep 15, 2010 at 2:22 PM
I thought you'd include a benchmark between cfloop and Java's lineReader. :)... read more »
-
ColdFusion 9's NEW Operator Can Use Dynamic Class Paths
Posted on Jul 7, 2010 at 12:48 PM
@Jason, I think u still need cfinvoke, unless you're ok with Evaluate().... read more »
-
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 »



