Original http://static.olivergierke.de/lectures/ddd-and-spring/1. IntroductionThis article is about the relationships and differences between the basic artifacts, concepts, and Java Web applications (mainly based on the spring framework) of domain-driven design.The second part of this article describes how to map entities, aggregation roots, and warehousing to Java applications that use the spring framework
After we find the entity and value objects, we need to design the association between the objects.1. Associate as few as possible and not create a complex network. Complex networks are not conducive to dividing boundaries, understanding and maintaining objects, and negatively impacting performance, usually by identifying relationships that need to exist throughout the business life cycle. For example, an or
understand the true cause of the inside, can only presume to speculate whether DDD appears high? The reason, whether or not Eric caused the misfortune, his classic of the United States is beautiful, but it seems that some do not pick up the atmosphere? At least, that's what my reading feels like. Some other works related to DDD, such as Jimmy Nilsson's book "Field-driven design and model combat", have also
To study ddd, it is important to recognize that the core of DDD is universal language and model-driven design. Even Dddlite (technical ddd) must be aware of the location of DDD in the architecture and the necessary architectural knowledge, otherwise it is unknown whether to go all the way back. We first understand the common architecture layering, then understand the level and scope of DDD, and then emphasi
storage details. At the design time, the warehousing interface is placed in the domain layer, and the specific implementation of the warehousing in the infrastructure layer, the domain layer through the interface to access data storage, Instead of paying too much attention to the details of the storage data (that is, the dom
Written in the front: reprint please indicate the sourceDirectory pinned:
About Project--------------------WCF+EF+WPF layered framework based on DDD Domain driven design (1)
Architecture--------------------WCF+EF+WPF Layered framework based on DDD Domain driven
Domain-driven design software: the way to cope with core complexity (English version) (highly recommended by many world-class software masters)
Basic Information
Author: (US) Eric EvansSeries name: Turing programming SeriesPress: People's post and telecommunications PressISBN: 9787115224071Mounting time:Published on: February 1, April 2010Start: 16Other Details
we only need to adhere to the "thin aggregation" principle will not lead to excessive design problems.In the previous example, we designed a complete UML domain model, but we did not do a "thin aggregation" refactoring, so it has the problem of not being able to develop the project.1.1 FigureThe initial version of the domain
Unit testing best Practices for domain-driven design (ii)All along, I tried to find an effective unit test pattern, so that "unit testing" really can be popular in the team, so that unit testing is no longer a formality, but to make unit testing a way to improve the quality of the code.This article describes a scenario for implementing unit tests for
This year, Eric Evans has groundbreaking software design books "Domain-driven design:tackling complexity in the Heart of Software" (Domain-driven design: a response to the core complexity of software) (Addis On-wesley professional
implementations, and base classes of data Objects ; SmartCA.Infrastructure.Repositories, data access and entity object Factory, if we change a database, you can add a second repositories project;
Domain layer: Domain model and Field service here;
Application layer: In this example, the application layer is used only to store certain states of the application and
, however, warehousing is primarily used to perform read and save operations on specific persistence mechanisms/technologies. These persistence mechanisms/techniques can be an entity Framework, NHibernate, or an ADO component for a database engine. For simplicity, we centralize data access operations into warehousing and develop a specific implementation of warehousing for different persistence mechanisms/technologies, which makes it easy to maintain and deploy applications. When designing wareh
No matter whether there is software support or software is good or bad, hundreds of millions occur in every field around the world every day.UnderstandableBusiness
Domain-driven design is a design method. It is hard to understand and evolve the software to solve the problem. The method used is to build a model around t
The object about Domain-driven design in the software
Domain-driven design is a way of thinking that aims to deal with software projects with complex problems. In the traditional waterfall software development model, it goes thro
, we only need to abide by the [Simplified aggregation] principle and won't lead to excessive design problems.
In the previous example, we designed a complete UML domain model, but we didn't [streamline aggregation] And refactor it. So the problem with it is that it cannot be used for project development.
1.1
The initial version of the
Domain-driven design: The Way to cope with software core complexity
Author: Eric EvansTranslator: Chen Dafeng/Zhang zexinPress: Tsinghua University PressPublishing year: 2006-3-1Page: 390Pricing: 48.00Frame loading: 185x260ISBN: 9787302115762
Douban: http://book.douban.com/subject/1629512/Dangdang: http://product.dangdang.com/product.aspx? Product_id = 9150450
D
technology to achieve the function. Or to seek solutions from the root cause, so the field-driven design emphasizes the common language , in order to work with the needs of the specific areas of deep analysis, such demand analysis and model design has a higher stability, not because the demand side of the brain pumping and storms lead to a large change in demand
Based on the concept of front-facing domain-driven design and some best practices, the domain model is the most central part of the system, and we use the example of the previous sales order, the core construction of this case system starts from the
Preface
In fact, this seriesArticleI have already been reposted by many netizens, And I have provided a link to the original article in my previous blog. However, after all, the popularity of the blog garden is even higher, and many netizens strongly demanded that I post the articles to the blog garden. Therefore, I finally made up my mind to reorganize and paste the series of articles in the blog garden.
Based on the discussion results of netizens and their accumulation in practice, I will
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.