OK... get the point they are different... but that doesn't say anything
about what would make it bad to do? (question 3)

(Q 4) Are you saying that OO components do not communicate or perform
functions outside the methods? Something can communicate with an Object but
objects can only communicate with objects? That goes back to 3...
databases... for example: you would not be allowed to do a stored proc...
because that would be logic outside the object... is that what I understand
you to be saying... or are the lines not as clear as I am thinking?

John Farrar

----- Original Message -----
From: "Brian LeRoux" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 12:20 PM
Subject: RE: [CFCDev] Use of "instance" in 6.1

> 2. Would calling an include file be worse than
> > calling a database or XML file because it contains logic?
>
>
> Yes, completely different things.
>
>
> > (nice nTier question) 3. If external logic is the issue...
> > wouldn't dependence on an external CFC also break
> > encapsulation?
>
> No. Objects communicate to themselves and other objects via messages.
> Either by directly invoking object methods, or via event callbacks.
> Another dependancy can be inheritance. Another tenant of OO.
>

----------------------------------------------------------
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).

Reply via email to