Chris Phillips
Member since Dec 11, 2008
- Profile: /members/2351-chris-phillips.htm
- URL: http://www.cfchris.com/
- Comments: 8
Recent Blog Comments By Chris Phillips
-
Ask Ben: Changing The Root Node In A ColdFusion XML Document
Posted on Apr 21, 2009 at 8:33 PM
Ben, Without running this, to me it looks like the first method will keep the "id" attributes with a value of "my-to-do-list" in-tact for the root node. But, it looks like since that attributes is not in the new root node that your are adding in the second that it will be wiped out. Is that the ca... read more »
-
Making My ColdFusion Tags More Consistent
Posted on Feb 13, 2009 at 4:10 PM
@andy, I'm sorry but I have to disagree with you. Not fundamentally, but, for the reason I'll explain below. For me it is easier to read code that has self-closing stand-alone tags. So, when I'm looking at: <cfif someConditions EQ true > <cfset somevar = 'a value' /> <cfs... read more »
-
Ask Ben: Securely Pinging One ColdFusion Application From Another
Posted on Jan 16, 2009 at 7:06 PM
The person in question should really look at Sean's article about using JMS messaging to do synchronization. http://corfield.org/blog/index.cfm/do/blog.entry/entry/Transfer_Cache_Synchronization_in_a_Cluster... read more »
-
Ask Ben: Maintaining Case Of XML Attributes In Manually Created ColdFusion XML Documents
Posted on Jan 9, 2009 at 5:26 PM
One more thing. Array notation is great for using struct keys that are not usually a valid variable name. Sometimes I'll build a struct where the key is a records PK. So, these won't work: <cfset refStruct.55873 = recordObj /> or <cfset refStruct.E63841A8-DA2C-4F6E-A50C-17624729E0C6 = reco... read more »
-
Ask Ben: Maintaining Case Of XML Attributes In Manually Created ColdFusion XML Documents
Posted on Jan 9, 2009 at 5:20 PM
The key thing to take away from this is: 'use array notation when you want CF to retain the case of your variable names' . A lot of people probably learned this about the same way I did ... which was working with a remote service (In my case a web service) that cares about case sensitivity.... read more »
-
ColdFusion RandRange() vs. Java Collections Shuffle()
Posted on Jul 7, 2007 at 1:55 PM
Ben, I have often felt the same way. So, we are both paranoid! Running your tests in Scribble pad in CFE was good salve for my paranoia though. Thanks, Chris P... read more »