How would you get around "bending the rules"? Is there any sort of extensibility model for presentation?
Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -----Original Message----- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, December 27, 2004 2:00 PM To: CF-Talk Subject: Re: Single application - multiple users with differing specifications On Mon, 27 Dec 2004 18:16:14 +0100, Mark Drew <[EMAIL PROTECTED]> wrote: > Isnt this the idea of Extends? Be careful: extends= is meant to represent "is-a" - you shouldn't use it to try to just reuse code. > (I am probably very incorrect in this) but lets say you have a > Users.cfc that does some user iinteractions, you could write a CFC > that extends Users.cfc and adds/over-rides the methods for Dept B? If you put the common code in User.cfc and extended it as DeptAUser.cfc and DeptBUser.cfc you *might* be already - but you do need three CFCs (so that you can change functionality independently for each department) - but this is still 'bending the rules' somewhat. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 6 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188808 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

