On Mar 16, 2004, at 2:24 PM, Nathan Dintenfass wrote:
Matt -- I don't understand your point here at all. Can you show an example?

He means the situation when a CFC is your entry point (as in a RIA using Flash Remoting or Web Services).


The answer in that case is to use a fa�ade, e.g., a Session Fa�ade where the entry point CFC creates an instance of a model CFC and places it in session scope (and delegates most operations to that instance).

In that case, you've isolated the reference to the external scope into one place and totally encapsulated it. It's the exception to the rule of "never refer to session / application / server / request scope inside a CFC".

Regards,
Sean

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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