Community Member Profile

Joe Bodell
Member since Dec 11, 2008

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 so... 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... read more »

  • Thinking About Encapsulation And Direct Object References

    Posted on Jun 13, 2011 at 9:48 AM

    Back in your home turf of CF, I always design my services with several "default" methods per domain object (okay, call it a "database table"): get{object}() takes the primary key of the table as an argument and returns a single record save{object} takes a single-re... read more »

  • Seven Languages In Seven Weeks: Io - Day 1

    Posted on Nov 29, 2010 at 9:40 AM

    Er....not "directly" .... meant "dynamically" .... need caffeine!... read more »

  • Seven Languages In Seven Weeks: Io - Day 1

    Posted on Nov 29, 2010 at 9:35 AM

    @Ben, Not being able to call methods directly (without using <cfinvoke>) on CFCs has been one really frustrating "feature" of CF for me -- good to read about other languages in which it's easy. As for the AI class...I almost took it a couple of years after you, but was... read more »

  • Seven Languages In Seven Weeks: Io - Day 1

    Posted on Nov 29, 2010 at 9:17 AM

    Ben, Comp 80, or did you take Schmolze's AI class?... read more »

  • Copy / Import XML Nodes Into A ColdFusion XML Document

    Posted on Mar 18, 2009 at 4:56 PM

    Ben, I may be missing one or two details, but would this version work? <cffunction name="XmlImport" access="public" returntype="struct" output="false" hint="I import the given XML data into the given XML document so that it can inserted into the node tree."> <cf... 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 lo... read more »

Member Account Kinky Solutions Shop
  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools