ddd-repositories
Defining aggregate roots and relationships between then
I\'m learning DDD and wanted to start modelling a fairly trivial example, a blog application. One area开发者_StackOverflow中文版 I\'m a little confused about is defining aggregate roots.[详细]
2023-04-11 11:04 分类:问答DDD: can a repository return boolean values?
Is it ok for a Repository to return boolean values based on objects it (virtually) c开发者_Python百科ontains?[详细]
2023-04-05 17:12 分类:问答DDD: keep a link to an entity inside an aggregate root, for reporting only
I\'m refactoring a project using DDD, but am concerned about not making too many Entities their own Aggregate Root.[详细]
2023-04-05 14:22 分类:问答Architecture so you can swap entity framework for SQL and vise versa
Ive been struggling with this for like some time. If you do an architecture like 开发者_Go百科this..[详细]
2023-04-05 03:16 分类:问答DDD - Access repositories from entities, bis
I\'ve asked a previous question last month, about whether an Entity should access a Repository, and although it looks like most people think they shouldn\'t, I have to admit it\'s hard for me to get c[详细]
2023-04-02 07:58 分类:问答DDD - Complex ORM Mapping
I am writing a Java DDD application in which the database model is already designed and implemented. The problem i开发者_开发问答s that my domain objects differs from the database model and the the OR[详细]
2023-03-30 21:27 分类:问答DDD/MVC: how to avoid hitting the Repository from the View?
After reading several other questions, it looks like it\'s not advisable to have an entity class use a Repository. So given these repositories:[详细]
2023-03-25 09:27 分类:问答Can an Entity access a Repository?
Say I\'ve got two simple entities: User and Review. How bad is it if User calls the Review repository? What is the \"clean\" way for the User to get its Reviews?[详细]
2023-03-22 02:29 分类:问答Domain Driven Design - Aggregate Question
In a nutshell, my domain allows users to submit stories (about a person or team of people) that contain a multitude of different states and transitions its can be in and what behavior is allowed durin[详细]
2023-03-21 16:36 分类:问答Instantiate service layer and repositories once during life of web application
During the life of my web application I know all of my services and repositories will be called. I would like to instantiate them once during the startup of the web application and refer to the instan[详细]
2023-03-19 12:31 分类:问答