Re: P-EAA, .NET + Domain Model

From: Steve (steve_a_haigh_at_hotmail.com)
Date: 10/15/03


Date: Wed, 15 Oct 2003 10:33:36 +0100

On Tue, 14 Oct 2003 16:58:10 +0100, Mark Everett <quortex@hotmail.com>
wrote:

>
>Part of me feels like I should be going for a table module rather than a
>domain model and that I should use ado.net objects throughout the
>system. But I also feel that this methodology isn't correct despite
>that the amount of work involved is greatly reduced.

I am sure that more knowledgable people will respond to this thread,
but my view is that is the work is "greatly reduced" by avoiding a
domain model then by all means avoid the domain model. I have only a
limited amount of .Net experience, but from what I have seen of VS.Net
and the odd whitepaper it seems very oriented to supporting this
approach.

>
>I am currently reading P-EAA and design patterns, any pointers would be
>appreciated.

So is P-EAA the shorthand for Fowler's "Patterns of Enterprise
Application Architecture"? Is this the recognised abbreviation? If not
it needs to be; on this NG I think we are going to see it as often as
we see "GoF":-)

My only pointer would be to skim read PEAA and then focus in on the
areas which apply to you, there is a lot of good stuff in this book
and you'll find a lot of it applies to your problem.

At this level you will find GoF less useful I think, this is more to
do with the implementation level or detailed design phases. I.e. when
you have decided on an approach and started abstracting classes you
can use GoF patterns to make these object work well together.

~ If emailing, please use: Steve_A_Haigh
~ @
~ hotmail.com
~



Relevant Pages

  • Re: OOD/OOP and databases
    ... I would consider a Table Module & Table Data Gateway approach if my "Domain ... http://www.martinfowler.com/eaaCatalog/tableDataGateway.html patterns. ... Domain Model and Data Mapper approach. ... > I've been reading a lot of great OOD/OOP books lately (e.g.. ...
    (microsoft.public.dotnet.general)
  • Re: OOD/OOP and databases
    ... If you view the interaction with the domain model as a series of messages, ... > start with something a bit lighter which Design Patterns Explained was (a ... > business rules is much more than validation. ... > don't se much of this kind in the OO books. ...
    (microsoft.public.dotnet.general)
  • Re: What is better practice?
    ... As he covers various patterns for handling "data" both representing the ... I have used both Domain Model with Data Mappers and Table Module with Table ... Data Gateway in different solutions. ...
    (microsoft.public.dotnet.framework)
  • Re: OOP Question
    ... Martin Fowler's book "Patterns of Enterprise Application Architecture" from ... Domain Model & Data Mapper patterns. ... > Can someone tell me the OOP way to code classes for small tables of data? ...
    (microsoft.public.dotnet.languages.vb)