Henry
Member since Dec 11, 2008
- Profile: /members/868-henry.htm
- Comments: 3
Recent Blog Comments By Henry
-
Exercise List: Error Collection ColdFusion Component
Posted on Nov 15, 2007 at 5:43 PM
It doesn't feel right for me that a save method in service returns an error object. So almost every service return error object? What if the method in the service already needs to return something else? I would much prefer the validation takes place in a seperated method, and method like save() in... read more »
-
Exercise List: Thinking About Data Validation - Who, What, And Where?
Posted on Nov 13, 2007 at 1:35 PM
I'm surprised Exception is not mentioned throughtout the article. Mr. Sean A Corfield himself stated that "...conceptually CF has less overhead with exceptions that even Java has." - http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:120487 I would add a .validate() method in the ... read more »
-
ColdFusion Wants You To Access The Underlying Java Methods
Posted on Nov 7, 2007 at 4:07 PM
Actually, I tried in CF7 to use the java .indexOf() & .charAt() to implement the Base32 algorithm. However, it was not stable enough and I had to write my own charAt() using mid() and indexOf() using findNoCase(). I couldn't remember the test case that failed. I believe it was charAt() which fail... read more »