domain-model Questions

2

Solved

I am incredibly new to Domain Models and I am trying to build up my understanding. I have created this domain model around a scenario which I will provide. I feel this model is simple and as a resu...
Johppah asked 18/10, 2021 at 10:26

4

What is Domain Model? What is Object Model? Are Domain Model and Object Model the same thing? What is the difference between these two? Please explain with simple example. I'm new in this conce...
Vituline asked 4/1, 2013 at 4:8

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

2

Solved

I am having difficulty in attempting to ascertain which domain within a given model can be considered the "core domain". It can be tricky especially if there are several domains which are core to t...
Bathometer asked 12/8, 2014 at 21:18

6

Solved

I am studying a Spring book and they mention Java domain model. What is that?
Sweetbread asked 6/2, 2011 at 13:51

1

I am using ADO.NET to read a bunch of data from the database into in-memory objects. This is my domain model: // Question.cs public class Question { public int ID { get; set; } public string T...
Transudate asked 13/1, 2019 at 1:32

5

Solved

I came across a statement that the domain model designed in accordance with DDD should not be used as resources in a REST API (source). It is clear that a REST API is a contract of the applicatio...
Billon asked 28/11, 2015 at 11:21

1

I want to have a global/app level setting that I want to use in my rich domain models. I have a method that does some calculations based on the argument passed. This might not be the best examp...

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 ...

2

Well I've been trying to find out the difference between data mapper and repository, but up to now I still have not. It seems to me that the expert programmer said "Repository is another layer of a...

5

Solved

In Domain Driven Design, one of the defining characteristic of an Entity is that it has an identity. Problem: I am not able to provide a unique identity to Entities on instance creation. This ide...

2

Solved

We put entities in a domain package. Something like com.acme.domain or com.acme.model. Entities often have properties which represent codes, rather than free form strings. Something like a sort o...
Dight asked 24/11, 2013 at 4:2

0

Which is better practice in web development, an anemic domain model or rich domain model? Anemic domain model means entities are dumb POJOs mapped to some persitent storage. Getters and sett...
Gentleman asked 21/1, 2017 at 15:15

3

Solved

Suppose there is a scenario of Users having Tasks. Each User can either be a Watcher or Worker of a Task. Furthermore, a Worker can file the hours he has worked on a given Task. Would the follo...
Sufficient asked 19/3, 2016 at 10:58

4

Solved

What is the difference between a domain model and a data model?
Evanevander asked 30/9, 2010 at 22:5

2

My team devolops a web api application using entity framework, The Gui is developed by a seperate team. My question is how should the models be defined? Should we have two projects - one for doma...
Treadle asked 1/3, 2016 at 13:22

3

Solved

I have been reading about domain driven design and how to implement it while using code first approach for generating a database. From what I've read and researched there are two opinions around th...
Mercerize asked 11/7, 2014 at 17:58

2

I use Entity Framework Code First approach in my MVC application and I have some entity classes for every table in the database. On the other hand, I need to use some lookup values i.e. gender, sta...
Gouache asked 15/12, 2015 at 8:40

2

Solved

Well I am trying to apply domain driven design principles for my application, with a rich domain model that contains both data fields and business logic. I've read many DDD books, but it seems that...
Acetophenetidin asked 11/10, 2015 at 16:55

2

Solved

To take advantage of the wide range of query methods included in java.util.stream of Jdk 8 I am attempted to design domain models where getters of relationship with * multiplicity (with zero or mor...

4

Solved

I am looking to build an appointment booking app with the following characteristics: - Users can be service providers or buyers - Service providers set their availabilities (but can only set their ...
Beaulahbeaulieu asked 20/5, 2015 at 18:35

3

Let's say I have two entities User and Item. The sole behavior in the domain between these two entities is that a user can like an item. Since there is no restriction on how many items a user can l...
Gerda asked 29/10, 2014 at 0:49

1

Solved

I have a question about some terminology that's been confusing me for ages and I just can't seem to figure it out. Wikipedia tends to explain these things very formally which is very hard for...
Particolored asked 20/9, 2014 at 9:56

3

Solved

I have a value object LoginAuth which contains the User authentication data for my secondary login system. For every User it is optional to opt for the secondary login. So the User entity does not ...
Forzando asked 22/8, 2014 at 15:16

1

I come from an OO background(C#, javascript) and Scala is my first foray into FP. Because of my background I am having trouble realizing a domain model that fits my domain problem well and also co...

© 2022 - 2024 — McMap. All rights reserved.