-- John and David, invite Sean to class with you. (Just joking. Funny, I can just see Sean being sent to detention.)
There is one thing I can tell you about encapsulation that should be remembered is that a weak class model can be cpu resource expensive both in terms of memory use and process cycles. The debate about using which objects where should be reviewed in the sense of the overall application design. Encapsulation is another term for data structure management. I am of the school of not re-allocating data structure namespaces unless the reason is compelling. (See RequestInOut -- http://www.cflib.org/udf.cfm?ID=976 )
Below is a class model of how I think of CF's namespace data structures. In this model, class request inherits those namespaces above it. Further, this means that a CFC inherits the class CGI namespace and that use of cgi variables within the CFC is very good programming practice.
server
built-in functions
application
session
cgi
request
form
URL
variables
structures
array
simple
udf
arguments
query
component (CFC)
this
custom tag
attributesOops, along comes the classic object modeler thinking, "What do you mean namespaces and data structures? That has nothing to do with object oriented systems."
John, I think your trapped. Better just to write code.
----------------------------------------------------------------------- http://www.switch-box.org/CFSQLTool/Download/
Switch_box MediaFirm, Inc. www.Switch-box.org Loveland, CO USA
----------------------------------------------------------
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]
