Maybe try Barney Boisvert's cfgroovy - the Hibernate example works like a charm and Hibernate will definitely handle your complex domian model (strategies, inheritance hierarchies etc)
And cf as your controller / view I've only been using Transfer for 3 months on small projects and just for basic stuff but so far so good. Alan ________________________________ From: Henry <[email protected]> To: CFCDev <[email protected]> Sent: Wednesday, January 28, 2009 6:26:26 PM Subject: [CFCDEV] Re: Questions on Design of DAO, what is your version like? Yes, this is more like a survey and I'm not looking for 'rules to write a correct DAO'. How come everyone uses Transfer... I don't, and I can't. Unfortunately, my application is complex enough that Transfer doesn't fit the bill, and I've not had a good experience with Transfer so far, because it tends to throw exceptions that I have no idea what I did wrong at my part. I ended up spending the time to debug Transfer more than getting things done. I'm really looking forward to CF9's hibernate functionality. However, I'm glad that Transfer works for many of you. Henry On Jan 28, 6:30 am, Brian Kotek <[email protected]> wrote: > I have an get() method in my abstract gateway, but any gateways that deal > with objects that are soft deletable simply override that method to run a > query that omits the deleted rows. Or, if I have a lot of them and the way > soft deletes are handled is common to them all, I'll create a > SoftDeleteAwareGateway that extends the AbstractGateway, which the relevant > concrete gateways can extend to inherit it's get() method. > > On Wed, Jan 28, 2009 at 9:23 AM, John Whish <[email protected]>wrote: > > > Yeah - I was just thinking about the abstract get method needing to know > > which objects have soft delete and how you would go about it. Seems like a > > really elegant approach. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. 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/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
