Dave Ross wrote:
On 11/18/05, Kurt Wiersma <[EMAIL PROTECTED]> wrote:
  
 The only downside
is that currently it requires you to implment a method call getTO()
that returns a struct which the private vars of your CFC inside of it.
    

We should take this a bit further by allowing you to specify the cfc
method for the mapping  rather than expecting getTO() to exist.
Another thing I'd like to do is introspect the object and just call
all the getters, however this will need to be configurable as well
(maybe a blacklist of method names, or number of levels of recursive
expansion).

-Dave
  
I agree (even though I haven't tried the feature yet).  getTO() would conflict on the architecture on my beans/value objects (because it would return my version of a TO an LTO) while getMemento() in those objects returns a struct of instance data already.  Having the ability to set the method to call would be much more flexible in all situations.

Also, can't wait to play with the AOP stuff.  I'm expect to be working on a project that will require logging who accesses certain data in the database -- sounds like I could create a logging service to check who's looking at what.  Is that correct?  (My knowledge of AOP is limited to the blog posts by Chris Scott and Wikipedia).

Best,
.Peter

P.s.  Dave, nice website for CS!
-- 
Peter J. Farrell :: Maestro Publishing
http://blog.maestropublishing.com

Rooibos Generator - Version 2.1
Create boilerplate beans and transfer objects for ColdFusion for free!
http://rooibos.maestropublishing.com/

Member Team Mach-II

Reply via email to