当前位置:网站首页>The author of DDD said that the development of DDD is not over!

The author of DDD said that the development of DDD is not over!

2021-05-04 15:49:50 Jiedao jdon

yesterday ,Explore DDD 2018 Just closed ,DDD author Eric Evans I'm exploring “ Be skeptical , Optimism and pragmatism ” The keynote speech said ,“DDD Not yet completed .”, Many people think that DDD Born in 15 Years ago , I don't think it's new technology anymore , Actually , In the 15 years since the publication of Domain Driven Design , People are constantly exploring innovation , Event storm modeling 、 Trace the source of the event and CQRS And so on have changed the way we build software , And provides the system does not need a single database innovation .Evans Express : To maintain DDD Continuous development , There is still much work to be done .

People often invite Evans Yes DDD Make a strict definition , In fact, this may lead to DDD Go to religious fundamentalism , Because when DDD After being strictly defined , The slightest change will be criticized by some academic dogmatism “ You didn't do DDD”, Then you can't really innovate . In order to make DDD Keep it going , It has to allow innovation and development .

Evans Think DDD There are still some key guiding principles : Focus on the core areas , Domain experts and programmers need creative collaboration , Explore model design , Speaking a unified language in a context with clear boundaries , You need to keep looking at things from a skeptical perspective (banq notes : I think so I am , Only skeptical thinking can prove one's existence ), Frequently ask : What if we're wrong ? If we don't see DDD Provide the expected results , that , As a professional , We need to rethink our principles .

It is a pity , Some teams implement DDD It's really disappointing , For many reasons , For example, it has something to do with culture (banq notes : Cultural and philosophical background , Software analysis is a philosophical method of logical analysis , It belongs to Russell 、 Logicism represented by Wittgenstein , This belongs to the Anglo American school , But the domestic philosophy is basically German continental school , It belongs to the school of Hegel Marx , Most of the students didn't receive the elementary education of formal logic in school ).

Except for culture , The team lacks the skills to succeed , There are also bad luck reasons ,Evans Trying to categorize the causes , Think DDD Weak technology or DDD The main reason is that the principle is defective . If the technology is weak , It can be done without changing DDD The basic principles of solving . for example , Event storm is a powerful technology , Can help start collaboration . however , If it is DDD The principle itself is flawed , Can we not give up completely DDD Make some changes to them if you want to ? This is an open question to consider .

The development of micro services also benefits from DDD Its own value ,Evans Think it's positive , But it also emphasizes the need to be careful . Even if it's not a microservice ,Explore DDD The meeting may not be held today , But things like “ Every microservice is a bounded context ” It's a bit extreme , It's like an over realistic recipe , Deviated from DDD a key .

Evans Compare a large software system with a community garden , In the garden commons , People have their own private garden space ( Bounded context ), Those legacy systems are like ripe fruits , Gardens are most valuable in late summer and early autumn , Because the most productive , The harvest season , In the early spring, you can trim and change the garden , At this time, your garden is the most potential (banq notes : The use of the weak ), Again , The most developmental stage of software is not the most productive stage .

The last point is , advance DDD The secret to success is cooperation . He thinks meetings are the most effective opportunity , You can bring experts together , Discuss ideas and learn from each other , Not just in the form of radio and lectures . He advocated DDD Experts do experiments , And in DDD Share these experiments and results in the community . It's just as important to bring in experts and opinions from other fields , For example, authors of libraries, packages and languages . He concluded. ,“DDD In the past 15 I've been shocked several times in the past year . I think it's time for another major reshuffle .”

banq Point of view : In China, product managers should master DDD, In this way, product managers and programmers will have a unified language , Some time ago , An event happened in an insurance company when the programmer started beating the product manager , People only see the surface of the problem , In fact, there is no common language between product managers and programmers , If there is no common language between husband and wife , It's prone to stress and anxiety . The product manager raised a customer demand , mobile phone App The background needs to change according to the color of the phone jacket , No matter whether the customer's demand is reasonable or not , But the product manager should not kick the demand to the program ape like a kickball , Instead, we should use domain language to analyze customers' needs , The figure below shows the user needs and DDD And the storm of events :

Eric Evans Says DDD Isn't Done

[ The quilt banq On 2018-09-16 09:14 A modified ]

版权声明
本文为[Jiedao jdon]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/05/20210504154434712w.html

随机推荐