That or you need to be:P

Regards

Steve Onnis
Domain Concept Designs
+61 422 337 685
+61 3 9444 7504

http://www.domainconceptdesigns.com <http://www.domainconceptdesigns.com>

("If you think it can't be done, you haven't asked me!") - Steve Onnis





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott
Barnes
Sent: Tuesday, January 21, 2003 4:01 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: CFC Development


nm

i'm on crack

scott.

"Scott Barnes" <[EMAIL PROTECTED]> wrote in message news:22104@cfaussie...
>
> Heyas,
>
> I am using a CFC process type model, in that i have a parent Object, which
i
> call person. Beneath it i have relevant objects connected to the person
> object that allow me to carry out different routines aswell as track
> different variables throughout the 'person' interaction / movements of a
> site.
>
> My question is, is it unhealthy for the application and good ol fashion
OOP
> principals to attach objects to the person object (this being the parent)
or
> is it better to simply create instances of that object that do not bolt
onto
> the parent object... eg:
>
> --- Bolted on style ----
> <cfscript>
>  // Define the Objects Instance
>
>  person   = createObject("component","comp.qh.customer");
>  person.shopCart = createObject("component","comp.utils.shopcart");
>  person.logging  = createObject("component","comp.qh.logging");
> </cfscript>
>
> vs
>
> <cfscript>
>  // Define the Objects Instance
>  person   = createObject("component","comp.qh.customer");
>  shopCart = createObject("component","comp.utils.shopcart");
>  logging  = createObject("component","comp.qh.logging");
> </cfscript>
>
> --
> Freelance Application Developer / Designer
> --
> ph: 07 3288 6702
> mob: 04040 32812
> --
> url: http://www.spidaweb.com
>
>
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to