资源描述:
《1216461-dzone-rc-domain-driven-design 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、076»AboutDomain-DrivenDesignGETTINGSTARTEDWITH»RepresentingtheModel»UbiquitousLanguageDomain-DrivenDesign»StrategicDesignCONTENTS»ModelingtheDomain...andmore!BYASLAMKHAN,UPDATEDANDREVISEDBYOBIOBEROIABOUTDOMAIN-DRIVENDESIGNUSINGAUMLSKETCHThisisaquickreferenceforthekeyconcepts,techni
2、ques,andpatternsdescribedindetailinEricEvans’bookDomainDrivenDesign:TacklingComplexityintheHeartofSoftwareandJimmyNilsson’sbookApplyingDomain-DrivenDesignandPatternswithExamplesinC#.NET.Insomecases,ithasmadesensetousethewordingfromthesebooksdirectly,andIthankEricEvansandJimmyNilsso
3、nforgivingpermissionforsuchusage.Whileitisusefultopresentthepatternsthemselves,manyGetMoreRefcardz!VisitDZone.com/RefcardzsubtletiesofDDDarelostinjustthedescriptionofthepatterns.Thesepatternsareyourtools,andnottherules.Theyarealanguagefordesignandusefulforcommunicatingideasandmodel
4、samongsttheteam.Moreimportantly,rememberthatDDDisaboutmakingpragmaticdecisions.Trynotto“force”apatternintothemodel,and,UBIQUITOUSLANGUAGEifyoudo“break”apattern,besuretounderstandthereasonsandTheconsistentuseofunambiguouslanguageisessentialincommunicatethatreasoningtoo.understanding
5、andcommunicatinginsightsdiscoveredintheOften,itissaidthatDDDisobjectorientationdoneright,butDDDdomain.InDDD,itislessaboutthenounsandverbsandmoreisalotmorethanjustobjectorientation.DDDalsodealswiththeabouttheconcepts.Itistheintentionoftheconcept,itssignificancechallengesofunderstand
6、ingaproblemspaceandtheevenbiggerandvaluethatisimportanttounderstandandconvey.Howthatchallengeofcommunicatingthatunderstanding.intentionisimplementedisvaluable,butforeveryintention,therearemanyimplementations.EveryonemustusethelanguageImportantly,DDDalsoencouragestheinclusionofother
7、areaseverywhereandateveryopportunitytounderstandandsharesuchasTest-DrivenDevelopment(TDD),usageofpatterns,andtheseconceptsandintentions.Whenyouworkwithaubiquitouscontinuousrefactoring.language,thecollaborationwithdomainexpertsismorecreativeandvaluableforeveryone.REPRESENTINGTHEMODE
8、LWatchoutfortechnicalandbu