Allen
Member since Feb 14, 2009
- Profile: /members/2937-allen.htm
- Comments: 26
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 road. ... 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 wha... 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 »
-
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" and the ... 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, like in thi... 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 find anything th... 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 »
-
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 »
-
Adobe Announces That HomeSite Is Officially Dead
Posted on Jul 3, 2009 at 1:07 PM
Homesite will live on in our hearts. :)... read more »
-
Is It Time For "Practical" Object Oriented Programming (OOP)?
Posted on Apr 2, 2009 at 5:24 PM
" To people who say CFML is not an OO language: why? What do you think is the problem here that prevents CFML from being an OO language or that causes CFML to get in the way of learning OO? " -- Sean Cornfield Now that sounds like a simple blog post that could kick off a thousand comments. :)... read more »
-
Is It Time For "Practical" Object Oriented Programming (OOP)?
Posted on Mar 30, 2009 at 5:49 PM
Not that I want to get you to hang out your dirty laundry in public, but some arm chair psychology is guessing that you're the type of person that when you do something, you want to know a lot. And that's maybe driving you to think that you should be more "expert" in OOP right now then you area. I... read more »
-
Exercise List: Integrating The Domain Model Into The ColdFusion Code
Posted on Feb 26, 2009 at 11:22 PM
Thanks for putting this stuff out there for the public to go through. It's handy to see someone else's thought processes when trying to learn. I did some quick searches here but didn't see it. Maybe I missed but if not I think it would be good for some folks if you touched on why you were using ... read more »
-
OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?
Posted on Feb 22, 2009 at 10:26 PM
@Henry Ho, "How about adding another scope other than THIS and VARIABLES that works only with CFC? a new INSTANCE scope, anyone? :)" In a way I agree but in a way I just shrug my shoulders and say "meh". After all, one has to wonder exactly what was going on that they yet again had to have CF bl... read more »