And Martin Fowler's definition isn't doing anything for me. :)

The point that i'm trying to make is that i've found it makes sense to me to
differentiate between the 2 because they tend to occupy different functional
areas in the model / application. Why load a large dao with lots of
functions for a front end view when all i need is a simple select statement?
More lightweight does a lot for me. For instance, hopefully it helps to keep
me from bringing another server online and needing an enterprise version of
CFMX7 to handle the load balancing.

Maybe that doesn't make sense to Martin, but apparently he hasn't worked on
the same applications that i have. ;)

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Patrick McElhaney
> Sent: Thursday, September 15, 2005 10:12 PM
> To: [email protected]
> Subject: Re: [CFCDev] Table joins DAOs
>
>
> 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]
>
>





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