Joe Bodell
Member since Dec 11, 2008
- Profile: /members/2602-joe-bodell.htm
- Comments: 8
Recent Blog Comments By Joe Bodell
-
ColdFusion 10 - Selectively Exposing ColdFusion Component Behaviors With Closures
Posted on Apr 11, 2012 at 2:15 PM
Very cool example -- the syntax is definitely going to take some getting used to in CFML. In this example, could you not achieve the same result by having Account contain all three public methods, and then a CreditOnlyAccount extend Account and override debit() with a private version (or something)... read more »
-
ColdFusion 10 Beta - Closures And Components And The THIS Scope
Posted on Feb 23, 2012 at 11:01 AM
I'm probably behind the curve on this, but could this feature be used to call methods on a CFC dynamically? Instead of having a syntax like <cfset results = arrayNew(1) /> <cfset myObj = createObject("component", "cfcs.foo" /> <cfloop list="#methodNames#&qu... read more »
-
OOP Getters() And Setters() - A New Programmer's Frustration
Posted on Oct 14, 2008 at 11:07 AM
<blockquote>In ColdFusion, there's really no difference between Ints, Doubles, Floats, and Strings (etc.), so simple-data-type encapsulation means nothing to me. Don't talk to me about what happens when a hundred references to an INT suddenly need to be a 100 references to a BIGINT. In a loose... read more »