Questions tagged as 'ddd'

1
answer

Building knowledge of objects in DDD

I found in github a Vaughn Vernon sample DDD project. I have not yet had the opportunity to buy his book and read the whole one, but one thing that made me curious is the fact that there are many different objects being defined. And when I speak...
asked by 23.02.2015 / 14:48
1
answer

Can a Repository extend a Model?

If the Repository extends to Model User, am I breaking some of the principles of S.O.L.I.D? I've seen some tutorials talk, that I have to create an abstract class with the same methods as Eloquent, does not that apply to KISS principles? A...
asked by 07.06.2017 / 21:00
1
answer

Navigation Properties - Domain-Driven Design

Hello, I'm studying DDD and I came across the following question: There is Aggregate , a set of related objects that have an Aggregate Root Aggregate Root / strong>). So far so good, I've created a routine that would generate all the in...
asked by 11.06.2017 / 19:29
2
answers

Create modules using Unity (IoC)

In an application using a multilayer (n-layer) architecture, we have the infrastructure layer where we use an IoC container to register the required dependencies. In a prototype I'm working on, I'm using the Unity Application Block Unity as a...
asked by 13.01.2015 / 11:55
1
answer

Methods in Entity in DDD architecture

Could you help me with a question. In DDD architecture what types of methods should I put in my Entity and which ones should I in my Domain Service? I know that in my entity I should by at least the entity's own validation method, and when to th...
asked by 22.10.2015 / 21:01
1
answer

Context Delimited and Modules / Packages

According to Domain Driven Design: Covenants should tell a story, be part of the ubiquitous language, organize related concepts; The delimited context is where the terms of the ubiquitous language have meaning; Questions: Should the...
asked by 24.06.2015 / 14:41
1
answer

Is it a problem with my architecture?

I've been a software developer for a long time, but I'm always looking to learn "different ways of doing things". I am currently working on a new project and decided to base the architecture on proposals suggested by the community using a combin...
asked by 04.01.2017 / 18:08
2
answers

Problem with ValueObject in the Entity framework

I'm having a difficulty with a mapping and would like to know if it's possible to do this: I have a Contact class with two fields that are ValueObject of type "Phone", the fields are Phone and Cell. public Telefone Telefone { get; set; } pu...
asked by 06.04.2016 / 18:41
1
answer

DDD - What is the best option (Layer) to consume an external WebService?

DDD Pattern. I need to consume an external WebService , treat the return of this WebService and return the result through the Application layer. Would it be interesting to consume this WebService in the Infrastructure layer and tr...
asked by 22.04.2015 / 14:58
2
answers

Where to put an object that is not an entity in the DDD

My project in ASP.NET MVC in C # has a Domain layer where I have entities, and business rules. I need to add a new rule where I should return an object with an internal list, but I ended up having a discussion about DDD rules with my colleagues...
asked by 14.07.2017 / 14:13