Marc H.
Member since Mar 20, 2009
- Profile: /members/3127-marc-h.htm
- Comments: 6
Recent Blog Comments By Marc H.
-
How To Store Arbitrary And Transient Attributes With Your User Data
Posted on Jan 15, 2014 at 3:10 PM
I think what's being described here is the entity attribute value (EAV) data model. You can read about it here: http://en.wikipedia.org/wiki/Entity-attribute-value_model You will find many opinions on EAV, some good, some bad. I've found it to be very useful, especially in the use case that yo... read more »
-
SOAP Web Service Errors Are Handled Externally To The ColdFusion Application Framework
Posted on Jun 4, 2009 at 3:58 PM
If I run that chunk of code by itself, it returns: Could not convert the value of type class coldfusion.xml.XmlNodeList to binary From your tests, it may not even be getting to this code, but something does seem off.... read more »
-
SOAP Web Service Errors Are Handled Externally To The ColdFusion Application Framework
Posted on Jun 4, 2009 at 3:41 PM
Ben, Something doesn't seem right with the cfcontent tag you are using to stream the soap error response. You are setting the type to text/xml but then you are sending back binary encoded data. It seems like you should use something other than cfcontent here, perhaps just a plain cfoutput? -Marc... read more »
-
Quick Thought On OOP Data Validation And Why Redundancy Is OK
Posted on Apr 3, 2009 at 5:35 PM
@Ben, Thanks for your insight. So do you define the types of errors thrown by a method as part of some kind of system contract?... read more »
-
Quick Thought On OOP Data Validation And Why Redundancy Is OK
Posted on Apr 3, 2009 at 3:32 PM
I hope this doesn't sidetrack the discussion (this is a great topic Ben!), but I wanted to ask about returning errors in objects. Do your object methods throw errors? Or do all of your methods have some type of return logic that is consistent for each method? For example, let's say there is a met... read more »
-
ColdFusion Session Management And Asynchronous Page Requests
Posted on Mar 20, 2009 at 5:17 PM
You might consider a utility like wfetch or wget to run some of these tests. These tools let you look at the raw HTTP conversation and will take cookie handling out of the equation. I find that really handy when working through issues like this.... read more »