Community Member Profile
- Profile: /members/2026-Patrick-McElhaney.htm
- URL: http://stackoverflow.com/users/437/patrick-mcelhaney
- Twitter: @patrick_mc
- Comments: 18
- Points: 10
Recent Blog Comments By Patrick McElhaney
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 25, 2010 at 10:25 AM
Yeah, that's pretty confusing. Rather than try to keep track in your head that up really means down, you might consider aliasing those methods. $.fn.slideOpen = $.fn.slideDown; $.fn.slideClose = $.fn.slideUp;... read more »
-
National Regular Expression Day And Reflections On My Own Journey
Posted on Jun 5, 2008 at 8:45 AM
Congratulations on getting a mention from Webmonkey! That's a pretty significant honor in my book. BTW, next year I hope you'll expand it to International Regular Expression Day. Let me know if you need help tracking down every instance of "National" and replacing it with "International."<... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 9:41 AM
I forgot to specify what I want. /Shakespeare RegEx Shirt|Mastering Regular Expressions/... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 28, 2008 at 12:16 PM
$madness =~ /method/... read more »
-
ClearCode Standards Project
Posted on Apr 30, 2008 at 1:35 PM
@Ben, Looking at your div.note {...} rule, my eyes tend to focus on the values before the properties. Values are more visually distinct than properties (especially within an editor that gives different types of values different colors). Also, looking at the CSS for this site, the vas... read more »
-
ClearCode Standards Project
Posted on Apr 30, 2008 at 9:49 AM
Dumb question: Why does the order of attributes / named arguments / CSS properties need to be stable? What does it matter if one cfquery has name first and another has datasource first?... read more »
-
ClearCode Standards Project
Posted on Apr 29, 2008 at 2:27 PM
Great presentation. I only had time to skim through it but loved what I saw! -- +1 to Peter Boughton. I was going to say the same thing about treating logical operators like commas and putting them at the beginning of a line. -- You may have covered this,... read more »
-
Name vs. Variable In ColdFusion
Posted on Mar 14, 2008 at 10:05 AM
Don't forget cfinvoke / returnVariable.... read more »
-
FLV 404 Error On Windows 2003 Server
Posted on Mar 12, 2008 at 8:49 AM
Thanks, Ben! Found this via a Google search for "Flash Video 404." Exactly what I needed. You made my day.... read more »
-
What Does It Mean To Be A CSS Class?
Posted on Feb 13, 2008 at 11:03 AM
Don't forget you can reference multiple classes on the same element with the same css selector. class="alert overdue" .alert {display: block; border: 2px solid black;} .alert.overdue {border-color: red} Patrick... read more »
-
If I Don't Get Back To You, It's Not Personal
Posted on Sep 12, 2007 at 2:36 PM
Quit making excuses and learn to process your email. :) http://www.43folders.com/izero/... read more »
-
Advice On Balancing Cohesion, Packaging, And God Objects?
Posted on Aug 24, 2007 at 11:17 AM
Oops, ignore that last comment. I was replying to a comment by Justice, thinking Ben had written it. But I second Rob's comment, beginning "'abstract and complicate'." He's right on.... read more »
-
Advice On Balancing Cohesion, Packaging, And God Objects?
Posted on Aug 24, 2007 at 11:05 AM
Hey, don't look at me. Your own gut is telling you to break it up into smaller files. :) All I'm saying is if you do go that route, it's not going be any more difficult to install and use. You don't have to worry about mappings, as long as you write createObject("component", "ExcelReader")... read more »
-
Advice On Balancing Cohesion, Packaging, And God Objects?
Posted on Aug 24, 2007 at 9:56 AM
What's wrong with multiple files? It's just as easy to drop a directory into my application as it is to drop a file in. And my application only needs to know about one CFC, the PHB (aka, facade, manager, wrapper, service ...). My app calls functions in PHB, and the PHB delegates all the wor... read more »
-
Applying IM Text Abbreviations With ColdFusion
Posted on Aug 6, 2007 at 1:17 PM
Every program attempts to expand until it can read XML.... read more »
-
MySpace.com Is Retarded (I'm Sorry - It Is!)
Posted on Aug 1, 2007 at 1:36 PM
Facebook is awesome. As a web developer, it's worth checking out just to get inspiration from the UI.... read more »
-
When Do You Violate The Law of Demeter In ColdFusion OOP Development?
Posted on May 24, 2007 at 9:09 PM
Actually, Ben, you shouldn't have objPerson.getBillingAddressStreet() and 100 other similar methods. If you end up in that situation, instead of asking whether it's okay to violate LOD, ask what else you're doing wrong. You may have methods like objPerson.sendBill(), objPerson.createInvoic... read more »
-
Is ColdFusion's GetPageContext().Forward() Method Worth Using?
Posted on Nov 6, 2006 at 4:19 PM
Good point, Ben. I also find the confirm page is easier to develop and debug when I can call it directly from the browser. The only advantage to server-side redirects I've found is the ability to see debugging information in the browser after you submit the form. I found a way around that... read more »



