Hey wblakemd.
I often use the "argumentCollection" method of passing arguments to functions in my service layer when that method is a trivial "passthrough" to the DAO layer: <cffunction name="getChildrenQueryBasic" output="false" returntype="query"> <cfargument name="keywords" type="string" required="no" default=""> <cfreturn getChildGateway().getChildrenQueryBasic( argumentCollection = arguments )> </cffunction> This keeps the repetition of method arguments to a minimum. Otherwise I would have to explicitly pass each argument into the method call, not to mention maintain that extra code across code changes. So in my apps, I don't mind having these "passthrough" type methods in my service layer. -Brian On Jan 26, 9:09 am, wblakemd <[email protected]> wrote: > Thanks Peter. That helps a lot. -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
