On 5/18/05, Matthew Small <[EMAIL PROTECTED]> wrote: > On that subject, does anybody here use DAO/DG methods for sending objects > to/from a database? It has simplified my code writing tremendously.
When we took Helm's class on CFCs he talked quite a bit about using a DAO but never provided a working example. And we haven't quite figured out how to write an abstracted DAO that still provides the power of highly complicated SQL queries. From the stuff we've looked at, it seems that either we would either have to just create a dedicated CFC wrapper for every complicated SQL query, which doesn't do much for abstraction, or have a DAO that hammers the database over and over with simple queries and requires a lot more application code to assemble the results into what we need. So I'm a little confused on DAOs. Conceptually they sound great, but practically I just haven't figured them out. -Kevin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:158076 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
