|
as i understand it (that was a warning) you would have one DAO per
business object but only one Mapper object for your whole application. You would
wind up with code something like
<cfset myOrder = OrderDAO.loadOrder(orderKey)>
vs
<cfset myOrder =
Mapper.map.queryForObject("selectOrder",orderKey)>
Check out the iBatis project documentation (ibatis.com) - they provide
both a DAO and a Mapper framework (SQLMaps) so there's some discussion there
(and in the mailing list archives) about the two
approaches.
/t ---------------------------------------------------------- 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). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- RE: [CFCDev] DAOs vs Mappers RADEMAKERS Tanguy
- Re: [CFCDev] DAOs vs Mappers Patrick McElhaney
- RE: [CFCDev] DAOs vs Mappers Ben Rogers
