Community Member Profile
- Profile: /members/2937-Allen.htm
- Comments: 26
- Points: 281
Recent Blog Comments By Allen
-
Ask Ben: When To Provide Default Values In ColdFusion
Posted on Jun 6, 2011 at 1:06 PM
I don't believe the question is if it makes your life easier but if creating a default is logical. It should be consonant with what is occurring. Over the years a common problem I've seen is people create a default value, like empty string, and it leads to odd errors being reported down the roa... read more »
-
ColdFusion Error Thrown When Application.cfc Has Method Named "Trace"
Posted on Jan 28, 2011 at 10:49 AM
I'm going through the logs of an old application here and finding a similar error. I'm thinking it's because something named a method "get". Yep, just get. And I suspect that's causing problems when once the ColdFusion code is being ran in Java (for a lack of a better description of... read more »
-
Javascript Patterns By Stoyan Stefanov
Posted on Nov 19, 2010 at 12:52 PM
@WebManWalking, Love it. I'm of the same school. Although with IDE's that handle highlighting the associated end bracket it's of less of an annoyance to me when it doesn't happen. What does really bug me are multiple conditionals for an IF that all get crammed into the same line... read more »
-
Overriding Internal ColdFusion Component Variables With Method Arguments
Posted on Aug 27, 2010 at 11:23 AM
Cool-cool. Thanks @BenNadel! That all makes sense. I just wanted to make sure I wasn't somehow misunderstanding the new local scope in CF9 versus variables. *whew*... read more »
-
Overriding Internal ColdFusion Component Variables With Method Arguments
Posted on Aug 26, 2010 at 9:03 AM
DOH! Sorry.... Maybe there's something I'm missing with CF9 but isn't : <!--- Set private variables. ---> <cfset variables.name = "Vicky" /> public and in the variables scope whereas this is private? <!--- Set private variables. ---> <cfset... read more »
-
Overriding Internal ColdFusion Component Variables With Method Arguments
Posted on Aug 25, 2010 at 1:14 PM
Maybe there's something I'm missing with CF9 but isn't : <code> <!--- Set private variables. ---> <cfset variables.name = "Vicky" /> </code> public and in the variables scope whereas this is private : <code> <!--- Set private... read more »
-
How Much Should jQuery Event Bindings Handle?
Posted on Mar 29, 2010 at 11:26 AM
Nice! ". Unfortunately, no one at the jQuery meetup seemed interested in having a philosophical debate as to where code should be placed. But, this type of question is still very important to me; if I can't truly explain why I do something in a certain way, then I feel like I don't truly... read more »
-
Thoughts About Salaries And Raises As Motivated By Daniel Pink's Book, Drive
Posted on Jan 12, 2010 at 9:24 AM
@Erika, as a contractor I do have incentives to stay. It's not just about a gig to fill time nor just the money. I'm working with people with whom I've built a relationship. I know how to work with them. I also may like the working environment. Or I may like the things we're working on in it... read more »
-
Using A SQL JOIN In A SQL UPDATE Statement (Thanks John Eric!)
Posted on Jan 8, 2010 at 10:33 AM
@Dennis, Thank you for following up on that one and sharing it with us. Only the blog log keeper knows how many but I suspect quite a few will stumble across this one and find it helpful.... read more »
-
Pixelating An Image With ColdFusion
Posted on Jan 7, 2010 at 6:16 PM
Sweet!... read more »
-
Using A SQL JOIN In A SQL UPDATE Statement (Thanks John Eric!)
Posted on Jan 7, 2010 at 12:42 PM
Did you try moving the ID restriction to the inner join clause? That may help when dealing with the view.... read more »
-
Javascript Array Methods: Unshift(), Shift(), Push(), And Pop()
Posted on Dec 29, 2009 at 10:35 AM
Thanks!... read more »
-
Using CFParam To Define A Variable Number Of Arguments In ColdFusion (And What ColdFusion 9 Teaches Us)
Posted on Nov 18, 2009 at 3:10 PM
@Russ S., Thanks Russ. I forgot about method overloading too.... read more »
-
Using CFParam To Define A Variable Number Of Arguments In ColdFusion (And What ColdFusion 9 Teaches Us)
Posted on Nov 18, 2009 at 2:13 PM
"No no, not *that* smart. But, if you call it as (N) vs. (N,M), the function should understand that N is the "to" in the first case and M is the "to" in the second case." -- @Ben To me, this illustrates why I don't like going this route. Yes, the function can understand that N it the "to"... read more »
-
Using CFParam To Define A Variable Number Of Arguments In ColdFusion (And What ColdFusion 9 Teaches Us)
Posted on Nov 17, 2009 at 7:01 PM
I love the creativity at work here. The only problem I have is what is driving this great solution, the issue of calling a function with out naming the parameters. I'm a proponent that code be as readable as possible. If you have an array of person objects, call it PersonArray. Or, lik... read more »
-
Tracking Request Volume Based On IP Addresses In ColdFusion
Posted on Nov 9, 2009 at 1:06 PM
This seems like something some open source message boards would already be doing to address getting spammed. Anyone know of one off hand that may have done this?... read more »
-
How To UN-Unformat Your Code (Like A Pro)
Posted on Nov 9, 2009 at 1:04 PM
"2. Private methods simply don't add value to the way I program. " No offense but this has a smell to it. That aside, thank you so much for this one. It reminds me of awhile ago looking for a good code beautifier? Does anyone know of one out there? A couple years ago I didn't fin... read more »
-
Tracking Request Volume Based On IP Addresses In ColdFusion
Posted on Nov 4, 2009 at 4:18 PM
I'm curious.... how many requests are too many?... read more »
-
Adobe Officially Releases ColdFusion 9 - The Newest, Most Powerful ColdFusion Server (Saucy)
Posted on Oct 19, 2009 at 11:00 PM
Ben, I take it that your mom doesn't know about your blog. ;)... read more »
-
Building Single-Page Applications Using jQuery And ColdFusion With Ben Nadel (Video Presentation)
Posted on Oct 9, 2009 at 6:34 PM
Looking forward to giving this a try this weekend. BTW - Love the new classifieds for CF9!... read more »



