AbstractBase classes and onMissingMethod... Mark
On Wed, Jan 11, 2012 at 3:15 PM, Gavin Baumanis <beauecli...@gmail.com>wrote: > 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. > -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com 2 Devs from Down Under Podcast http://www.2ddu.com/ -- You received this message because you are subscribed to the Google Groups "cfaussie" group. 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.