Community Member Profile
- Profile: /members/1384-Cutter.htm
- URL: http://www.cutterscrossing.com
- Comments: 14
- Points: 77
Recent Blog Comments By Cutter
-
How Client-Side Validation Is Changing The Shape Of Server-Side Validation
Posted on Dec 29, 2011 at 3:46 PM
@Anna, @Gary, et al, I think you need to maintain both client and server-side validation. Client side validation for user experience, and server-side for security. I also think that you have to craft this carefully, to maintain graceful degradation for those few out there who do operate wit... read more »
-
How Client-Side Validation Is Changing The Shape Of Server-Side Validation
Posted on Dec 29, 2011 at 1:12 PM
Ben, Nice post. I layed out some similar concepts in a recent post on how I use CF with Ajax: http://www.cutterscrossing.com/index.cfm/2011/9/26/How... read more »
-
Strange ColdFusion URLDecode() and GetEncoding() Behavior
Posted on Feb 6, 2009 at 5:09 PM
@Ben - In my day job, there are dozens of variables in our 3k template app that read 'URL' or 'FORM'. They are so numerous, renaming them would be a nightmare. We've been able to avoid the conflicts by, when finding them, putting them in their proper scope: VARIABLES.url ARGUMENT... read more »
-
Strange ColdFusion URLDecode() and GetEncoding() Behavior
Posted on Feb 5, 2009 at 10:21 AM
@Ben Call me Cutter brother. I had to start using the rest of the name in communications because the CF product team kept passing me up on the ACE program because they didn't know who 'Steve Blades' was;) I understand that you are only passing in a string. ColdFusion doesn't (in the c... read more »
-
Strange ColdFusion URLDecode() and GetEncoding() Behavior
Posted on Feb 5, 2009 at 9:43 AM
Not sure I would use an argument name of URL either, but did you try explicitly defining the scope? <cfdump var="#GetEncoding(ARGUMENTS.URL)#" />... read more »
-
FireBug's Console.dir() vs. DOM Tab
Posted on Jan 14, 2009 at 10:40 AM
The DOM Tab shows endstate. Real value comes from the Watch tab of the Script tab, when stepping through a JS process. You can create a Breakpoint, for debugging, rerun your script, and step through line by line from your Breakpoint, inspecting each object at each step of your process. Great stuf... read more »
-
FireBug's Console For Debugging Javascript Data (Thanks Ray Camden)
Posted on Jan 14, 2009 at 10:36 AM
Console is the bomb. An absolute must for anyone doing client-side development. Their is one downside, which we hit here this morning. Be careful to remove your console statements from code prior to pushing to production. Internet Explorer (go figure) does not support console, and the console sta... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 5, 2008 at 10:53 AM
@Justin: I rarely use cfinvoke. I write quite a bit using cfscript, so I prefer CreateObject(). For both (on the occasions I do use cfinvoke) I almost always use argumentCollection, unless I'm only passing in a single value. @Ben: I guess I've just spent too much time with JavaScript, where... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 5, 2008 at 10:01 AM
@Ben - Please, call me Cutter. Only my mama calls me Steve;) I've always expected this behavior with argumentCollection. I figured out long ago the consequences of forgetting that structs are passed by reference, and leveraged that reference within my coding practices. It's much like... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 5, 2008 at 9:08 AM
@Justin - I would disagree. The purpose of passing the named argument, in conjunction with the argumentCollection, is to override that particular key value. In my mind, since we know the struct is passed by reference, then intended behavior would be for the struct key to be changed to the o... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 5, 2008 at 8:42 AM
@Rupesh - Glad to see someone from the Adobe team picked up on this so quickly. Am I correct in that you won't be breaking the current functionality? That being, a struct passed in via argumentCollection will still be passed by reference, with the ability to manipulate that reference intern... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 3, 2008 at 3:29 PM
I've used argumentCollection like this for quite a while. I pass in a struct of args to a method, the method changes them internally. Most of these methods don't even have returns, I'll reference the struct later with the changes made to it by the method. I can see why attributeCollection,... read more »
-
Overriding ColdFusion's ArgumentCollection And An Extremely Weird Behavior!
Posted on Dec 3, 2008 at 9:22 AM
Ben, I'm guessing it's because you're using the same struct (objArgs) in both calls. The 'override' is actually changing the value of the Naomi key within the struct itself, and since structs are passed by reference, when the override changes the value, it's changed everywhere it's used. I... read more »
-
Six Months Of Epicenter Consulting
Posted on Jul 24, 2008 at 11:39 AM
Ben, Glad to hear things are going well. Simon Free had told us about your change, when we were talking at WebManiacs. And Clark is a great guy. He and I had a discussion at CFUnited '06, out on the back deck over drinks one night, about people with an affinity for learning foreign language... read more »



