I use 3 because then the DAO shouldn't have knowledge of the Widget object.
Matthew Small
Web Developer
American City Business Journals
704-973-1045
[EMAIL PROTECTED]
-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 2:46 PM
To: CF-Talk
Subject:
I use 3 because then the DAO shouldn't have knowledge of the Widget object.
It's a WidgetDAO - it exists to load and persist Widgets. By your logic, your
WidgetDAO shouldn't return Widgets either, just a struct (or maybe even a
query) of a given widget's information...
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 3:06 PM
To: CF-Talk
Subject: Re: DAOs, objects, structs, or strings
I use 3 because then the DAO shouldn't have knowledge of the Widget object.
It's a WidgetDAO - it exists to load and persist Widgets. By your logic,
your WidgetDAO shouldn't
Sorry, maybe our terms are different? My Data Access Object (DAO) that
works with the DB returns only a query object. My DataGateway (DG) creates
the object from the query and returns it, or passes it to the DAO in
primitives. Then I have the Data Object itself. Three parts to this
equation for
: Tuesday, October 11, 2005 3:18 PM
To: CF-Talk
Subject: Re: DAOs, objects, structs, or strings
Sorry, maybe our terms are different? My Data Access Object (DAO) that
works with the DB returns only a query object. My DataGateway (DG)
creates the object from the query and returns it, or passes
neat list of things from cfcdev list
http://www.mail-archive.com/cfcdev@cfczone.org/msg11316.html
DK
On 10/11/05, Paul [EMAIL PROTECTED] wrote:
I'm curious about the best way to pass data to and from DAO CFCs.
If I am updating a Widget, I have seen three ways to pass its data to
6 matches
Mail list logo