We did cfincludes as well and in this same manner. I have seen where people have done a cfinclude of a series of UDFs and each UDF is a query more or less. Seems like it would not be the most efficient of ways to do things.
On Jan 3, 2008 10:33 AM, Ben Doom <[EMAIL PROTECTED]> wrote: > We always used includes, although cfmodule would probably be better. We > just broke each inline query out into an include, then called it as > necessary. > > --Ben Doom > > Chad Gray wrote: > > I am so use to using MX and CFCs that now I have to work on a CF5 server > for a client and > > > > Is there a good way of setting up a DAO in CF5 so I can reuse SQL code > and not have to retype the CFQueryies each time I need them? > > > > Should I use CFModule? CFInclude? A custom tag <CF_ProductDAO>? > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295762 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4