If your not going to use a gateway Object, I would put a method in your DAO to return a query for the master list. You could then create a bean and populate it though each record or just output the query. I tend to do a bit of both so I guess my apps are more OOish the straight OO. If your going to use a gateway CFC, the gateway holds all the methods the would return more than one row, as these cannot be returned to the caller in a bean.
-----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 4:16 PM To: CF-Talk Subject: RE: OOD/Design Patterns and ColdFusion. Steve Brownlee That way the order in which they are set is moot. The equivalent of an XOR operation :) Ok that makes sense and seems to align well with the concept of the bean/object being responsible for itself. I think I got a handle on the form, form action, bean and dao relationship. Writing up some code not to see how it goes. I'm sure I'll be back for more questions when I get into the actual implementation. One question that has not yet been addressed is how would I use these bean and DAO objects for the master page? Or is it easier just to keep this procedural where I would query the database for all the Trima Records and output each one with a link to the form-detail page? -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240814 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

