>>Good point.  Flash won't call methods that return (or output) HTML, so
>>they
>>wouldn't have to change.  But you would have to add some getter methods
>>(if
>>you've taken Holub's advice to get rid of them)!  You can't write a
>>'DrawThySelfAsAFlashForm' method in a CFC very easily...
> 
> That would work as well.  My aim is to separate the view layer from my
> object layer by creating a *translating* layer.  It might seem like more
> upfront cost, but I think the payoff is in the flexibility.  If anything
> within the view changes I am not touching my object layer and thus
> taking a risk at breaking the app.

What would work as well?  What do you mean by 'translating' layer?

> 
>>I'm not going to get rid of my getter/setter methods, but mine are
>> defined
>>in my core.cfc (as get('property') and set('property', value) ), so it
>>seems
>>one of Holub's arguments against them don't apply in my case:  I don't
>>have
>>added complexity because I don't have to write any code, I just have to
>>identify the properties.  But I will concede that they shouldn't be
>>used
>>much, and I'll try to not use them.
> 
> How do you include this core.cfc into other CFCs?  I do like the idea of
> having a general set/get method.

Every cfc that doesn't already inherit something
inherits core.cfc.  I set this up before MX had
the component.cfc feature (which does this automatically).



***
The information in this email is confidential and intended solely for the individual 
or entity to whom it is addressed. If you have received this email in error please 
notify the sender by return e-mail, delete this email, and refrain from any disclosure 
or action based on the information.
****


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to