Still making your way there, Ben? I just read another post on your
site about security where you expose the potential dangers of having
access to the THIS scope. After reading it, I understood the
differences between the THIS and VARIABLES scope but thought, man, Ben
must have a good gasp of OOP and components in order to figure that
out.

Who figures?

-Aaron

On 11/16/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Aaron,
>
> I too am on the Safari... I recently was blogging about thinking about
> the two different ways. You might want to check it out as far as the
> user comments (http://www.bennadel.com/index.cfm?dax=blog:364.view).
>
> You have to think about what the two scope need to accomplish. Do you
> need to "hide" the data? Does data need to be accessible. Many classes
> have constants (ex. Paper.A4_LAYOUT). These are clearly not private and
> would be stored in the THIS scope. However, if you want to encapsulate
> the variables so that people cannot mess with them directly, you might
> want to put them in VARIABLES and have getters/setters.
>
> Of course, take that with 2 grains of salt as I am in a similar boat...
> Still making my way there.
>
>
> ......................
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260731
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to