Yeah, I understand that.  A co-worker and I were discussing something like 
this today as an example as well.  We have an article application we did 
for a client (a over-complicated news system).  As I said, I understand 
everything, I'm just thinking of where and when to apply it.  It's that 
thing that you mentioned, knowing when to make a seperate table in the 
database, etc.  That's exactly it.  It took time to hone my data modelling 
skills, but ... I think I'm pretty competent in it now. =)  I'll get 
there. ;)

~Todd

On Tue, 11 Jun 2002, Raymond Camden wrote:

> I have some code samples, but they are a bit complex? Would a simple
> description of one example help?
> 
> Imagine a magazine web site. The site's main content are articles, but
> there are different types of articles. You have your vanilla-generic
> Article, you have Reviews, you have Interviews, etc. Each type, though,
> shares certain basic characteristics. This would be a good place to use
> inheritance. You could create a simple base class Article, then create
> specific types that extend it.
> 
> =======================================================================
> Raymond Camden, ColdFusion Jedi Master for Macromedia
> 
> Email    : [EMAIL PROTECTED]
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -----Original Message-----
> > From: Stacy Young [mailto:[EMAIL PROTECTED]] 
> > Sent: Monday, June 10, 2002 3:34 PM
> > To: CF-Talk
> > Subject: Examples of Inheritance?
> > 
> > 
> > Any examples kickin' around folks on desiging CFC's w/ 
> > inheritance? Checked
> > on the MM dev site but not much on this topic unless my eyes 
> > deceive me. ;)
> > 
> > Thx!
> > 
> > 
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to