So Joe,

The following popular façade CFC basically takes care of saving and
returning objects from persistent scopes:
http://www.web-relevant.com/blogs/cfobjective/index.cfm?mode=entry&entry=7B7
60E34-BDB9-5320-E88A375CA379AB9F

Basically you are supposed to employ all your locking in there and not have
to worry about it in the app...

But if you GET() a CFC stored in a persistent scope and its passed by
reference, don't u still have to lock it when you update its
variables.instance after you GET() it from the façade?

Cheers,
Baz


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Joe Rinehart
Sent: Wednesday, January 11, 2006 10:03 AM
To: [email protected]
Subject: Re: [CFCDev] If you getCFC() from another CFC is it done by
reference?

Hi Baz,

No, CFCs are passed by reference.

-Joe

On 1/11/06, Baz <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> Someone told me that if I getCFC() from another CFC that a copy is made
and
> it is not done by reference. Is this true?
>
>
>
> Baz
>
>
>
>
> ----------------------------------------------------------
>  You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of
the
> email.
>
>  CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
>
>  An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> ----------------------------------------------------------
>  You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of
the
> email.
>
>  CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
>
>  An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]


--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

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





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

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


Reply via email to