- Goto Message #
Re: What is meant by domain logic and does thatcomes in the domain m Fica nos 600 ... From: "rajesh.51kannan@..." Sent: 01/04/2014 17:12 To: "firstname.lastname@example.org"
Re: What is meant by domain logic and does that comes in the domain What are the use cases of the system? ... -- Le doute n'est pas une condition agréable, mais la certitude est absurde. What are the use cases of the system?
Re: What is meant by domain logic and does that comes in the domain if (IDontHaveAClueWhatDomainLogicIs) Then IShouldFirstLearnWhatDomainLOgicIsByFiringUpGoogle() else ICanConstructUsefulModelsWithDomainLogic() That's domain
Fetching Sponsored Content...
What is meant by domain logic and does that comes in the domain mode Hi, I'm new to DDD and I have collected some domain objects for payment gateway project. Now my task is to write domain logic for those domain objects. I
Re: Avoid injecting Service/Repository in an Entity First, the domain does not access repositories. As for your case you already have a collection of students, implement a method in the collection class that
Re: Avoid injecting Service/Repository in an Entity Hi Varun, Use the specification pattern which can be accessed on http://martinfowler.com/apsupp/spec.pdf, From what I can tell, you should locate the record of
Avoid injecting Service/Repository in an Entity I think proper DDD would imply encapsulating transaction boundaries in aggregates. So if your business rule needs be to the millisecond consistent, that would
Re: Avoid injecting Service/Repository in an Entity Maybe an EnrollmentSpecification? Students must satisfy this specification in order to be added to a class.This specification would use a repository to find
Re: Avoid injecting Service/Repository in an Entity Sounds like Enrollment itself could be an entity. Would that make things easier?
Re: Avoid injecting Service/Repository in an Entity You don't want to pull in every student with a repository, if you had a decent amount of students your performance will suck. // you can implement this
Re: Avoid injecting Service/Repository in an Entity From my (limited) understanding, you'd have to implement that kind of logic on a command that knows all the relevant services/repositories.
Avoid injecting Service/Repository in an Entity Hi Everyone, From what I've read, this is really bad. But I have the following use case so wondering how to do this in the proper DDD way. The business rule is
Re: Parent/Children AggregateRoot problem Hi, I know it's a very late reply but... Aggregates are *instance* structures, not a class ones. So yes, it's perfectly OK to nest instances. In this
Re: Application Service I'll explain how my colleagues and I have organized things and let you compare/contrast that with what you've thinking. We've built several large business
Application Service In a SOA sense, a service can serve many applications (front ends). In a DDD sense, an application (presentation layer) interacts with the application service
Fetching Sponsored Content...
Re: translation The discussion was if one would per-default name Entities and ValueModels the same as their concepts in the UL or always use English translations. One of my
Re: translation Isn't todays natural language and especially a specific domain language full of terms from other languages? Rarely there is one pure domain and in medicine
Re: translation I leaning towards going for one concept; mixing languages within the same domain seems like a bad idea. So either the domain concepts are in language X or not.
Re: translation The general rule of thumb I use is keep to English except for domain specific terms that don't really translate well (reading code in mixed languages is
Re: translation Hi, I work in the Italian Healthcare System too and my company develop an EHR software used in some hospitals here, we use DDD to model the domain and... we
Re: translation Hi, I work in the Italian Healthcare System and we use DDD to model our domain. We started using English terms to model our first subdomain, but soon we
Re: translation Imo, translation adds a lot of noise, which makes discussions with customers and co-workers a lot harder because everybody thinks in another language, which
Re: translation +1, if there is no need for translation stay with the UL Lang, translation is a cost that must be carefully evaluated. We are Italian and we use Italian even
translation I have an interesting discussion going on in my team and could use some ideas. We are writing software for the Dutch healthcare system. Usually software
Re: How to test value objects when they have dependencies? Pragmatic answer? Leave as it is. You are using absolutely side-effect free "service" objects, that purely do calculations and comparisons and have no state
Re: Aggregate root, factory method and entity as a result quick and dirty gist of state machine and user constructor - https://gist.github.com/donbing/9429867 and by property/reference, i meant something like your
Re: Aggregate root, factory method and entity as a result Why not as simple as put, if you are using C# or a language that supports members visibility, Tenant and User in the same assembly and define the User
Fetching Sponsored Content...
How to test value objects when they have dependencies? **TL;DR** How do you test a value object in isolation from its dependencies without stubbing or injecting them? ... Now if I have a `Quantity` value object
Re: Aggregate root, factory method and entity as a result ... Can you elaborate on this? ... Property/reference? What do you mean exactly? I'm rethinking my model and indeed User should be entity within tenants
Re: Aggregate root, factory method and entity as a result Use a typed state machine? Make the constructor of user require an instance of 'RegisteredTennant' or whatever the your domain names the required state? Otoh,
View First Topic Go to
Loading 1 - 30 of total 24,390 messages