anemic-domain-model Questions

10

I am deciding if I should use a Rich Domain Model over an Anemic Domain Model, and looking for good examples of the two. I have been building web applications using an Anemic Domain Model, b...
Sapele asked 26/4, 2014 at 17:28

5

Solved

I have been reading about where to put business logic in ASP.NET MVC Project for a while and I still can't get clear on some things. 1 - Domain models. What are these really? In my Model folder I ...

6

Solved

I apologize if this is a duplicate, but I couldn't find any concrete examples on the topic in related questions. After reading Martin Fowler's article on the 'Anemic Domain Model', I'm left ...

2

Solved

An interesting thread came up when I typed in this question just now. I don't think it answers my question though. I've been working a lot with .NET MVC3, where it's desirable to have an anemic mo...

4

Solved

I am trying to understand Anemic Domain Models and why they are supposedly an anti-pattern. Here is a real world example. I have an Employee class, which has a ton of properties - name, gender, u...
Disquietude asked 18/5, 2010 at 5:49

1

I am a bit confused about what is a anemic domain model in OOP. Is a sort of bundle of Plain Old X Object (where X stands for the language you prefer), without behaviors (and responsibilities). cl...
Psychosocial asked 10/2, 2015 at 12:54

2

In Patterns of Enterprise Application Architecture, Martin Fowler talks about two patterns for organizing Domain Logic: Domain Model and Service Layer. The Domain Model pattern is the "pure OOP" ap...

2

Solved

I am designing a system that has a simple Entity Framework backed domain object that has fields I need to update based on a series of rules - I want to implement these rules progressively (in an ag...

7

Solved

I'm in a project that takes the Single Responsibility Principle pretty seriously. We have a lot of small classes and things are quite simple. However, we have an anemic domain model - there is no b...

4

Solved

I'm looking for some advice on how much I should be concerned around avoiding the anemic domain model. We are just starting on DDD and are struggling with analysis paralysis regarding simple design...

3

Solved

Currently in doing some code review of stuff taken over from another team and have one doubt about applying SRP and its relation to anemic or rich domain model (as defined by Martin Fowler). Rich d...

2

Here's a simple example of a problem I'm running across that is not meshing with some of the ideas presented here and other places regarding DDD. Say I have an ASP.NET MVC 3 site that creates/man...

2

Which metric(s) could help to indicate that i have procedural code instead of object-oriented code? I would like to have a set of simple metrics, which indicate with a high probability, that the an...
Tillandsia asked 19/3, 2010 at 22:24

8

Solved

Our current O/RM tool does not really allow for rich domain models, so we are forced to utilize anemic (DTO) entities everywhere. This has worked fine, but I continue to struggle with where to put ...

3

Solved

Being confused again after reading about this anti-pattern and the many concerns about it here on SO. If I have a domain model and capture the data that must be persisted in a data transfer object...
1

© 2022 - 2024 — McMap. All rights reserved.