Yup -

And to make things 3x as fun, using something like:
https://github.com/markmandel/coldspring/blob/develop/coldspring/orm/hibernate/AbstractGateway.cfc

To generate most of your basic DAO/Gateway methods using onMissingMethod as
well, you barely have to write anything at all.

Mark

On Wed, Jan 11, 2012 at 3:27 PM, Gavin Baumanis <beauecli...@gmail.com>wrote:

> Hi Mark,
> I realise you mentioned this already in this same thread...
>
> But I think the "penny has finally dropped".
> By using onMissingMethod, you only need to write the code in the
> ManagerCFC that is "actually" different from the method in the DAO.
>
> Embarassingly, I have even used onMissingMethod in exactly the same way -
> while "playing around" with RocketBoots' "Galaxy" SOA CFC last year...
>
> So, there is no duplicate code argument to be had here.
>
> 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/-/spBU7eoUpzQJ.
>
> 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.

Reply via email to