It's a facade for the session scope (it really just provides a single point of access to the session scope, or whatever other mechanism you want to use to persist data across requests).
On 5/23/07, Jaime Metcher <[EMAIL PROTECTED]> wrote:
Brian, Thanks. The work you put into these demo apps is really appreciated - certainly clears a lot of things up for me. Can I just ask - in naming your SessionFacade object, are you drawing an analogy with the J2EE pattern, or just saying it's a facade for the sesson scope? (Or both, proving I still don't get it). Jaime Metcher -----Original Message----- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Brian Kotek *Sent:* Wednesday, 23 May 2007 1:32 PM *To:* cfcdev@cfczone.org *Subject:* Re: [CFCDEV] Session Facade (continued) Hi Jamie. First, yeah it's just a demo app so don't read too much into it :-). Second, it's over three years old and it's very possible I'd do something different nowadays (http://www.briankotek.com/blog/index.cfm/2007/2/4/Frameworks-Presentation-and-Code-Available). Obviously the final decision on how you implement a session facade and/or worry about race conditions is dictated by the needs of the individual application. Hope that clears it up a bit. Thanks. Brian On 3/30/07, Jaime Metcher <[EMAIL PROTECTED]> wrote: > > Hi, > > (Continuing after inadvertent send) > ...CartManager doesn't protect against race conditions in that there's > no > protection against multiple threads updating the cart state while > another > thread is retrieving and displaying it, although it does ensure that the > > cart's state remains internally consistent. If you're really going to > add a > layer to deal with concurrency, you need to do a lot more. > > Jaime Metcher > > > > > 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/cfcdev@cfczone.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/cfcdev@cfczone.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/cfcdev@cfczone.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/cfcdev@cfczone.org