Teddy Payne wrote, On 12/22/2006 10:30 AM:
I use them to remove a shared scope from my CFCs. If I wanted to
change where variables are stored, I can just change the facade and my
controller never changes.
That makes sense. Thanks.
Teddy
On 12/22/06, *Peter Bell* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi Sam,
Main benefit I've heard is if you want to change the way you
handle sessions
in general - otherwise scope facades have limited utility.
Best Wishes,
Peter
> You might also have some method setVarInStruct(var,
struct), but I'm
> not sure what advantages or disadvantages that may provide.
>
> On the other hand, I don't immediately see what benefit using a
facade
> may provide above the drawbacks I mentioned of using sessions in
CFCs
> directly. I'm fairly sure there are some, so I wanted to ask
you all.
> Well, I could see that it can handle the case a variable doesn't
exist
> for you, so that is a nice thing... but what else?
You are subscribed to cfcdev. To unsubscribe, please follow the
instructions at http://www.cfczone.org/listserv.cfm
<http://www.cfczone.org/listserv.cfm>
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com <http://www.katapultmedia.com>
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
<http://www.mail-archive.com/[email protected]>
--
<cf_payne />
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org
You are subscribed to cfcdev. To unsubscribe, please follow the
instructions at http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]