Questions tagged [domain-model]

A domain model is composed of the objects, behavior, relationships, and attributes that make up the industry that is the focus of development.

E.g. if you are in retail, you would model the "things" (classes) that are relevant, such as Sale, Product, and SalesTransaction. Read more here

359 questions
0
votes
1 answer

Implement complex calculations with SQL or rather use ETL?

We are currently developing a web application for financial analysis using PHP (Zend Framework 2) and Doctrine as ORM-Tool (MySQL database). The complex financial calculations are done on the server-side, since the client has to be simple as…
0
votes
0 answers

confused about what my service method should return

I have 2 domain classes: User and Role. 1 User can have 1 or more Roles. public class User implements Serializable { private String username; private String password; private boolean lockFlag; private List rolesList; // getters…
srh
  • 1,661
  • 4
  • 30
  • 57
0
votes
1 answer

DDD: Storing reference to non-Aggregate Root Entity from different Bounded Context

I'm struggling to understand how to model my problem: A Company can have many Teams. Each Team must have a unique name per Company. Reports for a particular Team must be retrievable, along with a list of all reports for a Company. Just now, I have…
0
votes
2 answers

NHibernate: completely overriding base domain entity

I have a situation where I have a Common.Domain.Person and Specific.Domain.Person. First one should be provided as a part of a common package. Second one appears when common package has to be customized to fit the needs of specific project. In the…
Andrey Shchekin
  • 21,101
  • 19
  • 94
  • 162
0
votes
2 answers

Entity Framework understanding

I start using Entity Framework about a year ago using Database-First approach. While reading and doing research online, I came across some terminologies that are confusing me. I was wondering if someone can help clear up some questions I have: 1)…
zXSwordXz
  • 176
  • 4
  • 15
0
votes
2 answers

Domain Model for Simple Use case

I am trying to learn domain modeling , now lets consider a shopping cart example.Lets user can browse catalog of products and add products to shopping cart, purchase those products.To purchase products he will place order.User can trace his order…
sumedha
  • 473
  • 1
  • 9
  • 24
0
votes
1 answer

What is the .NET equivalent of Apple's CoreData?

I am studying up on domain model and OR/M frameworks. I am familiar with Apple's CoreData, and would like to know: What Microsoft product is the equivalent to Apple's CoreData?
MM.
  • 4,224
  • 5
  • 37
  • 74
0
votes
1 answer

Shall list members be injected into domain model?

Lately, I have invested my efforts into learning and understanding DI. Now that I'm growing more fluent with it, some other concerns come up. Shall list members be injected into domain model? In the famous example of Ninject, the idea as I see it…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
0
votes
1 answer

MS Project silk and ddd

I have recently add a question regarding DDD architecture. To answer that @guillaume31 mentioned The Domain layer is at the core of your system, as a general rule it shouldn't depend on other modules Recently, i have been looking at the Microsoft…
MJK
  • 3,434
  • 3
  • 32
  • 55
0
votes
1 answer

View-Model and or Domain Model?

Morning all, I'm trying to work out what is best for me to do in a 'mostly' greenfield piece of work I'm doing. The 'mostly' part comes around because I've inherited 2 systems that do a very similar task following a merger of companies. It's really…
0
votes
2 answers

Grails: Domain model relationships based on legacy database

I'm creating a Grails application that takes data from an existing legacy database (that's can't be modified) and I'm trying to wrap my head around how to represent table relationships in the domain model classes. Here's some sample data: Table 1…
Harry Muscle
  • 2,247
  • 4
  • 38
  • 62
0
votes
2 answers

How to control database parameters with Entity Framework

I am using EF with an asp.net mvc project which I am using c# for. I am busy designing the data model now and I would like to know if there is a way to control certain properties about each property not only in the model object but also in the…
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
0
votes
4 answers

Domain model of Team Foundation Server

Did anybody see a domain model (information model) of Microsoft TFS (team foundation server)? Where it can be found? I need to understand ability to integrate it with other product.
0
votes
1 answer

Maintainable and extensible navigation properties

Which one is better (Pros and Cons) (Maintenance, Extensibility) : 1.Has a Request entity have 3 different reference (navigation properties) to Signature: 2.Has a Request entity have collection of Signature, which each Signature has Signature…
0
votes
2 answers

Analysis Design Diagrams and Domain Models

As I know analysis design diagrams and domain models are not completely same. Whats the differencies between them? edit: I want to add to them "conceptual class diagrams" also.
Yavuz
  • 1,257
  • 1
  • 16
  • 32