Can you make changes to your "data on the inside" without affecting your "contract on the outside"?
Cheers, Greg On Thu, Feb 5, 2009 at 12:13 PM, Richard (Google) <[email protected]> wrote: > > Can you explain the bit that's an anti-pattern? (citing a source if > possible?) > > -------------------------------------------------- > From: "Greg Young" <[email protected]> > Sent: Thursday, February 05, 2009 5:11 PM > To: <[email protected]> > Subject: [nhusers] Re: Should I use NHibernate+WCF? > >> >> Why do you not need them? >> >> Do you understand all of the arguments against your current >> methodology? What you are doing is an anti-pattern in most contexts. >> >> Greg >> >> On Thu, Feb 5, 2009 at 12:10 PM, Richard (Google) >> <[email protected]> wrote: >>> >>> >>> I DO start with the domain objects (or really their tests). In an ideal >>> scenario, the database comes next from SchemaExport()). >>> >>> Anything else I might need would be generated from the domain objects, >>> but >>> if I don't need DTOs I don't see any need to complicate things further. >>> >>> Cheers, >>> Richard >>> >>> -------------------------------------------------- >>> From: "Greg Young" <[email protected]> >>> Sent: Thursday, February 05, 2009 5:03 PM >>> To: <[email protected]> >>> Subject: [nhusers] Re: Should I use NHibernate+WCF? >>> >>>> >>>> see qualification "If you are heads down coding CRUD stuff" >>>> >>>> Why not define it in metadata and generate everything? >>>> Why not generate from the database? >>>> Why not go another way and create your domain class then generate >>>> everything else? >>>> >>>> simple CRUD ... the models are all the same it doesn't matter which >>>> one you start with. >>>> >>>> Greg >>>> >>> >>> >>> >>> > >>> >> >> >> >> -- >> It is the mark of an educated mind to be able to entertain a thought >> without accepting it. >> >> > >> > > > > -- It is the mark of an educated mind to be able to entertain a thought without accepting it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
