Here is my best example (if my example is wrong, please somebody let me know):

DataMgr

DataMgr_Access is a DataMgr (for MS Access)
DataMgr_MSSQL is a DataMgr (for MS SQL Server)
DataMgr_MySQL is a DataMgr (for MySQL)
DataMgr_PostGreSQL is a DataMgr (for PostGreSQL)

Each of these inherits behavior from the parent object, but extends that behavior for the specifics of that database.

http://www.bryantwebconsulting.com/cfcs/

Hope that helps!

Steve Bryant.
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com/
http://steve.coldfusionjournal.com/

At 10:28 AM 12/7/2005, Dave Shuck wrote:
One of the concepts that I read about, and I understand from the thousand foot view is making use of "types" of objects, but I am having a hard time with translating that to what it means in code. In the example, of the AJ Foyt Car Center (or something like that), they would only accept vehicles of type "sportsCar", given that sportsCar extends "car" and car extends "vehicle". Does anyone have a code example of something like that? I realize that once I see it it will likely seem glaringly obvious, but for some reason I am just having a hard time visualizing that code in a real implementation.

Thanks,

--
~Dave Shuck
<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
www.daveshuck.com



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to