Seems like a good idea would be to create a GiftCertificate.cfc and subclass them for specifc types
DigitalCertificate extends GiftCertificate PaperCertificate extends GiftCertificate I would even look more into the Strategy Design Pattern. I am no OO expert but I have been reading up on different patterns lately and this looks like it may fit. If Im wrong here someone please point that out! http://en.wikipedia.org/wiki/Strategy_pattern On 12/31/06, Mary Jo Sminkey <[EMAIL PROTECTED]> wrote: > > > I'm using the receiver's email in the field. The purchaser makes the > > purchase, then the receiver receives their certificate via email. But > > this makes me think... should I offer a choice of electronic or paper > > certificates? giftCertificateManager.cfc would be able to generate > > both types depending on what the user selects during checkout. > > I would allow either, because they may not want to email it. They may not > know the receipient's email or they may want to give it as a gift at a later > time, use it in a raffle as a prize, etc. Leave it as flexible for the buyer > as possible. > > --- Mary Jo > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

