> I was wondering if you, or anyone, could comment more about this concept. > One of the problems I have with it is that I like the fact the DAO contains > all the SQL, but now we have 2 CFCs with SQL in them. Wouldn't it be nice if > all the SQL code for a particular bean was contained within one file? Why > should the DAO only work with one record?
I don't have a strong opinion on this, not yet at least :-) You could take a look here: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.ht ml If you want to dig more, this could be worth reading: Data Access Patterns: Database Interactions in Object-Oriented Applications by Clifton Nock Paperback - 468 pages (September 2003) Addison-Wesley ISBN: 0131401572 ---------------------------- Massimo Foti DW tools: http://www.massimocorner.com CF tools: http://www.olimpo.ch/tmt/ ---------------------------- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
