Only extend one with the other if that makes sense for the object model; it should be an "is a" relationship not a "has a" relationship. E.g. if you are including a "contact details" object in a "person" object, that's a "has a" relationship and doing it via extension is inappropriate. In that case use object composition instead, instantiating one object inside another, in the example above making the contact details object part of the person object.
Some references: http://www.macromedia.com/devnet/coldfusion/articles/supsub.html http://cfdj.sys-con.com/read/41619.htm On 10/19/05, Michel Deloux <[EMAIL PROTECTED]> wrote: > YESSSS... Extends!!! Great... > > Cheers > > MD > 2005/10/18, newsight <[EMAIL PROTECTED]>: > > Use instead of including a cfc into a cfc the extends param. > > Than you can use all the functions of the other cfc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221446 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

