Kurt Wiersma said the following on 3/1/2006 12:52 PM: > Like Chris Scott, I have found that the Java convention seems to be > having all the code in a DAO class. In my CF apps I have found I > really like having the gateway separate because in Java I have found > my DAOs get huge with all the different methods that sometimes have to > be added for reporting purposes. > > --Kurt Ditto! Although I don't do any Java developing, I have found that DAO classes with everything gets unwieldy after a bit of time. Also, I like the idea of having my DAO access single records, while the Gateway is one or more. Secondly, typically my DAOs return populated beans while the Gateways returns cf query objects.
.Peter -- Peter J. Farrell :: Maestro Publishing Member Team Mach-II :: Member Team Fusion http://blog.maestropublishing.com Create boilerplate beans and transfer objects for ColdFusion! Fire up a cup of Rooibos! http://rooibos.maestropublishing.com/ ---------------------------------------------------------- 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]
