Sure thing.
 
gavinsManagerCFC
...
<cffunction name="getgavinsObject">
    <cfargument name = "ag1" required="true"... >
    <cfargument name = "ag2 required="true"... >
 
    <cfreturn gavinsDAOCFC.getGavinsObject(arg1 = "#arguments.arg1#, arg2 = 
"#arguments.arg2# >
</cffunction>
 
 
gavinsDAOCFC
...
 <cffunction name="getgavinsObject">
    <cfargument name = "ag1" required="true"... >
    <cfargument name = "ag2 required="true"... >
 
    ... Some SQL
        WHERE column1 = "#arguments.arg1#"
       AND column2 = "#arguments.arg2#"
 
    return something (maybe)
</cffunction>
 
In this case the getGavinsObject in gavinsManagerCFC is "practically" a 
stub / duplication of the function in the DAO.
The argument is why bother?
 
Why not just call the DAO version of the CFC and do away with the 
managerCFC entirely?
 
 
Gavin.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/cfaussie/-/upAXP3qmn78J.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to