On 9/15/05, Nando <[EMAIL PROTECTED]> wrote:
> Here's how i differentiate them. DAO's work with corresponding BO's and
> forms to modify and create and delete stuff. Gateways are more lightweight.
> They are generally for returning queries to the display, and occupy a
> different place/function in your model. JOIN away in your Gateways, whatever
> you need to create reports / display information.

"More lightweight" isn't doing anything for me. :)

A gateway is "an object that encapsulates access external system or
resource."[1] A gateway is basically an API for that "external system
or resource," i.e. the database. It doesn't know anything about your
object model.
 
[1] Patterns of Enterprise Architecture, by Martin Fowler, et. al.


-- 
Patrick McElhaney
704.560.9117
http://pmcelhaney.weblogs.us


----------------------------------------------------------
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]


Reply via email to