copy and paste this google map to your website or blog!
Press copy button and paste into your blog or website.
(Please switch to 'HTML' mode when posting into your blog. Examples: WordPress Example, Blogger Example)
oop - Is DDD a waste of time? - Stack Overflow I think that DDD has many advantages the most valuable in my view is the separation of domain (business logic) and infrastructure (scale and resilience logic) This alone is a game changer for protecting high value code from the relentless churn of infrastructure However DDD is very difficult and has not really acquired traction with the dev groups I have worked with In addition, an epidemic
python - Django and domain driven design - Stack Overflow Please note 'model' in DDD is 'Domain Model' which consists of Entities, Value Objects, Services, Repositories, Aggregates, Aggregate Roots and whatever else is needed to represent the domain in question Model in django models, are Entities In other words, in DDD, model is a model of the domain
DDD: guidance on updating multiple properties of entities DDD is better suited for task-based UIs What you describe is very CRUD-oriented In your case, individual properties are treated as independent data fields where one or many of these can be updated by a single generic business operation (update) You will have to perform a deeper analysis of your domain than this if you want to be successfull with DDD Why would someone update all those
Specification Pattern in Domain Driven Design - Stack Overflow I've been struggling around a DDD-related issue with Specifications and I've read much into DDD and specifications and repositories However, there is an issue if trying to combine all 3 of these without breaking the domain-driven design
Where to put business logic in DDD - Stack Overflow If you put all your business logic in an (implicitly stateless) service layer you're writing procedural code By decoupling behavior from data, you're giving up on writing object-oriented code That's not always bad: it's simple, and if you have simple business logic there's no reason to invest in a full-fledged object-oriented domain model The more complex the business logic (and the larger
DDD - Persistence Model and Domain Model - Stack Overflow In DDD, are the persistence model and domain model different things? I mean, we design our domain and classes with only domain concerns in mind; that's okay But after that when we are building our repositories or any other data persistence system, should we create another representation of our model to use in persistence layer?
Domain Driven Design: Domain Service, Application Service Can someone explain the difference between domain and application services by providing some examples? And, if a service is a domain service, would I put the actual implementation of this service w
design patterns - Whats an Aggregate Root? - Stack Overflow From Evans DDD: An AGGREGATE is a cluster of associated objects that we treat as a unit for the purpose of data changes Each AGGREGATE has a root and a boundary The boundary defines what is inside the AGGREGATE The root is a single, specific ENTITY contained in the AGGREGATE And: The root is the only member of the AGGREGATE that outside objects are allowed to hold references to [ ] This
DDD - Dependencies between domain model, services and repositories To your last point, services in DDD are a place to put what I describe as "awkward" logic If you have some type of logic or work flow that has dependencies on other entities this is the type of logic that usually doesn't "fit" inside a domain object itself Example: If I have a method on my business object to perform some type of validation, the service class might execute this method (still