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!
> 
> 

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to