And by gateway object, we're talking about, basically, an abstraction
layer on top of the bean and DAO to handle "meta" functions that cannot
be handled by the DAO or Bean individually.  It's up to you if you want
to tackle that layer now or just stick to a CFQUERY at the top of the
page and output all the links and deal with Beans on later pages.

-----Original Message-----
From: Trevor Holm-Laursen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 17, 2006 3:27 PM
To: CF-Talk
Subject: RE: OOD/Design Patterns and ColdFusion.

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.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240818
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

Reply via email to