|
I was hoping that someone might be able to
help me out here; I am looking at creating a super class which can be extended
by child objects, simple enough. But I also need to create a façade to
interface to these objects. Now I have been reading this list awhile
now and not 100% sure on how to go about this. The façade needs to know what
type of object to return, based on criteria for example this is what I am
thinking. Vehicle – Super Car – Child What I am interested to know, is how to I
go looking for the required class and return a default class if the object I am
looking for Is not there, so if I was looking for a bike and that class wasn’t
available return say a default of the Vehicle class or something. Anyway I have the concept just not the
know how to go about it, so I little code examples would be good thanks. Sorry if this has been asked a thousand
times already. Regards
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] |
Title: Job Opportunities
- [CFCDev] Facade - how to? Andrew Scott
- RE: [CFCDev] Facade - how to? Nando
- Re: [CFCDev] Facade - how to? Thomas Chiverton
- RE: [CFCDev] Facade - how to? Andrew Scott
- Re: [CFCDev] Facade - how to? Scott Barnes
- RE: [CFCDev] Facade - how to? Andrew Scott
- Re: [CFCDev] Facade - how to? Scott Barnes
- RE: [CFCDev] Facade - how to? Andrew Scott
- Re: [CFCDev] Facade - how t... Scott Barnes
