Craig Benner
Member since Sep 28, 2009
- Profile: /members/4405-craig-benner.htm
- URL: http://www.cfhero.com
- Comments: 4
Recent Blog Comments By Craig Benner
-
Thinking About Data Gateways, Collections, And Raising Exceptions
Posted on Jul 9, 2012 at 9:51 AM
Ben, Dealing with Queries in my mind is just like an Array of DTOs! There are just some extra advantages with actually using a DTO rather than a Query. That is the reason I use both, just a different layers of the OO/MVC framework.... read more »
-
Thinking About Data Gateways, Collections, And Raising Exceptions
Posted on May 31, 2012 at 3:12 PM
<Strong>General Thoughts Thanks Ben that is an interesting idea to throw an exception when the result set is not what the method intended. It make me think that it is a good thing on the update or delete functions... But the retrieveByKey I have mixed feelings on. On the one hand when I'm... read more »
-
Using ColdFusion Query's Underlying Java Methods For Query Manipulation And Logic
Posted on Jul 8, 2010 at 9:49 AM
For the first time, i actually had a need to loop through a query (checks its validity against other data), and remove records from the query. One quick google search, and your blog answered my question! Awesome find!... read more »
-
The Performance Cost Of Throwing Exceptions In ColdFusion
Posted on Sep 28, 2009 at 1:03 PM
Ben, Great article, you made me wonder how my custom exception to handle multiple validation errors would perform. And I had an interesting discovery. My custom exception ran faster than coldFusion's exceptions. Very bizarre. http://www.cfhero.com/2009/09/performance-cost-of-throwing-except... read more »