On Tue, 23 Nov 2004 12:57:28 -0800, Steven Boynes <[EMAIL PROTECTED]> wrote:
> I use inheritance to create what I think is called an "interface", requiring
> certain methods to be overridden and to ensure that all of the components
> can be serialized.  Is this proper use?

Well, ColdFusion doesn't have the concept of an interface so this is a
bit of a hack however you look at it.

> component that has serialization/deserialization methods, as well as a debug
> output method and every component in my system extends this component.

It's not really an "is-a" relationship so you shouldn't use
inheritance (although if you really must insist on doing this, you
might just as well modify WEB-INF/cftags/component.cfc).
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
----------------------------------------------------------
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 
[EMAIL PROTECTED]

Reply via email to