The 'this' scope is public. Anyone with a reference to the CFC, has aHowever, if you provide a way to access data in the variables scope with a "getter" then you have provided a reference to that data right in the variables scope. In my book, if the data private to an object is mutatable then it is not encapsulated.
reference to anything in the 'this' scope. The 'variables' scope, on the
other hand, is private. No one can access it, except the methods of the
CFC. Both exist for the life of the CFC instance. Usually you want to put
instance data in the 'variables' scope, so it's fully encapsulated by the
CFC.
Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901
----------------------------------------------------------
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]
