The person method was private, only called by the other methods.


andy 

-----Original Message-----
From: Jeff Gladnick [mailto:jeff.gladn...@gmail.com] 
Sent: Saturday, April 16, 2011 10:55 PM
To: cf-talk
Subject: Re: Question about API wrapper design


hmm.  This sounds too complicated for the average user, but I am curious to
know more about this.

For the same reason I am hesitant to have multiple files extending a base
class.  For that I like mark's suggestion about the single cfc.  I want this
to be as plug and play as possible for people.

>What I did in some of my projects was to have a base method "person" that
>the other methods used. Enforce type or variable checking in
>getPersonByType, but have the bulk of the work done in the getPerson
method.
>
>
>andy




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343801
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to