锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-paulwonghttp://www.8634070.com/paulwong/zh-cnTue, 26 Mar 2019 20:59:52 GMTTue, 26 Mar 2019 20:59:52 GMT602018棰勬祴http://www.8634070.com/paulwong/archive/2018/01/15/433008.htmlpaulwongpaulwongMon, 15 Jan 2018 02:51:00 GMThttp://www.8634070.com/paulwong/archive/2018/01/15/433008.htmlhttp://www.8634070.com/paulwong/comments/433008.htmlhttp://www.8634070.com/paulwong/archive/2018/01/15/433008.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/433008.htmlhttp://www.8634070.com/paulwong/services/trackbacks/433008.html

]]>
JAX-RS2璧勬簮http://www.8634070.com/paulwong/archive/2017/09/24/432829.htmlpaulwongpaulwongSun, 24 Sep 2017 09:19:00 GMThttp://www.8634070.com/paulwong/archive/2017/09/24/432829.htmlhttp://www.8634070.com/paulwong/comments/432829.htmlhttp://www.8634070.com/paulwong/archive/2017/09/24/432829.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432829.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432829.html
JAXRSClientSpringBoot

CXFSpringBoot

Restfull Webservice涔¦æ簮鐮?/div>

JAX-RS 2.0 REST瀹?#37812;?#32468;¯ç紪绋?#28729;?#28186;?/div>

鏈?#27996;?#37928;凞EMO



]]>SPRING CLOUD JWT璧勬簮http://www.8634070.com/paulwong/archive/2017/03/24/432401.htmlpaulwongpaulwongFri, 24 Mar 2017 15:11:00 GMThttp://www.8634070.com/paulwong/archive/2017/03/24/432401.htmlhttp://www.8634070.com/paulwong/comments/432401.htmlhttp://www.8634070.com/paulwong/archive/2017/03/24/432401.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432401.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432401.htmlhttps://github.com/thomas-kendall/trivia-microservices


涓€涓猄pring Boot锛?JWT锛孉ugularJS鎺?#37721;?#28729;夊叏楠?#29831;?#37928;勭畝鍗?#28186;嬪瓙
http://blog.csdn.net/offbye/article/details/47607711



https://github.com/tuanngda/spring-boot-oauth2-demo


Spring Oauth2 with JWT Sample
http://www.tuicool.com/articles/EjUFZj7


http://stackoverflow.com/questions/38156213/spring-cloud-zuul-jwt-for-value-reference-tokens

]]>
Spring Boot Admin璧勬簮http://www.8634070.com/paulwong/archive/2017/03/21/432394.htmlpaulwongpaulwongTue, 21 Mar 2017 14:10:00 GMThttp://www.8634070.com/paulwong/archive/2017/03/21/432394.htmlhttp://www.8634070.com/paulwong/comments/432394.htmlhttp://www.8634070.com/paulwong/archive/2017/03/21/432394.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432394.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432394.htmlhttp://blog.csdn.net/kinginblue/article/details/52132113


]]>
DDD棰嗗煙椹卞姩璁?#29825;?- 璁?#29825;?#37826;囨¡£妯¡æ澘http://www.8634070.com/paulwong/archive/2017/02/19/432319.htmlpaulwongpaulwongSun, 19 Feb 2017 04:14:00 GMThttp://www.8634070.com/paulwong/archive/2017/02/19/432319.htmlhttp://www.8634070.com/paulwong/comments/432319.htmlhttp://www.8634070.com/paulwong/archive/2017/02/19/432319.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432319.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432319.html璁?#29825;?#37826;囨¡£妯¡æ澘锛?/h3>
  1. 绯荤粺鑳屾櫙鍜?#28729;?#28003;?/li>
  2. 涓氬姟闇€姹傛弿杩?/li>
  3. 棰嗗煙璇­è¨€鏁?#37918;?#38171;?#28051;?#29781;佹槸鏁?#37918;?#26864;嗗煙涓?#37928;?#37722;勭§鏈?#29831;?#37928;?#28729;?#28052;?#38171;屽悕璇嶈§£?#22132;
  4. 棰嗗煙鍒?#37714;?#38171;?#37714;?#37835;愬嚭瀛愬煙銆佹牳蹇冨煙銆佹敮鎾戝煙锛?/li>
  5. 绯荤粺鐢?#28186;嬪浘
  6. 姣?#28051;?#28699;愬煙鐨?#26864;嗗煙妯?#37736;?#29825;?#29825;?#38171;?#28729;?#28003;?#37510;佸€煎¯¹璞?#37510;佽?#27692;悎銆?#26864;嗗煙浜?#28000;?#38171;?#38343;€瑕佹敞鎰?#37928;勬槸锛?#26864;嗗煙妯?#37736;嬫槸闇€瑕佹娊璞?#37928;?#38171;岃?#20344;垎鏋?#28051;氬姟鏈¬è川锛岃€?#28051;嶆槸?#30045;鍗?#37928;勭洿鎺?#28725;?#38343;€姹?#26473;?#29723;屽缓妯?#38171;?/li>
  7. 棰嗗煙妯?#37736;?#29831;¦ç粏璇?#37828;?#38171;堝¦‚涓?#28000;€涔?#26473;?#37837;?#29825;?#29825;?#37928;勫師鍥?#37510;佹¨¡鍨嬪唴瀵?#29854;?#37928;勫叧绯?#37510;佸?#21229;§涓氬姟瑙勫垯銆佹暟鎹?#28051;€鑷存€?#29785;勫?#27409;瓑锛?/li>
  8. 棰嗗煙鏈嶅姟銆?#28000;?#37708;?#37510;佸伐鍘?#29825;?#29825;?/li>
  9. Saga涓氬姟娴?#32459;?#29825;?#29825;?/li>
  10. ?#21479;?#25965;鑱氬悎鏍?#37928;勭?#33333;€佹?#20349;{鍥?/li>
  11. 鍦烘櫙璧版煡锛?#29825;?#26473;板¦‚浣曢€氳繃棰嗗煙妯?#37736;?#37510;?#26864;嗗煙鏈嶅姟銆?#28000;?#37708;?#37510;丼aga娴?#32459;嬬瓑瀹?#37812;?#32495;荤粺鐢?#28186;?#28000;?#37721;婂叧?#25965;涓氬姟娴?#32459;?#37928;?#38171;?/li>
  12. 鏋?#37835;勮®¾璁?#38171;堝¦‚浼犵粺涓夊?#20635;灦鏋?#37510;佺粡鍏?#37733;?#28766;傛灦鏋?#37510;丆QRS/ES鏋?#37835;?#38171;?/li>

涓€浜?#37711;?#28000;?#37928;勬€濊€?#38171;?/h3>
  • 鍘婚櫎涓€鍒囪姳淇?#37928;勫缓妯?#37814;€宸?#38171;?#37812;戣?#22794;緱鏈€閲?#29781;?#37928;勬柟鍚戝氨?#27128;鍘?#37716;?#37716;?#37714;?#37835;?#38338;?#26864;?#37724;?#27996;?#37911;?#37928;勬湰?#24029;锛岄?#22557;¯¹杩?#28051;?#37832;¬è川杩?#29723;?#26864;嗗煙?#32531;妯?#37510;?#26473;?#28051;?#26864;嗗煙?#32531;妯?#38171;?#37832;€涓?#29781;?#37928;勮繕?#27128;閿荤‚¼鐨?#27996;?#37928;?#27996;?#37911;©æ娊璞?#38003;?#37716;?#37510;?0涓?#27996;?#38171;屽缓?#22189;?#28533;鐨?#26864;嗗煙妯?#37736;嬮兘涓?#37722;?#37510;?#37832;¬è川鍘?#37733;犲氨?#27128;澶?#28729;?#28725;?#37722;?#28051;€涓?#38338;?#26864;?#37928;?#37918;嗚§£涓?#37722;?#38171;屽¯¹浜?#37911;?#37928;勬湰?#24029;鐨?#37918;嗚§£涓?#37722;?#37510;傝櫧鐒?#37832;€缁堥兘鑳?#29785;?#37712;冲綋鍓?#37928;勯棶棰?#38171;?#28003;嗘槸瀵归€傚簲鏈ªæ潵闇€姹?#37721;?#37718;?#37928;勮兘鍔?#37719;存槸涓?#37722;?#37510;?/li>
  • 鎵€浠?#38171;?#37812;?#28000;?#29781;佹妸鏃?#38338;?#38010;卞湪澶?#37918;嗚§£涓氬姟涓?#38171;岃®©鑷?#23480;?#37812;?#28051;?#26864;嗗煙涓?#28729;?#38171;?#37721;?#37832;?#26473;?#37837;?#38171;屾墠鑳?#37711;?#37714;?#37918;嗚§£涓氬姟銆傚¤š鐞嗚§£涓€鐐?#28051;氬姟锛?#28003;?#37813;?#38003;芥洿濂?#37928;勬娊璞¡å嚭涓氬姟鏈¬è川鑳屽悗鐨?#26864;嗗煙妯?#37736;?#37510;?#23536;堝皯鏈?#27996;?#38003;藉?#27692;?#26495;?#22557;揩鐞嗚§£涓氬姟锛屽苟寰堝揩閽堝¯¹涓氬姟璁?#29825;¡å嚭姝?#32429;?#37928;?#26864;嗗煙妯?#37736;?#38171;岃?#20914;皯鎴戞槸涓嶈¡Œ銆?/li>
  • 棰嗗煙?#32531;妯?#38343;€瑕佹椂闂?#38171;屾槸涓€涓?#26473;?#28000;?#37928;勮繃绋?#38171;?#27996;烘— 瀹?#27996;?#37510;傝€屾椂闂?#23536;堝¤š鏃跺€?#28052;?#28051;嶄?#27692;?#22557;厖瓒?#38171;屾墍浠?#38171;?#28051;嶅¤ª鍙?#38003;?#28051;€姝?#37714;?#28003;?#37814;?#26864;嗗煙璁?#29825;¡å仛鐨勫緢瀹?#32519;?#37510;?#37812;?#28000;?#37734;?#37825;?#28003;?#26916;?#37929;?#29785;勫垝鐨勬?#36346;€?#37721;?#38003;戒細鏈?#28051;?#28598;?#37928;勬灦鏋勮®¾璁?#37510;?#28051;氬姟澶?#37733;?#38171;堣?#22317;?#23678;€?#32513;?#38171;?#38171;?#28003;嗘槸涓?#37721;?#38003;借揪鍒?#26864;嗗煙璁?#29825;?#37928;勭?#25489;害锛?#37721;?#38003;芥槸涓€鏈?#28051;€鏈?#37928;?#28729;屽杽锛屽埌鏈€鍚?#37721;?#38003;?#37813;嶄細鏈?#28729;屾暣鐨?#28051;?#38344;?#37928;勭洰?#32141;?#21812;瀹?#37510;?#23011;?#28051;€鏈熼兘闇€瑕佽€冭?#25118;敮?#23508;鐨勫?#28888;櫙?#23475;鏉?#37510;?#28051;?#28051;?#37826;?#37510;?#32495;荤粺杈圭晫銆佹?#20346;画?#27878;鎴?#37928;勭?#31295;叧璁?#29825;?#37510;?#29825;?#29825;¡product, not project銆?/li>


]]>娴呰皥鎴戝¯¹DDD棰嗗煙椹卞姩璁?#29825;?#37928;?#37918;嗚§£(杞?http://www.8634070.com/paulwong/archive/2017/02/19/432318.htmlpaulwongpaulwongSun, 19 Feb 2017 04:12:00 GMThttp://www.8634070.com/paulwong/archive/2017/02/19/432318.htmlhttp://www.8634070.com/paulwong/comments/432318.htmlhttp://www.8634070.com/paulwong/archive/2017/02/19/432318.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432318.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432318.html浠庨亣鍒?#38338;?#26864;樺紑濮?/h2>

?#32139;浜?#28000;?#29781;佸仛涓€涓?#26462;?#28000;?#32495;荤粺鏃?#38171;?#28051;€鑸?#37804;绘槸鍥?#28051;洪亣鍒?#27996;?#28000;€涔?#38338;?#26864;?#38171;?#37906;?#37722;庡笇鏈?#38315;氳繃涓€涓?#26462;?#28000;?#32495;荤粺?#28533;瑙?#37712;?#37510;?/p>

姣斿¦‚锛?#37812;戞槸涓€瀹?#28028;?#28051;?#38171;?#37906;?#37722;?#37812;戣?#22794;緱鎴?#37916;?#37734;?#32510;?#28051;?#38335;€?#25965;鑷?#23480;?#37928;?#27996;§å搧杩?#28051;嶅¤Ÿ锛?#37812;戝笇鏈?#38003;藉?#29111;湪绾?#28051;?#28052;?#38003;?#38335;€?#25965;鑷?#23480;?#37928;?#27996;§å搧銆傛墍浠?#38171;岃嚜鐒?#38000;?#37906;跺氨?#20802;鍒?#29781;佸仛涓€涓?#37829;?#38315;?#37922;?#37727;嗙?#33636;粺锛?#37922;?#27996;?#28729;?#37916;?#37734;?#32510;?#38335;€?#25965;鑷?#23480;?#28028;?#28051;?#27996;§å搧鐨勭洰鐨?#37510;?/p>

鍐?#23011;斿¦‚锛?#37812;戞槸涓€瀹?#27996;?#38001;旂?#25117;叕鍙?#38171;屽叕鍙?#37832;夊?#22557;¤š绯荤粺瀵?#28598;?#37819;?#28186;?#37832;嶅姟锛岄潰鍚戝?#22557;¤š瀹?#37812;?#32468;?#29825;?#28598;?#37510;?#28003;嗘槸鏈€杩?#37922;?#27996;?#37722;勭§鍘?#37733;?#38171;屽¯¼鑷?#37832;嶅姟缁?#29999;稿嚭鏁?#38341;?#37510;傛墍浠?#38171;?#37812;?#28000;?#29999;?#37832;?#38315;氳繃鍚勭§鎺?#37826;芥?#24880;珮鏈嶅姟鐨勮川閲?#37724;?#32459;?#28729;?#37804;?#37510;?#37711;?#28051;?#37928;?#28051;€涓?#37818;?#37826;藉氨?#27128;甯?#37832;?#38003;藉仛涓€涓?#37903;板害鍙戝竷鐨勫钩鍙?#38171;岃繖涓?#39582;?#37721;?#37721;?#28000;?#37819;?#28186;涚?#26495;害鍙戝竷鐨勬?#23941;姟銆?#37906;?#37722;?#38171;屽綋?#28999;涓?#28051;氬姟绯荤粺?#20187;浜?#28051;€浜?#28103;?#37824;瑰苟闇€瑕?#37721;戝竷鏃?#38171;?#37721;?#28000;¥ä娇鐢?#37812;?#28000;?#37928;勭?#26495;害鍙戝?#20904;钩鍙版潵闈炲父鏂?#28186;?#37928;?#28729;?#37916;?#37903;板害鍙戝竷鐨勫姛鑳?#37510;?#23011;斿¦‚鍦?#37903;板害鍙戝?#20904;钩鍙?#28051;?#37826;?#28186;?#37928;?#28729;氬埗鍏?#29825;稿摢浜?#37911;?#28729;?#37928;?#28729;?#37812;?#32468;?#37813;嶄細璁?#38338;?#37826;?#37832;嶅姟锛屽摢浜?#28729;?#37812;?#32468;?#32513;?#32513;­ä娇鐢?#38000;佹?#23941;姟銆傜?#26495;害鍙戝?#20904;钩鍙?#37721;?#28000;?#37819;?#28186;?#37722;勭?#23943;?#26495;害鐨勭?#26667;暐銆?#37832;?#27996;嗚繖鏍?#37928;勭?#26495;害鍙戝竷鏈?#37714;?#38171;岄偅鍗?#28186;?#32495;荤粺鐨勬柊閫昏緫鏈?#28000;€涔?#38338;?#26864;?#38171;?#37721;?#35120;卞搷鐨勯潰涔?#28051;嶄?#27692;?#22557;¤§锛屽湪鍙?#37818;?#38012;冨洿?#21812;銆傛墍浠?#38171;屽?#20635;灉鍏?#37721;?#38322;?#37928;勬墍鏈夊¯¹澶?#37819;?#28186;?#37832;嶅姟鐨勭?#33636;粺?#20824;鎺?#37711;?#27996;嗙?#26495;害骞?#37721;?#38171;岄偅杩?#27996;?#32495;荤粺鐨?#37721;戝竷鐜?#38010;傚氨鍙?#28000;¥æ洿?#23006;鏈?#28103;?#38341;?#27996;?#37510;?/p>

鎬?#28052;?#38171;?#37812;?#28000;¬å仛浠?#28003;?#28051;€涓?#26462;?#28000;?#32495;荤粺锛岄兘?#27128;鏈夊師鍥?#37928;?#38171;屽惁鍒欏氨娌?#36423;?#29781;佸仛杩?#28051;?#32495;荤粺锛岃€岃繖涓?#37720;?#37733;犲氨?#27128;鎴?#28000;¬é亣鍒?#37928;勯棶棰?#37510;傛墍浠?#38171;岄€氳繃闂?#26864;?#38171;?#37812;?#28000;¬å氨?#29025;閬?#27996;?#37812;?#28000;?#38343;€瑕?#28051;€涓?#28000;€涔?#37837;?#37928;勭?#33636;粺锛岃繖涓?#32495;荤粺瑙?#37712;?#28000;€涔?#37837;?#37928;勯棶棰?#37510;?#37832;€鍚?#38171;?#37812;?#28000;?#28751;卞?#22563;嚜鐒?#37928;勫?#26944;嚭浜?#28051;€涓?#37929;?#37837;?#38171;?#37719;崇煡閬?#27996;嗚嚜宸?#29781;?#28000;€涔?#37510;?#23011;斿¦‚鎴戣?#20344;仛涓€涓?#29825;哄›銆?#28051;€涓?#37719;?#28729;?#32495;荤粺銆?#28051;€涓?#37922;?#37727;嗗钩鍙?#37510;?#28051;€涓?#37903;板害鍙戝竷绯荤粺銆?#28051;€涓狪DE銆?#28051;€涓?#37714;嗗?#20904;紡娑堟伅闃?#37714;?#37510;?#28051;€涓?#38315;?#28103;?#22935;?#37835;?#38171;岀瓑?#29905;銆?/p>

DDD鍒?#37711;?#37904;? - 鐞嗚§£姒?#36423;?/h2>

DDD鐨勫叏绉?#28051;篋omain-driven Design锛?#37719;?#26864;嗗煙椹卞姩璁?#29825;?#37510;?#28051;嬮潰鎴?#28000;?#26864;嗗煙銆侀棶棰樺煙銆?#26864;嗗煙妯?#37736;?#37510;?#29825;?#29825;?#37510;?#26937;卞姩杩?#37713;?#28051;?#29831;?#29831;?#37928;?#37722;?#28052;夊?#23683;仈绯?#37928;勮?#25489;害鍘婚˜杩°DDD?#27128;濡?#28003;曡?#23941;叆鍒?#37812;?#28000;?#39582;?#37827;?#37928;勮蒋浠跺紑鍙?#37714;?#37832;熼?#33333;®µ鐨?#37510;?#29781;?#37918;嗚§£浠€涔堟槸棰嗗煙椹卞姩璁?#29825;?#38171;岄¦–鍏?#29781;?#37918;嗚§£浠€涔堟槸棰嗗煙锛屼粈涔堟槸璁?#29825;?#38171;岃繕鏈?#26937;卞姩?#27128;浠€涔?#37808;?#37804;?#38171;屼粈涔?#26937;卞姩浠€涔?#37510;?/p>

浠€涔堟槸棰嗗煙锛圖omain锛?#38171;?/h3>

鍓?#38344;?#37812;?#28000;?#23480;?#32513;?#23059;呮¥š鐨勭煡閬?#37812;?#28000;?#37916;?#37734;?#29781;佸仛涓€涓?#28000;€涔?#37837;?#37928;勭?#33636;粺锛岃繖涓?#32495;荤粺闇€瑕?#29785;?#37712;?#28000;€涔?#38338;?#26864;?#37510;?#37812;戣®¤涓?#28000;?#28003;?#28051;€涓?#32495;荤粺?#20824;浼氬睘浜庢煇涓?#37911;?#28729;?#37928;?#26864;嗗煙锛?#23011;斿¦‚璁哄?#28057;槸涓€涓?#26864;嗗煙锛?#37721;?#29781;?#28003;犳?#20914;仛涓€涓?#29825;哄›锛岄偅杩?#28051;?#29825;哄›鐨勬牳蹇?#28051;氬姟?#27128;纭?#28729;?#37928;?#38171;?#23011;斿?#20638;兘鏈?#37922;?#37812;?#37721;戝笘銆佸?#28850;?#26667;瓑?#29299;蹇冨熀鏈?#37716;?#38003;?#37510;?#23011;斿¦‚鐢?#37727;嗗钩鍙?#37510;佹櫘閫?#37922;?#37727;嗙?#33636;粺锛岃繖绉嶉兘灞?#27996;庣綉涓?#37922;?#37727;?#26864;嗗煙锛?#37721;?#29781;佹槸杩?#28051;?#26864;嗗煙鐨勭?#33636;粺锛岄偅?#20824;鏈夊?#21975;?#20345;µ瑙?#37510;佽喘鐗?#26462;?#37510;?#28051;嬪崟銆佸?#24531;簱瀛?#37510;?#28000;?#23046;?#27996;?#37828;撶瓑?#29299;蹇?#37916;?#38010;?#37510;傛墍浠?#38171;屽悓涓€涓?#26864;嗗煙鐨勭?#33636;粺?#20824;鍏?#37832;?#37929;?#37722;?#37928;勬牳蹇?#28051;氬姟锛屽洜涓?#28000;?#28000;?#29781;?#29785;?#37712;?#37928;勯棶棰?#37928;勬湰?#24029;?#27128;?#34987;浼?#37928;?#37510;?/p>

鍥?#23005;?#38171;?#37812;?#28000;?#37721;?#28000;?#37818;?#37826;­å嚭锛?#28051;€涓?#26864;嗗煙鏈¬è川涓?#37721;?#28000;?#37918;嗚§£涓哄氨?#27128;涓€涓?#38338;?#26864;樺煙锛?#37721;?#29781;佹槸鍚?#28051;€涓?#26864;嗗煙锛岄偅闂?#26864;樺煙?#27688;鐩?#37722;?#37510;傛墍浠?#38171;?#37721;?#29781;佹垜浠?#32429;?#28729;?#27996;嗙?#33636;粺鎵€灞?#37928;?#26864;嗗煙锛岄偅杩?#28051;?#32495;荤粺鐨勬牳蹇?#28051;氬姟锛?#37719;?#29781;?#29785;?#37712;?#37928;勫叧?#25965;闂?#26864;?#37510;侀棶棰?#37928;勮?#20904;洿杈圭?#23677;?#21342;熀鏈?#32429;?#28729;?#27996;?#37510;?#38315;氬父鎴?#28000;?#29831;?#38171;岃?#20345;垚涓?#28051;€涓?#26864;嗗煙鐨?#28051;?#28729;?#38171;屽繀椤?#29781;佸湪杩?#28051;?#26864;嗗煙娣卞叆鐮旂©¶寰堝?#27692;?#23384;?#23944;¡Œ銆?#37733;?#28051;?#37721;?#37832;?#28003;?#37934;旂©¶浜嗗?#22557;?#27692;勾锛?#28003;?#37813;嶄細?#20131;鍒伴?#28850;?#31295;¤š鐨?#29831;?#26864;嗗煙鐨勯棶棰?#38171;屽?#23678;椂浣?#29785;?#37712;?#26473;?#28051;?#26864;嗗煙涓?#37928;勯棶棰?#37928;勭粡楠?#28052;?#38344;炲父涓?#28725;?#37510;?#23536;堝¤š鏃跺€?#38171;?#26864;嗗煙涓?#28729;?#23011;?#37814;€鏈?#28051;?#28729;舵洿?#23006;鍚?#26851;?#38171;?#23011;斿¦‚閲戣瀺棰嗗煙鐨?#28051;?#28729;?#37510;?/p>

浠€涔堟槸璁?#29825;?#38171;圖esign锛?#38171;?/h3>

DDD涓?#37928;勮®¾璁?#28051;?#29781;佹寚棰嗗煙妯?#37736;?#37928;勮®¾璁?#37510;?#28051;?#28000;€涔堟槸棰嗗煙妯?#37736;?#37928;勮®¾璁?#38000;?#28051;嶆槸鏋?#37835;勮®¾璁?#37812;?#37711;?#28000;?#37928;勪粈涔?#29825;?#29825;¡å憿锛?#37733;?#28051;篋DD?#27128;涓€绉?#37737;?#27996;?#22959;?#37736;?#26937;卞姩?#32017;鍙?#37928;勮蒋浠跺紑鍙?#37804;濇兂锛屽?#40511;皟棰嗗煙妯?#37736;嬫槸鏁?#28051;?#32495;荤粺鐨勬牳蹇?#38171;?#26864;嗗煙妯?#37736;?#28052;熸槸鏁?#28051;?#32495;荤粺鐨勬牳蹇?#28000;?#37706;?#37813;€鍦?#37510;?#23011;?#28051;€涓?#26864;嗗煙锛岄兘鏈?#28051;€涓?#28725;瑰簲鐨?#26864;嗗煙妯?#37736;?#38171;?#26864;嗗煙妯?#37736;?#38003;藉?#29111;?#22557;¥½鐨勫府鎴?#28000;?#29785;?#37712;冲?#23942;潅鐨?#28051;氬姟闂?#26864;?#37510;?/p>

浠?#26864;嗗煙鍜屼唬鐮佸疄鐜?#37928;勮?#25489;害?#28533;鐞嗚§£锛?#26864;嗗煙妯?#37736;?#32513;?#28729;?#27996;?#26864;嗗煙鍜屼唬鐮佸疄鐜?#38171;?#32429;?#28103;?#27996;?#37832;€缁?#37928;勪唬鐮佸疄鐜板氨涓€瀹氭槸瑙?#37712;?#27996;?#26864;嗗煙涓?#37928;勬牳蹇?#38338;?#26864;?#37928;?#37510;?#37733;?#28051;?#38171;?锛?#26864;嗗煙椹卞姩棰嗗煙妯?#37736;?#29825;?#29825;?#38171;?锛?#26864;嗗煙妯?#37736;?#26937;卞姩浠?#37934;佸疄鐜?#37510;?#37812;?#28000;?#37721;?#29781;佷繚璇?#26864;嗗煙妯?#37736;?#37928;勮®¾璁¡æ槸姝?#32429;?#37928;?#38171;屽氨鑳界¡®瀹?#26864;嗗煙妯?#37736;?#37721;?#28000;?#29785;?#37712;?#26864;嗗煙涓?#37928;勬牳蹇?#38338;?#26864;?#38171;?#37722;?#37918;?#38171;?#37812;?#28000;?#37721;?#29781;佷繚璇?#28000;?#37934;佸疄鐜版槸涓?#37837;?#37816;夌収棰嗗煙妯?#37736;?#37928;勬剰鍥炬潵钀?#37734;?#37928;?#38171;岄偅?#27688;鑳?#28103;?#29831;佹渶鍚庡嚭?#28533;鐨勪唬鐮?#38003;藉¤Ÿ瑙?#37712;?#26864;嗗煙鐨勬牳蹇?#38338;?#26864;?#37928;?#37510;?#26473;?#28051;?#37804;濊矾锛?#37724;屼?#29365;粺鐨勫垎鏋?#37510;?#29825;?#29825;?#37510;佺紪鐮?#26473;?#37713;?#28051;?#38339;舵®µ琚?#37715;?#29761;?#38171;堝苟涓?#23011;?#28051;?#38339;舵®µ鐨?#27996;?#37911;?#28052;?#28051;?#37722;?#38171;?#37928;勮蒋浠跺紑鍙?#37826;规硶瀛?#35120;?#37812;愰²œ鏄?#37928;勫¯¹姣?#37510;?/p>

浠€涔堟槸椹卞姩锛圖riven锛?#38171;?/h3>

涓?#38344;?#37711;?#28729;炲凡缁?#37819;?#37714;?#27996;?#38171;屽氨?#27128;锛?锛?#26864;嗗煙椹卞姩棰嗗煙妯?#37736;?#29825;?#29825;?#38171;?锛?#26864;嗗煙妯?#37736;?#26937;卞姩浠?#37934;佸疄鐜?#37510;?#26473;?#28051;?#28751;卞拰鎴?#28000;?#28028;犵粺鐨勬暟鎹?#25652;?#26937;卞姩?#32017;鍙?#37928;勬€濊矾褰?#37812;愬¯¹姣?#27996;?#37510;侱DD涓?#38171;?#37812;?#28000;?#37804;绘槸浠?#26864;嗗煙涓鸿?#22317;晫锛屽垎鏋?#26864;嗗煙涓?#37928;勬牳蹇?#38338;?#26864;?#38171;堟牳蹇冨叧?#25950;鐐?#38171;?#38171;?#37906;?#37722;?#29825;?#29825;?#28725;瑰簲鐨?#26864;嗗煙妯?#37736;?#38171;屽啀閫氳繃棰嗗煙妯?#37736;?#26937;卞姩浠?#37934;佸疄鐜?#37510;傝€屽儚鏁?#37817;?#25652;?#29825;?#29825;?#37510;佹寔涔?#37718;?#37814;€鏈¯ç瓑杩?#27996;涢兘涓嶆槸DDD鐨勬牳蹇?#38171;岃€屾槸澶?#37733;?#37928;?#28051;?#29783;?#37510;?/p>

棰嗗煙椹卞姩璁?#29825;?#38171;圖DD锛夊憡璇?#37812;?#28000;?#37928;勬渶澶?#28000;?#37706;?#37812;戣?#22794;?#26945;槸锛氬綋鎴?#28000;?#29781;佸紑鍙?#28051;€涓?#32495;荤粺鏃?#38171;屽簲璇?#28751;?#38322;?#37711;?#37814;?#26864;嗗煙妯?#37736;嬫兂娓呮¥š锛?#37906;?#37722;?#37712;嶅紑濮嬪姩鎵嬬紪鐮?#38171;岃繖鏍?#37928;勭?#33636;粺鍚?#37832;熸?#23940;?#27692;?#22557;¥½缁存姢銆?#28003;嗘槸锛屽?#22557;¤š椤?#37929;?#38171;堝挨鍏舵槸浜?#38001;旂綉椤?#37929;?#38171;?#28051;?#27996;?#29863;跺伐锛夐兘?#27128;涓€?#32017;濮?#22959;?#37736;嬫病?#20802;娓呮¥š锛?#28051;€涓婃潵灏卞紑濮嬪缓琛?#37712;?#28000;?#37934;?#38171;屼唬鐮佸啓鐨勯?#28850;?#31295;啑浣?#38171;?#28729;屽叏?#27128;?#32323;绋嬫槸鐨勬€濊€?#37826;瑰紡锛?#37832;€鍚?#28725;?#38007;?#32495;荤粺闈炲父闅?#28000;?#32513;存姢銆傝€?#28051;旀洿绯?#32495;?#37928;勬槸锛屽嚭?#28533;娣?#37804;绘槸瑕?#26473;?#37928;?#38171;屽墠鏈?#37928;?#26864;嗗煙妯?#37736;?#29825;?#29825;?#37928;?#28051;嶅¥½锛?#28051;嶅?#29112;娊璞?#38171;屽?#20635;灉浣?#37928;勭?#33636;粺?#32048;?#26289;鏈?#38343;€瑕佺?#23384;姢鍜岄€傚簲涓氬姟鍙?#37718;?#38171;岄偅鍚?#38344;?#28003;?#28051;€瀹氫細?#20131;鍒?#37722;勭§闂?#26864;?#32513;存姢涓?#37928;勫?#20276;毦锛?#23011;斿?#20635;暟鎹®ç粨鏋勮®¾璁?#28051;?#37722;?#37918;?#38171;屼唬鐮佸?#26495;?#21227;啑浣?#38171;屾?#31538;UG鍒板?#21227;紩鍏?#37826;?#37928;„BUG锛?#37826;?#27996;?#28725;?#26473;?#32457;?#28000;?#37934;?#28051;?#37813;嬪?#20276;毦锛岀瓑銆傝€岄偅鏃跺?#20635;灉浣犲?#23942;?#25277;噸鏋勬¨¡鍨?#38171;岄偅瑕?#28000;樺嚭鐨勪唬浠蜂細姣?#28051;€?#32017;濮?#38322;?#37826;板紑鍙戣繕瑕佸¤§锛屽洜涓?#28003;?#26473;?#29781;佽€冭?#25117;…¼瀹?#37720;?#37721;?#37928;勬暟鎹?#38171;屾暟鎹?#26473;?#32457;?#38171;屽¦‚浣?#39582;?#23114;?#37721;戝?#20906;瓑鍚勭?#23941;?#23544;柤鐨勯棶棰?#37510;傛墍浠?#38171;屽?#21342;¯¼鑷?#37812;?#28000;?#37832;€鍚?#28598;?#28598;©å姞鐝?#37510;?/p>

?#27367;鐒?#38171;?#37812;?#28000;¬é兘?#29025;閬?#26473;?#28051;?#38316;?#37918;?#38171;?#28003;嗘槸鎴?#28052;熸槑?#27367;锛?#27996;?#37928;?#28052;犳儻寰堥毦鏀?#37721;?#37928;?#38171;屽¤§閮?#37714;?#27996;洪兘寰堥毦浠?#38344;?#37722;戣繃绋嬪紡鐨勬兂鍒板摢閲屽啓鍒板摢閲?#37928;勬€濇兂杞?#37721;?#28051;?#37737;?#27996;?#32495;荤粺鍖?#37928;勬¨¡鍨?#26937;卞姩鐨勬€?#32513;?#37510;?#37812;戞兂锛岃繖鎴?#29825;告槸DDD寰堥毦鍦?#28051;?#37733;?#37812;?#37733;藉¤–娴佽¡Œ璧锋潵鐨勫師鍥?#37722;?#37510;?#28003;嗘槸锛?#37812;戞兂杩?#28051;嶅簲璇?#37812;?#28051;?#37812;?#28000;?#37824;惧純瀛?#28052; DDD鐨勫師鍥?#38171;屽¯¹鍚?#38171;?/p>

姒?#36423;?#37804;荤粨锛?/h3>
  1. 棰嗗煙?#27688;?#27128;闂?#26864;樺煙锛?#37832;夎?#22317;晫锛?#26864;嗗煙涓?#37832;夊?#22557;¤š闂?#26864;?#38171;?/li>
  2. 浠?#28003;?#28051;€涓?#32495;荤粺瑕?#29785;?#37712;?#37928;勯偅涓?#28598;?#38338;?#26864;˜é兘瀵瑰簲涓€涓?#26864;嗗煙锛?/li>
  3. 閫氳繃?#32531;绔?#26864;嗗煙妯?#37736;嬫潵瑙?#37712;?#26864;嗗煙涓?#37928;勬牳蹇?#38338;?#26864;?#38171;?#22959;?#37736;?#26937;卞姩鐨勬€濇兂锛?/li>
  4. 棰嗗煙?#32531;妯?#37928;勭洰鏍?#38333;堝¯¹鎴?#28000;?#37734;?#26864;嗗煙涓?#37813;€?#21479;蹇?#37928;勯棶棰?#38171;?#37719;?#37721;?#38333;堝?#35268;牳蹇冨叧?#25950;鐐?#38171;岃€?#28051;嶆槸鏁?#28051;?#26864;嗗煙涓?#37928;勬墍鏈?#38338;?#26864;?#38171;?/li>
  5. 棰嗗煙妯?#37736;嬪湪璁?#29825;?#37827;跺簲鑰冭檻涓€瀹?#37928;勬娊璞?#37804;?#37510;侀€?#37922;?#37804;?#38171;屼互鍙婂¤鐢?#28000;?#37706;?#38171;?/li>
  6. 閫氳繃棰嗗煙妯?#37736;?#26937;卞姩浠?#37934;?#37928;?#28729;?#37916;?#38171;?#32429;?#28103;?#28000;?#37934;?#29825;?#26864;嗗煙妯?#37736;嬭惤鍦?#38171;屼唬鐮佹渶缁?#38003;?#29785;?#37712;抽棶棰?#38171;?/li>
  7. 棰嗗煙妯?#37736;嬫槸绯荤粺鐨勬牳蹇?#38171;屾槸棰嗗煙?#21812;鐨?#28051;氬姟鐨勭洿鎺?#23052;夋穩锛屽叿鏈?#38344;炲?#31295;¤§鐨?#28051;氬姟浠?#37706;?#38171;?/li>
  8. 鎶€鏈?#37835;?#37835;勮®¾璁?#37812;?#37825;?#37817;?#28699;?#37708;¨ç瓑?#27128;鍦?#26864;嗗煙妯?#37736;?#37928;勫¤–鍥?#38171;屽府鍔?#26864;嗗煙妯?#37736;?#26473;?#29723;岃惤鍦?#38171;?/li>

DDD鍒?#37711;?#37904;? - 鐞嗚§£棰嗗煙銆佹?#21975;垎棰嗗煙銆佺?#21975;寲棰嗗煙

鐞嗚§£棰嗗煙?#29025;璇嗘槸鍩虹¡€

涓?#38344;?#37812;?#28000;?#38315;氳繃绗?#28051;€姝?#38171;岃櫧鐒?#37812;?#28000;?#37828;庣¡®浜嗚?#20344;仛涓€涓?#28000;€涔?#37837;?#37928;勭?#33636;粺锛?#29831;?#32495;荤粺涓?#29781;?#29785;?#37712;?#28000;€涔?#38338;?#26864;?#38171;?#28003;嗘槸?#27688;杩?#37837;?#37812;?#28000;?#26473;?#37827;犳?#26334;紑濮?#26473;?#29723;?#28729;?#38340;?#37928;?#38343;€姹?#37714;?#37835;?#37724;?#22959;?#37736;?#29825;?#29825;?#38171;?#37812;?#28000;?#26473;?#36423;?#26916;?#28751;?#37812;?#28000;?#37928;勯棶棰?#26473;?#29723;屾?#21975;垎锛?#38343;€姹?#26473;?#29723;?#32513;嗗寲銆?#37832;?#27996;?#37827;跺€?#38171;?#38343;€姹?#37826;?#38171;?#37719;?#37819;愬嚭闂?#26864;?#37928;?#27996;?#38171;屽緢鍙?#38003;?#38007;?#23480;?#28051;嶆?#21614;?#27692;叿浣撴兂瑕?#28000;€涔?#37510;?#28000;?#37721;ªç煡閬?#28051;€涓?#22994;?#36423;?#38171;?#28051;€涓?#28598;?#37928;勭洰鏍?#37510;?#23011;斿¦‚浠?#37721;ªç煡閬?#29781;佸仛涓€涓ªè偂绁?#27996;?#37828;?#32495;荤粺锛?#28051;€涓?#37903;板害鍙戝竷绯荤粺锛?#28051;€涓?#37922;?#37727;嗗钩鍙?#38171;?#28051;€涓ªå紑鍙戝伐鍏?#38171;岀瓑銆?#28003;嗘槸浠?#28051;嶆?#21614;¥š杩?#27996;?#32495;荤粺?#31794;璇?#37711;?#28003;撳仛鎴?#28000;€涔?#37837;?#28699;?#37510;?#26473;?#28051;?#37827;跺€?#38171;?#37812;戣®¤涓?#26864;嗗煙涓?#28729;跺氨闈炲父閲?#29781;?#27996;?#38171;孌DD涔?#38344;炲?#31295;?#40511;皟棰嗗煙涓?#28729;?#37928;勯噸瑕佹€?#37510;?#37733;?#28051;?#26864;嗗煙涓?#28729;?#28725;?#26473;?#28051;?#26864;嗗煙闈炲父浜嗚§£锛屽¯¹棰嗗煙?#21812;鐨?#37722;勭§涓氬姟鍦烘櫙鍜屽?#21229;§涓氬姟瑙勫垯涔?#38344;炲?#21578;?#21614;¥š锛屾€?#28052;?#38171;屽¯¹杩?#28051;?#26864;嗗煙?#21812;鐨?#28051;€鍒?#28051;氬姟鐩稿叧鐨勭煡璇嗛兘闈炲父浜嗚§£銆傛墍浠?#38171;屼粬浠?#38007;?#37906;跺氨鏈?#38003;?#37716;?#29723;?#26440;惧嚭绯荤粺璇¥å仛鎴?#28000;€涔?#37837;?#28699;?#37510;傛墍浠?#38171;岃?#20346;煡閬?#28051;€涓?#32495;荤粺鍒板簳璇¥å仛鎴?#28000;€涔?#37837;?#28699;?#38171;屽?#26495;簳鍝?#27996;涙槸?#29299;蹇?#28051;氬姟?#21479;?#25950;鐐?#38171;?#37721;?#38003;?#38344;犳?#22795;穩棰嗗煙?#21812;鐨?#37722;勭?#23943;煡璇?#38171;屽埆鏃?#28000;栨硶銆?#37733;?#23005;?#38171;屽亣璁?#28003;犵幇鍦?#37813;撶?#26944;仛涓€涓?#37922;?#37727;嗗钩鍙?#38171;?#28003;嗘槸浣?#28725;?#26473;?#28051;?#26864;嗗煙娌?#28000;€涔?#27996;嗚§£锛岄偅浣?#28051;€瀹氬緱鍏堝幓浜嗚§£涓?#29831;?#26864;嗗煙?#21812;涓?#23092;?#37928;勭數鍟嗗钩鍙?#38171;?#23011;斿?#20635;窐瀹?#37510;佸¤©鐚?#37510;?#27996;?#28051;?#37510;?#27996;?#26937;?#38315;婄瓑銆?#26473;?#28051;?#27996;嗚§£鐨勮繃绋嬪氨?#27128;浣犳?#22795;穩棰嗗煙?#29025;璇嗙?#21230;繃绋?#37510;傚?#20635;灉浣?#28051;?#27996;嗚§£锛屽氨绠?#28003;?#26864;嗗煙?#32531;妯?#37928;勮兘鍔涘?#23941;己锛屽?#21229;§鎶€鏈?#37835;?#37835;勮兘鍔涘?#23941;己涔熸槸?#23047;涓?#28051;?#37716;?#37510;?#26864;嗗煙涓?#28729;?#28051;嶆槸?#28999;涓?#37733;?#28729;?#37928;勮?#25493;壊锛岃€屾槸?#28999;涓€?#34987;浜?#38171;岃繖?#34987;浜?#28725;?#26473;?#28051;?#26864;嗗煙闈炲父浜嗚§£銆?#23011;斿¦‚锛?#28051;€涓ªå紑鍙?#27996;哄憳涔?#37721;?#28000;¥æ槸涓€涓?#26864;嗗煙涓?#28729;?#37510;傚亣璁?#28003;?#37734;?#28051;€涓?#37711;?#37721;稿紑鍙?#37724;?#32513;存姢涓€涓?#32495;荤粺宸?#32513;?#28610;藉?#29362;勾浜?#38171;?#28003;嗘槸杩?#28051;?#32495;荤粺鐨?#27996;?#37725;佺粡鐞?#38171;ˆPD锛?#37721;?#38003;?#23480;?#32513;?#37817;¢è繃濂藉嚑浠?#27996;?#38171;岃繖绉嶆ƒ…鍐?#28051;?#38171;?#37812;?#37929;?#28103;?#26473;?#37713;?#28000;?#27996;?#37725;佺粡鐞嗛兘娌?#37832;?#23011;?#28003;犳?#23544;?#29112;倝杩?#28051;?#26864;嗗煙銆?/p>

鎷嗗垎棰嗗煙

涓?#38344;?#37812;?#28000;?#37828;庣櫧浜?#38171;?#26864;嗗煙?#32531;妯?#37928;勫?#34425;¡€?#27128;瑕佸厛鐞嗚§£棰嗗煙锛岃®©鑷?#23480;?#37812;?#28051;?#26864;嗗煙涓?#28729;?#37510;傚?#20635;灉鍋氬埌浜嗚繖鐐?#38171;?#37812;?#28000;¬å氨鎵撳¥½浜嗗潥瀹?#37928;勫?#34425;¡€浜?#37510;?#28003;嗘槸锛?#37832;?#37827;?#28051;€涓?#26864;嗗煙寰€寰€澶?#28598;嶆潅锛屾¶‰鍙?#37714;?#37928;?#26864;嗗煙姒?#36423;?#37510;?#28051;氬姟瑙勫垯銆?#27996;?#27996;?#23092;?#32459;嬪¤ª澶?#38171;屽¯¼鑷?#37812;?#28000;?#23052;?#37716;?#23049;曠洿鎺?#38333;堝¯¹杩?#28051;?#28598;?#37928;?#26864;嗗煙杩?#29723;?#26864;嗗煙?#32531;妯?#37510;傛墍浠?#38171;?#37812;?#28000;?#38343;€瑕佸皢棰嗗煙杩?#29723;屾?#21975;垎锛?#37832;¬è川涓婂氨?#27128;鎶婂¤§闂?#26864;?#37815;嗗垎涓?#28751;?#38338;?#26864;?#38171;?#37906;?#37722;?#37722;?#28051;?#37713;?#37934;?#37928;勬€濊矾銆?#37906;?#37722;?#37827;?#37906;舵妸涓€涓?#28598;?#37928;?#26864;嗗煙鍒?#37714;?#28051;?#27996;嗗¤š涓?#28751;?#37928;?#26864;嗗煙锛?#28699;愬煙锛?#38171;岄偅鏈€?#21479;?#25965;鐨勫氨?#27128;瑕?#37918;嗘竻姣?#28051;?#28699;愬煙鐨勮?#22317;晫锛?#37906;?#37722;?#29781;佹悶娓呮?#27692;摢浜?#28699;愬煙?#27128;?#29299;蹇?#28699;愬煙锛屽摢浜涙槸闈炴牳蹇?#28699;愬煙锛屽摢浜涙槸鍏?#37711;辨敮鎾?#28699;愬煙锛?#37906;?#37722;?#38171;岃繕瑕佹€濊€?#28699;愬煙涔?#38338;?#37928;勮仈绯绘槸浠€涔?#37510;傞偅涔?#38171;?#37812;?#28000;?#29831;?#28641;?#28003;?#37714;?#37714;?#28699;愬煙?#25023;锛?#37812;?#37928;?#28051;?#27996;虹?#23339;硶?#27128;浠?#28051;氬姟鐩稿叧鎬?#37928;勮?#25489;害鍘?#37804;濊€?#38171;?#28052;熷氨?#27128;鎴?#28000;?#39582;?#37827;?#29831;?#37928;勬寜涓氬姟鍔?#38003;?#28051;哄嚭鍙?#37904;?#26473;?#29723;屽垝鍒?#37510;?#26473;樻槸鎷?#32513;?#37711;?#37928;勭數鍟嗙?#33636;粺?#28533;鍒?#37835;?#38171;岄€氬父涓€涓?#37922;?#37727;嗙?#33636;粺?#20824;浼氬寘鍚?#28610;藉嚑涓?#28598;?#37735;?#38171;?#23011;斿¦‚锛?/p>

  • 浼氬憳涓?#36423;?#38171;氳礋璐?#37922;?#37812;疯处鍙风櫥?#32141;銆?#37922;?#37812;?#28103;¡æ伅鐨勭®¡鐞?#38171;?/li>
  • 鍟嗗搧涓?#36423;?#38171;氳礋璐?#37727;嗗搧鐨勫?#26336;¤º銆佸¯¼鑸?#37510;佺?#23384;姢锛?/li>
  • 璁?#37719;?#28051;?#36423;?#38171;氳礋璐?#29825;?#37719;?#37928;勭敓鎴?#37724;?#37922;熷?#34249;懆鏈熺®¡鐞?#38171;?/li>
  • 浜?#37828;?#28051;?#36423;?#38171;氳礋璐?#27996;?#37828;?#37929;稿叧鐨?#28051;氬姟锛?/li>
  • 搴?#28699;?#28051;?#36423;?#38171;氳礋璐?#32513;存姢鍟嗗搧鐨勫簱瀛?#38171;?/li>
  • 淇?#38335;€涓?#36423;?#38171;氳礋璐?#37722;勭?#23940;績閿€娲诲姩鐨勬敮?#23508;锛?/li>

涓?#38344;?#26473;?#27996;?#28051;?#36423;冪湅璧锋潵寰堣嚜鐒?#38171;屽洜涓?#28598;?#28729;?#28725;?#37922;?#28699;愬?#21975;姟鐨勮繖涓?#26864;嗗煙?#20824;宸?#32513;?#38344;炲父鐔熸倝浜?#38171;屾墍浠¥é兘娌?#28000;€涔堢枒闂?#38171;屽?#34249;儚寰堣嚜鐒?#37928;勬牱瀛?#37510;傛墍浠?#38171;?#26864;嗗煙鍒?#37714;嗘槸涓嶆槸?#27688;?#27128;娌?#28000;€涔堟寫鎴?#27996;嗗憿锛熸樉鐒?#28051;嶆槸銆?#28052;?#37813;€浠?#37812;?#28000;?#29785;夊緱瀛愬煙鍒?#37714;嗗緢?#30045;鍗?#38171;屾槸鍥?#28051;?#37812;?#28000;?#28725;规暣涓?#28598;?#26864;嗗煙闈炲父浜嗚§£浜?#37510;傚?#20635;灉鎴?#28000;¬é亣鍒?#28051;€涓?#37712;?#38338;?#37928;?#26864;嗗煙锛屽氨娌?#37716;?#23049;?#26473;?#28052;?#28729;规槗鐨勫幓鍒?#37714;?#28699;愬煙浜?#37510;?#26473;欏氨闇€瑕佹垜浠?#37711;堝幓鍔?#37716;?#37918;嗚§£棰嗗煙?#21812;鐨勭煡璇?#37510;傛墍浠?#38171;?#37812;?#28051;?#27996;?#28000;庢潵涓?#37929;?#28103;?#28000;€涔?#28699;愬煙鍒?#37714;嗙?#21228;妧宸?#28000;€涔?#37928;?#28051;?#29783;?#38171;屽洜涓?#37812;戣?#22794;緱杩?#28051;ªå伐浣?#23052;?#37832;?#28000;?#28003;?#29831;€绐?#37721;?#28000;¥ä娇鐢?#37510;傚綋鎴?#28000;?#28051;?#27996;嗚§£涓€涓?#28051;?#29783;?#37928;勬?#36346;€?#38171;屽¦‚浣?#37720;绘?#21978;§£瀹?#38171;熷綋鎴?#28000;?#28725;规暣涓?#26864;嗗煙鏈?#28051;€瀹?#37928;勭?#29112;倝浜?#38171;?#27996;嗚§£浜?#26864;嗗煙?#21812;鐨勭?#31295;叧涓氬姟鐨勬湰?#24029;鍜屽叧绯?#38171;?#37812;?#28000;¬å氨鑷?#37906;?#38000;?#37906;?#37928;勮兘鍒?#37714;嗗嚭鍚?#37918;嗙殑瀛愬煙浜?#37510;?#28051;嶈繃?#33503;涓嶆槸鎵€鏈?#37928;勭?#33636;粺?#20824;闇€瑕佸垝鍒?#28699;愬煙鐨?#38171;?#37832;?#27996;?#32495;荤粺鍙ªæ槸瑙?#37712;?#28051;€涓?#28751;?#38338;?#26864;?#38171;岃繖涓?#38338;?#26864;?#28051;嶅?#23942;潅锛?#37721;?#38003;?#37721;?#37832;?#28051;€涓?#28051;ªæ牳蹇冩¦‚蹇?#37510;傛墍浠?#38171;岃繖绉?#32495;荤粺瀹屽叏涓?#38343;€瑕佸啀鍒?#37714;?#28699;愬煙銆?#28003;?#28051;嶆槸缁?#28725;?#37928;?#38171;屽綋涓€涓?#26864;嗗煙锛?#37812;?#28000;?#37928;勫叧?#25950;鐐硅?#23107;潵瓒婂¤š锛?#23011;?#28051;ªå叧?#25950;鐐?#37812;?#28000;¬å叧?#25950;鐨勪俊?#20229;瓒婃潵瓒婂¤š鐨勬?#36346;€?#38171;?#37812;?#28000;¬ä細涓?#37922;?#38007;?#28051;?#37928;勫幓杩?#28051;€姝?#37928;勫垝鍒?#28699;愬煙銆?#23011;斿¦‚锛?#28052;?#29825;?#37812;?#28000;?#28051;€?#32017;濮嬪?#21975;?#21975;?#20344;?#23677;?#21975;搧鐨勫簱瀛˜é兘鏀?#37734;?#37727;嗗搧涓?#36423;?#38322;?#38171;?#28003;嗘槸鍚庢潵鐢?#27996;庡簱瀛?#37928;勭?#23384;姢瓒婃潵瓒婂?#23942;潅锛屽¯¼鑷存?#22794;湪涓€璧?#28725;?#37812;?#28000;?#37928;勭?#33636;粺缁存姢甯¦æ潵涓€瀹?#37928;勫?#20276;毦鏃?#38171;?#37812;?#28000;¬å氨?#32048;鑰冭?#25117;皢涓?#38000;?#26473;?#29723;屾?#21975;垎锛岃繖涓ªå氨?#27128;鎵€璋?#37928;?#28051;氬姟鍨?#37929;?#37714;嗗壊銆?/p>

缁嗗寲瀛愬煙

閫氳繃涓?#38344;?#37928;?#28051;?#23005;?#38171;?#37812;?#28000;?#27996;嗚§£浜?#26864;嗗煙閲?#37928;勭煡璇?#38171;?#28052;?#28725;?#26864;嗗煙杩?#29723;?#27996;?#28699;愬煙鍒?#37714;?#37510;?#28003;嗚繖鏍?#26473;?#28051;嶅¤Ÿ锛屽‡­杩?#27996;?#37812;?#28000;?#26473;?#37827;犳硶杩?#29723;屽悗缁?#37928;?#26864;嗗煙妯?#37736;?#29825;?#29825;?#37510;?#37812;?#28000;?#26473;?#36423;?#26916;?#37712;?#26473;?#28051;€姝?#32513;嗗寲姣?#28051;?#28699;愬煙锛岃繘涓€姝?#37828;庣¡®姣?#28051;?#28699;愬煙鐨勬牳蹇冨叧?#25950;鐐?#38171;?#37719;?#38343;€姹?#32513;嗗寲銆?#37812;戣?#22794;緱鎴?#28000;?#38343;€瑕佺?#21975;寲鐨勬?#24402;潰鏈?#28000;?#28051;嬪?#29365;偣锛?/p>

  1. 姊?#37918;?#26864;嗗煙姒?#36423;?#38171;氭¢³鐞嗗嚭棰嗗煙?#21812;鎴?#28000;¬å叧?#25950;鐨勬¦‚蹇?#37510;佹¦‚蹇?#37928;勫叧绯?#38171;屽苟?#31930;涓€浜?#23092;?#29831;?#23033;?#38171;屽舰鎴愮粺涓€璇­è¨€锛?/li>
  2. 姊?#37918;?#28051;氬姟瑙勫垯锛氭¢³鐞嗗嚭棰嗗煙?#21812;鎴?#28000;¬å叧?#25950;鐨?#37722;勭§涓氬姟瑙勫垯锛孌DD涓?#37721;?#28051;?#37721;?#37804;?#38171;ˆinvariants锛?#38171;?#23011;斿?#20634;敮涓€鎬?#29785;勫垯锛?#28003;?#26864;?#28051;?#38003;藉皬浜庨?#21057;瓑锛?/li>
  3. 姊?#37918;?#28051;氬姟鍦烘櫙锛氭¢³鐞嗗嚭棰嗗煙?#21812;鐨勬牳蹇?#28051;氬姟鍦烘櫙锛?#23011;斿¦‚鐢?#37727;嗗钩鍙?#28051;?#37928;勫姞鍏?#29840;?#37911;?#26462;?#37510;佹彁浜?#29825;?#37719;?#37510;?#37721;戣捣浠?#23046;剧瓑?#29299;蹇?#28051;氬姟鍦烘櫙锛?/li>
  4. 姊?#37918;?#28051;氬姟娴?#32459;?#38171;氭¢³鐞嗗嚭棰嗗煙?#21812;鐨勫叧?#25965;涓氬姟娴?#32459;?#38171;?#23011;斿¦‚璁?#37719;?#28598;?#37918;嗘祦绋?#38171;岄€€娆?#23092;?#32459;嬬瓑锛?/li>

浠?#28051;?#38344;?#26473;?涓?#37826;归潰锛?#37812;?#28000;?#28000;?#26864;嗗煙姒?#36423;?#37510;?#28051;氬姟瑙勫垯銆?#27996;?#27996;掑?#28888;櫙銆?#28051;氬姟娴?#32459;嬬瓑缁村害姊?#37918;?#27996;?#37812;?#28000;?#37714;板簳瑕?#28000;€涔?#38171;屾暣鐞?#27996;?#37825;?#28051;?#32495;荤粺?#31794;璇?#37711;?#28598;?#37928;勫姛鑳?#37510;?#26473;?#28051;ªå伐浣?#37812;戣?#22794;?#26945;槸涓€涓?#38344;炲父鍏?#37832;夊垱閫?#37804;?#37724;?#37832;?#38341;惧害鐨勫伐浣?#37510;?#37812;?#28000;?#28051;€鏂归潰?#32048;涓?#29785;?#37928;?#28729;?#28052;?#37812;?#28000;¬æ兂瑕?#28000;€涔?#38171;?#37721;?#28051;€鏂归潰锛?#37812;?#28000;?#26473;樹細鎬濊€?#37812;?#28000;?#29781;?#37928;?#28051;?#29783;?#37928;?#37722;?#37918;嗘€?#37510;?#37812;戣®¤涓?#26473;?#28051;ªå氨?#27128;浜?#37725;佺粡鐞嗙殑?#20240;浣?#38171;?#27996;?#37725;佺粡鐞嗗繀椤?#29781;佽礋璧疯?#23683;矗锛屾妸浠?#37928;?#27996;?#37725;佸厖鍒嗚®¾璁?#28610;?#38171;屼粠鍚?#28051;?#37826;归潰鍘昏€冭檻锛屽¦‚浣?#29825;?#29825;?#28051;€涓?#27996;§å搧锛屾墠鑳芥洿濂?#37928;勮§£鍐?#37922;?#37812;?#37928;勬牳蹇?#29831;?#23033;?#38171;?#37719;?#26864;嗗煙?#21812;鐨勬牳蹇?#38338;?#26864;?#37510;傚?#20635;灉瀵?#26864;嗗煙涓嶅¤Ÿ浜嗚§£锛屽?#20635;灉?#20802;涓嶆?#21614;¥š鐢?#37812;?#37714;板簳瑕?#28000;€涔?#38171;屽?#20635;灉鎬濊€?#38338;?#26864;?#28051;嶅?#29111;叏闈?#38171;岃皥浣?#29825;?#29825;¡å嚭涓€涓?#37722;?#37918;嗙殑浜?#37725;佸憿锛?/p>

?#21479;浜?#26864;嗗煙姒?#36423;?#37928;勬¢³鐞?#38171;?#37812;戣?#22794;緱鍙?#28000;?#38322;?#37922;?#37733;涜壊鍘?#37736;嬪垎鏋?#23049;?#38171;岃繖涓?#37714;?#37835;?#23049;曢€氳繃绯荤粺鐨勬?#35268;硶锛屽?#21976;¦‚蹇?#37714;?#37714;?#28051;?#28051;?#37722;?#37928;勭?#23943;被锛?#28051;?#28051;?#37722;?#32457;嶇被鐨勬¦‚蹇?#37837;囨敞涓?#37722;?#37928;?#26864;滆壊銆?#37906;?#37722;?#28751;嗚繖浜涙¦‚蹇?#37832;?#37832;?#37928;勭粍鍚?#29863;锋潵锛屼粠鑰岃®©鎴?#28000;?#37721;?#28000;?#23059;?#37829;?#37928;勫垎鏋愬嚭姒?#36423;?#37724;屾¦‚蹇?#28052;?#38338;?#37928;勫叧绯?#37510;?#37832;夊…´瓒?#37928;?#37722;?#28699;?#37721;?#28000;?#37734;¨ç綉涓婃?#28357;储涓?a href="http://www.cnblogs.com/netfocus/archive/2011/03/05/1971899.html" target="_blank" style="color: #1d58d1; text-decoration: none;">鍥涜壊鍘?#37736;?/a>銆?/p>

?#25950;鎰?#38171;?#28051;?#38344;?#37812;戣¯´鐨勮繖鍥?#37904;?#38171;?#38322;?#37904;规槸姊?#37918;嗗嚭鎴?#28000;?#29781;?#28000;€涔堝姛鑳?#38171;岃€?#28051;嶆槸鎬濊€冨¦‚浣?#28729;?#37916;?#26473;?#27996;?#37716;?#38003;?#38171;屽¦‚浣?#28729;?#37916;版槸杞?#28000;?#29825;?#29825;?#27996;哄憳鐨勮?#23683;矗銆?/strong>

DDD鍒?#37711;?#37904;? - 棰嗗煙妯?#37736;?#29825;?#29825;?/h2>

杩?#38318;?#37714;嗗唴瀹?#38171;?#37812;戞兂瀛?#28052; DDD鐨?#27996;洪兘寰堢?#29112;倝浜?#37510;侱DD鍘熻憲涓?#37819;愬嚭浜嗗?#22557;¤š瀹?#37922;?#37928;勫缓妯¡å伐鍏?#38171;?#38001;氬悎銆佸疄浣?#37510;佸€煎¯¹璞?#37510;佸伐鍘?#37510;?#28000;?#37708;?#37510;?#26864;嗗煙鏈嶅姟銆?#26864;嗗煙浜?#28000;?#37510;?#37812;?#28000;?#37721;?#28000;¥ä娇鐢?#26473;?#27996;涘伐鍏?#38171;屾潵璁?#29825;?#23011;?#28051;€涓?#28699;愬煙鐨?#26864;嗗煙妯?#37736;?#37510;?#37832;€缁堥€氳繃棰嗗煙妯?#37736;嬪浘灏嗚®¾璁?#23052;夋穩涓嬫潵銆?#29781;佷娇鐢?#26473;?#27996;涘伐鍏?#38171;岄¦–鍏堝氨瑕?#37918;嗚§£姣?#28051;ªå伐鍏?#37928;?#37722;?#28052;夊?#23676;娇鐢?#37734;烘櫙銆?#28051;?#29781;?#28000;?#28051;?#23536;堢畝鍗?#37725;?#38171;?#23011;斿?#20637;?#27692;悎鐨勫垝鍒嗗氨?#27128;涓€涓?#38344;炲父鍏?#37832;夎壓鏈?#37928;勬´»銆?#37722;?#28051;€涓?#32495;荤粺锛?#28051;?#37722;?#37928;?#27996;?#29825;?#29825;¡å嚭?#28533;鐨勮?#27692;悎?#27128;瀹屽叏涓?#37722;?#37928;?#37510;傝€?#28051;?#23536;?#37832;?#37721;?#38003;介珮鎵?#28052;?#38338;?#37928;勬渶鍚?#29825;?#29825;¡å嚭?#28533;鐨勫·®鍒?#37721;嶈€屾洿澶?#38171;?#28729;?#38340;?#28051;?#37812;戣®¤涓烘槸涓栫?#23683;§‚鐨勭浉浜掔¢°鎾?#38171;屽?#38747;懙銆傛墍浠?#38171;岃¦棰嗗煙?#32531;妯?#38171;?#37812;戣?#22794;緱姣?#28051;?#27996;?#38318;藉簲璇?#37720;?#28699;?#28699;?#37725;?#28699;¦ç煡璇?#38171;岃繖鏈夊姪浜?#37812;?#28000;¬æ洿濂?#37928;勮®¤璇?#28051;栫晫锛屾洿濂?#37928;?#37918;嗚§£浜?#37911;?#37928;勬湰?#24029;銆?/p>

?#21479;浜?#26473;?#27996;涘缓妯¡å伐鍏?#37928;勬¦‚蹇?#37724;屽¦‚浣?#26473;?#37922;?#37812;戝氨涓嶅?#27692;?#26334;紑浜?#38171;?#37812;?#37719;?#28729;?#38322;?#28052;?#37832;夊?#22557;¤š杩?#37826;归潰鐨勪粙缁?#37510;?#28051;嬮潰鎴戝啀璁?#28051;€涓?#37812;戣®¤涓?#23011;?#26440;?#38322;?#29781;?#37928;?#28051;?#29783;?#38171;?#23011;斿¦‚鍒板簳璇?#28641;?#28003;?#26864;嗗煙?#32531;妯?#38171;?#23005;?#26976;¤å簲璇¥æ槸鎬?#28052;?#37837;?#37928;?#38171;?/p>

棰嗗煙?#32531;妯?#37928;勬?#35268;硶

閫氳繃涓?#38344;?#37812;?#28000;?#32513;?#37928;勭?#21975;寲瀛愬煙鐨勫唴瀹?#38171;?#37916;?#37734;?#37712;嶆潵?#30373;璇?#28641;?#28003;?#26864;嗗煙?#32531;妯?#38171;?#37812;戣?#22794;?#26944;氨鏂?#28186;?#23536;堝¤š浜?#37510;?#37812;?#37928;?#28051;?#29781;佹?#35268;硶?#27128;锛?/p>

  1. 鍒?#37714;嗗?#20511;?#22317;晫涓?#28051;?#37826;?#38171;岄€氬父姣?#28051;?#28699;愬煙锛坰ub domain锛夊?#29808;簲涓€涓?#26440;圭晫涓?#28051;?#37826;?#38171;坆ounded context锛?#38171;屽悓涓€涓?#26440;圭晫涓?#28051;?#37826;?#28051;?#37928;勬¦‚蹇垫槸鏄庣¡®鐨?#38171;屾病鏈?#28000;?#28003;?#23005;?#28052;?#38171;?/li>
  2. 鍦?#23011;?#28051;?#26440;圭晫涓?#28051;?#37826;?#28051;?#29825;?#29825;?#26864;嗗煙妯?#37736;?#38171;屽叿浣?#37928;?#26864;嗗煙妯?#37736;?#29825;?#29825;?#37826;规硶鏈夊?#22557;¤š绉?#38171;屽¦‚浠?#37734;烘櫙涓哄嚭鍙?#37904;?#37928;?a href="http://www.cnblogs.com/netfocus/archive/2011/03/05/1971899.html" target="_blank" style="color: #1d58d1; text-decoration: none;">鍥涜壊鍘?#37736;?/a>鍒?#37835;?#23049;?#38171;?#37812;?#38000;?#37812;?#37827;?#37832;熷啓鐨勮繖?#30226;鏂?#32468;?/a>锛?#26473;?#28051;?#23005;?#26976;?#37832;€?#29299;蹇?#37928;勫氨?#27128;鎵惧嚭鑱氬悎鏍?#38171;屽?#33333;?#24807;嚭姣?#28051;?#38001;氬悎鏍?#37718;?#37722;?#37928;勪俊?#20229;锛涘叧浜庡¦‚浣?#29825;?#29825;?#38001;氬悎锛?#37721;?#28000;¥ç湅涓€涓?#37812;戝啓鐨?a href="http://www.cnblogs.com/netfocus/p/3307971.html" target="_blank" style="color: #1d58d1; text-decoration: none;">杩欑瘒鏂?#32468;?/a>锛?/li>
  3. 鐢诲嚭棰嗗煙妯?#37736;嬪浘锛屽?#22557;嚭姣?#28051;?#22959;?#37736;?#28051;?#37928;勮?#27692;?#22563;?#22317;晫锛?/li>
  4. 璁?#29825;?#26864;嗗煙妯?#37736;?#37827;?#38171;岃?#20349;€冭?#25123;¯¥棰嗗煙妯?#37736;嬫槸鍚?#23114;?#29906;?#28051;氬姟瑙勫垯锛屽?#23678;椂杩?#29781;佺患鍚堣€冭檻鎶€鏈?#28729;?#37916;扮瓑闂?#26864;?#38171;?#23011;斿?#20634;苟鍙?#38338;?#26864;?#38171;?#26864;嗗煙妯?#37736;?#28051;嶆槸姒?#36423;?#22959;?#37736;?#38171;屾¦‚蹇?#22959;?#37736;?#28051;嶅叧?#25950;鎶€鏈?#28729;?#37916;?#38171;?#26864;嗗煙妯?#37736;嬪叧蹇?#38171;?#37813;€浠?#26864;嗗煙妯?#37736;?#37813;?#38003;?#37929;?#37818;?#37816;?#28725;肩紪鐮佸疄鐜?#38171;?/li>
  5. 鎬濊€?#26864;嗗煙妯?#37736;嬫槸濡?#28003;?#37734;?#28051;氬姟鍦烘櫙涓?#37721;戞尌浣?#37922;?#37928;?#38171;屼互鍙婃槸濡?#28003;?#37721;?#28051;?#37714;?#28051;氬姟娴?#32459;?#37928;勬瘡涓?#37916;?#38010;?#37928;?#38171;?/li>
  6. 鍦烘櫙璧版煡锛?#32429;?#29825;?#26864;嗗煙妯?#37736;嬫槸鍚?#38003;?#23114;?#29906;?#26864;嗗煙涓?#37928;?#28051;氬姟鍦烘櫙鍜?#28051;氬姟娴?#32459;?#38171;?/li>
  7. 妯?#37736;嬫?#20346;画閲?#37835;?#37510;佸?#23677;杽銆佺簿鐐?#38171;?/li>

棰嗗煙妯?#37736;?#37928;勬牳蹇?#28003;?#37922;?#38171;?/h3>
  1. ?#23050;璞?#27996;?#26864;嗗煙?#21812;鐨勬牳蹇冩¦‚蹇?#38171;屽?#36346;缓绔嬫¦‚蹇?#28052;?#38338;?#37928;勫叧绯?#38171;?/li>
  2. 棰嗗煙妯?#37736;?#37813;?#37815;?#27996;?#26864;嗗煙?#21812;鐨勭?#33333;€?#37928;勭?#23384;姢锛?/li>
  3. 棰嗗煙妯?#37736;?#32513;存姢浜?#26864;嗗煙?#21812;鐨勬暟鎹?#28052;?#38338;?#37928;?#28051;氬姟瑙勫垯锛屾暟鎹?#28051;€鑷存€?#38171;?/li>

涓嬪浘?#27128;鎴?#37832;€杩戝仛涓?#28051;€涓?#37829;?#38315;?#37922;?#37727;嗙?#33636;粺鐨勫?#21975;搧涓?#36423;?#37928;?#26864;嗗煙妯?#37736;嬪浘锛?#32513;?#28598;?#28729;?#37721;傝€?#38171;?/p>

棰嗗煙妯?#37736;?#29825;?#29825;?#37721;ªæ槸杞?#28000;?#29825;?#29825;?#28051;?#37928;?#28051;€灏?#38318;?#37714;?/h3>

闇€瑕?#37911;?#37714;«æ敞鎰?#37928;勬槸锛?#26864;嗗煙妯?#37736;?#29825;?#29825;?#37721;ªæ槸鏁?#28051;?#26462;?#28000;?#29825;?#29825;?#28051;?#37928;勫?#22557;皬涓€閮?#37714;?#37510;傞櫎浜?#26864;嗗煙妯?#37736;?#29825;?#29825;?#28052;嬪¤–锛岃?#20349;惤鍦?#28051;€涓?#32495;荤粺锛?#37812;?#28000;?#26473;?#37832;?#38344;炲?#31295;¤š鐨勫叾浠?#29825;?#29825;?#29781;佸仛锛?#23011;斿¦‚锛?/p>

  • 瀹归噺瑙勫垝
  • 鏋?#37835;勮®¾璁?/li>
  • 鏁?#37817;?#25652;?#29825;?#29825;?/li>
  • 缂?#28699;?#29825;?#29825;?/li>
  • 妗?#37835;?#38315;夊瀷
  • 鍙戝竷鏂规¡ˆ
  • 鏁?#37817;?#26473;?#32457;?#37510;佸悓姝?#37826;规¡ˆ
  • 鍒嗗簱鍒嗚¡¨鏂规¡ˆ
  • 鍥?#23114;?#37826;规¡ˆ
  • 楂樺苟鍙戣§£鍐?#37826;规¡ˆ
  • 涓€鑷存€?#38315;夊瀷
  • 鎬?#38003;?#37720;嬫祴鏂规¡ˆ
  • 鐩?#37818;?#37814;¥è­¦鏂规¡ˆ

?#29905;?#29905;銆?#28051;?#38344;?#26473;?#27996;涢兘闇€瑕佹垜浠?#39582;?#37827;?#37928;勫¤§閲?#28699;?#28052;?#37724;?#32457;?#32497;?#37510;?#28003;?#28051;?#28051;€涓?#37722;?#37837;?#37928;勫紑鍙?#27996;哄憳鎴?#37835;?#37835;勫¸ˆ锛?#37812;戣?#22794;緱?#27342;浜嗚?#20343;細DDD棰嗗煙椹卞姩璁?#29825;?#38171;岃繕瑕佷細涓?#38344;?#26473;?#28052;堝¤š鐨勬妧鏈?#38003;?#37716;?#38171;?#32429;?#28729;炴槸闈炲父涓?#28729;规槗鐨?#37510;傛墍浠?#38171;?#37719;?#28051;?#28051;?#29781;?#28000;?#28051;轰細DDD浜嗗氨浠?#28051;?#38007;?#23480;卞緢鐗?#38315;?#38171;?#28729;?#38340;?#28051;?#28003;犱細鐨?#37721;ªæ槸杞?#28000;?#29825;?#29825;?#28051;?#37928;勫?#26495;北涓€瑙?#38000;屽凡銆?/p>

鎬荤粨

鏈?#37826;?#37928;勯噸鐐规槸鍩?#27996;?#37812;?#28051;?#27996;?#28725;¹DDD鐨?#28051;€浜?#37918;嗚§£锛屽笇鏈?#38003;?#37825;?#37918;嗗嚭涓€浜?#38007;?#23480;?#37804;荤粨?#22189;?#28533;鐨?#28051;€浜?#37808;熸‚Ÿ鍜?#32513;?#26976;?#38171;屽苟鍒?#27996;?#32513;?#28598;?#28729;?#37510;?#37812;?#37929;?#28103;?#23536;堝¤š浜?#23480;?#32513;忕?#23341;繃澶?#28598;欴DD涔?#28051;?#37928;?#28051;?#29783;?#38171;?#37812;?#37804;绘槸鎰?#29785;?#28052;?#28051;?#37928;?#28051;?#29783;跨?#23337;¼¼閮藉¤ª”姝?#29785;?#8220;锛屽?#22557;¤š鏃跺€?#37812;?#28000;?#29831;?#27996;?#28052;嬪悗寰堥毦娑堝寲锛屽氨绠?#37918;嗚§£浜?#28052;?#38322;?#37928;勫唴瀹?#38171;屽綋鎴?#28000;¬æ兂瑕?#26473;?#37922;?#37714;?#28729;?#29882;?#28051;?#37827;?#38171;屾€绘槸鎰?#29785;?#37827;?#28000;?#28051;?#37813;?#37510;?#37832;?#37826;囧笇鏈?#38315;氳繃閫?#28103;?#37828;撴噦鐨勬枃瀛?#38171;屼粙缁?#27996;?#28051;€閮?#37714;?#37812;戝¯¹DDD鐨?#28699;?#28052;?#37808;熸‚Ÿ鍜?#28729;?#29882;?#36423;冨緱锛屽笇鏈?#38003;?#32513;?#28598;?#28729;?#28051;€浜?#37722;?#37721;?#37724;屽府鍔?#37510;?/p>

]]>DDD CQRS鏋?#37835;?#37724;屼?#29365;粺鏋?#37835;?#37928;勪?#27196;己鐐?#23011;?#26440;?/title><link>http://www.8634070.com/paulwong/archive/2017/02/19/432316.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Sun, 19 Feb 2017 00:39:00 GMT</pubDate><guid>http://www.8634070.com/paulwong/archive/2017/02/19/432316.html</guid><wfw:comment>http://www.8634070.com/paulwong/comments/432316.html</wfw:comment><comments>http://www.8634070.com/paulwong/archive/2017/02/19/432316.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/paulwong/comments/commentRss/432316.html</wfw:commentRss><trackback:ping>http://www.8634070.com/paulwong/services/trackbacks/432316.html</trackback:ping><description><![CDATA[鏈€杩戝?#29362;勾锛屽湪DDD鐨?#26864;嗗煙锛?#37812;?#28000;?#32513;?#29999;镐細鐪嬪埌CQRS鏋?#37835;?#37928;勬¦‚蹇?#37510;?#37812;?#28051;?#27996;?#28052;熷啓浜?#28051;€涓狤Node妗?#37835;?#38171;?#28051;?#38338;?#37922;¨æ潵瀹?#37916;?#26473;?#28051;?#37835;?#37835;?#37510;侰QRS鏋?#37835;勬湰?#38889;鐨勬€濇兂鍏?#28729;?#38344;炲父?#30045;鍗?#38171;屽氨?#27128;璇?#37712;?#37714;嗙¦»銆傛槸涓€涓?#23536;堝¥½鐞嗚§£鐨勬€濇兂銆傚?#21342;儚鎴?#28000;?#37922;¨MySQL鏁?#37817;?#25652;?#37928;?#28051;?#28598;?#38171;屾暟鎹?#37712;?#37714;?#28051;?#38171;?#37906;?#37722;庢煡璇?#28000;?#28598;囨潵?#29025;锛?#28051;?#28598;囨暟鎹?#37928;?#37722;?#23005;?#37922;±MySQL鏁?#37817;?#25652;?#38007;?#23480;?#29840;?#29840;?#38171;岃繖?#27128;涓€绉?#37825;?#37817;?#25652;撳眰闈?#37928;?#29831;?#37712;?#37714;嗙¦»銆傚叧浜嶤QRS鏋?#37835;?#37928;勪粙缁嶅叾瀹炲凡缁?#38344;炲?#31295;¤š浜?#38171;屽¤§瀹?#37721;?#28000;?#38007;?#29723;岀?#24807;害鎴杇oogle銆?#37812;?#28000;婂¤©涓?#29781;佹兂鎬荤粨涓€涓?#26473;?#28051;?#37835;?#37835;勭浉瀵?#27996;?#28028;犵粺鏋?#37835;?#38171;?#28051;夊?#20635;灦鏋?#37510;丏DD缁?#37711;?#37733;?#28766;傛灦鏋?#38171;夊湪鏁?#37817;?#28051;€鑷存€?#37510;佹墿灞?#37804;?#37510;?#37721;?#37922;?#37804;?#37510;佷几缂?#37804;?#37510;佹€?#38003;?#26473;?#37713;?#28051;?#37826;归潰鐨勫紓鍚?#38171;屽笇鏈?#37721;?#28000;?#37804;荤粨?#22189;涓€浜?#28028;?#37904;?#37724;岀己鐐?#38171;?#28051;?#28598;?#28729;?#37734;¨å仛鏋?#37835;勯€夊瀷鏃舵彁渚?#37721;傝€?#37510;?br /><br />鍓嶈¨€<br /><br />CQRS鏋?#37835;勭敱浜?#37832;¬è韩鍙ªæ槸涓€涓?#29831;?#37712;?#37714;嗙¦»鐨勬€濇兂锛?#28729;?#37916;?#37826;瑰紡澶?#32457;嶅¤š鏍?#37510;?#23011;斿?#20635;暟鎹?#28699;?#37708;?#28051;?#37714;嗙¦»锛屼粎浠?#37721;ªæ槸浠?#37934;佸眰闈?#29831;?#37712;?#37714;嗙¦»锛?#28052;熸槸CQRS鐨勪綋鐜?#38171;?#37906;?#37722;?#37825;?#37817;?#28699;?#37708;?#37928;?#29831;?#37712;?#37714;嗙¦»锛孋绔?#29840;?#29840;?#37825;?#37817;?#28699;?#37708;?#38171;孮绔?#29840;?#29840;?#37825;?#37817;®æ煡璇?#38171;孮绔?#37928;勬暟鎹?#38315;氳繃C绔?#27996;?#37922;?#37928;凟vent?#28533;鍚?#23005;?#38171;岃繖绉?#28052;熸槸CQRS鏋?#37835;?#37928;?#28051;€绉?#28729;?#37916;?#37510;?#28000;婂¤©鎴戣®¨璁?#37928;凜QRS鏋?#37835;勫氨?#27128;鎸?#26473;?#32457;?#28729;?#37916;?#37510;?#37721;?#28598;?#23536;?#38322;?#29781;?#37928;?#28051;€鐐?#38171;孋绔?#37812;?#28000;?#26473;?#28028;氬紩鍏¥Event Sourcing+In Memory杩?#28051;?#32457;?#37835;?#37835;勬€濇兂锛?#37812;戣®¤涓?#26473;?#28051;?#32457;?#37804;濇兂鍜孋QRS鏋?#37835;?#37721;?#28000;?#28729;?#32519;?#37928;勭粨鍚?#38171;?#37721;戞尌CQRS杩?#28051;?#37835;?#37835;?#37928;勬渶澶?#28000;?#37706;?#37510;?br /><br />鏁?#37817;?#28051;€鑷存€?br /><br />浼犵粺鏋?#37835;?#38171;屾暟鎹?#28051;€鑸¬æ槸寮?#28051;€鑷存€?#37928;?#38171;?#37812;?#28000;?#38315;氬父?#32048;?#23047;鐢?#37825;?#37817;?#25652;?#27996;嬪姟淇?#29831;?#28051;€娆¡æ搷浣?#37928;勬墍鏈?#37825;?#37817;?#28103;?#37824;归兘鍦?#28051;€涓?#37825;?#37817;?#25652;?#27996;嬪姟閲?#38171;屼粠鑰屼繚璇?#27996;?#37825;?#37817;?#37928;勫己涓€鑷存€?#37510;?#37734;?#37714;嗗?#20904;紡鐨勫?#28888;櫙锛?#37812;?#28000;?#28052;?#37722;屾牱甯?#37832;?#37825;?#37817;?#37928;勫己涓€鑷存€?#38171;屽氨?#27128;?#23047;鐢?#37714;嗗?#20904;紡浜嬪姟銆?#28003;嗘槸浼楁墍鍛¨ç煡锛屽?#21975;?#20904;紡浜嬪姟鐨勯?#24807;害銆佹垚鏈¬æ槸闈炲父?#29678;鐨?#38171;岃€?#28051;?#38322;?#37922;?#37714;嗗?#20904;紡浜嬪姟鐨勭?#33636;粺鐨?#37722;炲閲忛兘?#32048;姣?#26440;?#28003;?#38171;?#32495;荤粺鐨?#37721;?#37922;?#37804;?#28052;熶細姣?#26440;?#28003;?#37510;傛墍浠?#38171;屽?#22557;¤š鏃跺€?#38171;?#37812;?#28000;?#28052;熶細鏀惧純鏁?#37817;?#37928;勫己涓€鑷存€?#38171;岃€?#38322;?#37922;?#37832;€缁?#28051;€鑷存€?#38171;?#28000;嶤AP瀹?#37918;嗙?#21230;?#25489;害?#28533;璇?#38171;屽氨?#27128;鏀惧純涓€鑷存€?#38171;岄€夋嫨鍙?#37922;?#37804;?#37510;?br /><br />CQRS鏋?#37835;?#38171;屽垯瀹屽叏绉?#37816;佹渶缁?#28051;€鑷存€?#37928;?#37918;嗗康銆?#26473;?#32457;?#37835;?#37835;勫熀浜?#28051;€涓?#23536;?#38322;?#29781;?#37928;勫亣璁?#38171;屽氨?#27128;鐢?#37812;风?#23338;埌鐨勬暟鎹?#37804;绘槸鏃?#37928;?#37510;?#28725;?#27996;?#28051;€涓?#28598;?#37922;?#37812;锋搷浣?#37928;勭?#33636;粺锛岃繖绉嶇幇璞?#23536;?#37829;?#38316;?#37510;?#23011;斿¦‚绉?#37833;€鐨勫?#28888;櫙锛屽綋浣?#28051;嬪崟鍓?#38171;?#28052;?#29825;?#37923;岄潰涓?#28003;犵?#23338;埌鐨勫?#21975;?#20345;暟閲忔槸鏈?#37928;?#38171;?#28003;嗘槸?#32139;浣?#28051;嬪崟鐨勬?#36346;€?#38171;?#32495;荤粺鎻愮¤º鍟嗗?#20344;–瀹?#27996;?#37510;?#37711;?#28729;?#37812;?#28000;?#37721;?#29781;?#28000;?#32513;嗘兂?#20802;锛?#28052;熺¡®瀹炲¦‚姝?#37510;?#37733;?#28051;?#37812;?#28000;?#37734;?#37923;岄潰涓婄?#23338;埌鐨勬暟鎹®æ槸浠?#37825;?#37817;?#25652;?#37721;栧嚭?#28533;鐨?#38171;?#28051;€鏃?#37828;剧¤º鍒?#37923;岄潰涓?#38171;屽氨涓嶄細鍙?#27996;?#37510;?#28003;嗘槸寰?#37721;?#38003;?#37711;?#28000;?#27996;?#23480;?#32513;忎慨鏀?#27996;?#37825;?#37817;?#25652;?#28051;?#37928;勬暟鎹?#37510;?#26473;?#32457;嶇幇璞?#37734;?#28598;?#38318;?#37714;嗙?#33636;粺涓?#38171;屽挨鍏舵槸楂樺苟鍙?#37928;„WEB绯荤粺锛屽挨鍏跺父瑙?#37510;?br /><br />鎵€浠?#38171;屽熀浜?#26473;?#37837;?#37928;勫亣璁?#38171;?#37812;?#28000;¬ç煡閬?#38171;?#37719;?#28186;?#37812;?#28000;?#37928;勭?#33636;粺鍋氬埌浜?#37825;?#37817;?#37928;勫己涓€鑷存€?#38171;?#37922;?#37812;?#26473;樻槸寰?#37721;?#38003;戒細鐪嬪?#29256;—§鐨勬暟鎹?#37510;傛墍浠?#38171;岃繖?#27688;缁?#37812;?#28000;?#29825;?#29825;?#37835;?#37835;勬彁渚?#27996;?#28051;€涓?#37826;?#37928;勬€濊矾銆?#37812;?#28000;?#38003;?#37722;?#26473;?#37837;峰仛锛?#37812;?#28000;?#37721;?#38343;€瑕佺¡®淇?#32495;荤粺鐨?#28051;€鍒囨?#35826;姞銆佸?#29371;櫎銆佷慨鏀规搷浣?#37813;€鍩?#27996;?#37928;勬暟鎹®æ槸鏈€鏂?#37928;?#38171;岃€屾煡璇?#37928;勬暟鎹?#28051;?#36423;呮槸鏈€鏂?#37928;?#37510;?#26473;?#37837;?#28751;卞?#22563;嚜鐒?#37928;勫?#26334;嚭浜咰QRS鏋?#37835;?#27996;?#37510;侰绔?#37825;?#37817;?#28103;?#37816;佹渶鏂?#37510;佸?#27692;埌鏁?#37817;?#23534;?#28051;€鑷?#38171;›Q绔?#37825;?#37817;?#28051;?#36423;?#37832;€鏂?#38171;岄€氳繃C绔?#37928;?#27996;?#28000;跺紓姝¥æ洿鏂?#37719;?#37721;?#37510;傛墍浠?#38171;屽熀浜?#26473;?#28051;?#37804;濊矾锛?#37812;?#28000;¬å紑濮?#37804;濊€?#38171;屽¦‚浣?#37711;?#28003;?#37928;勫幓瀹?#37916;癈Q涓?#32468;?#37510;傜?#23338;埌杩?#38322;?#38171;?#28052;?#29825;?#28003;?#26473;?#37832;?#28051;€涓ªç枒闂?#38171;屽氨?#27128;涓?#28003;•C绔?#37928;勬暟鎹®æ槸蹇?#26916;?#29781;佹渶鏂?#37928;?#38171;?#26473;?#28051;?#37711;?#28729;炲緢瀹规槗鐞嗚§£锛屽洜涓?#28003;?#29781;佷慨鏀规暟鎹?#38171;岄偅浣?#37721;?#38003;戒細鏈?#28051;€浜?#28103;?#37824;?#37928;?#28051;氬姟瑙勫垯鍒?#37826;?#38171;屽?#20635;灉浣?#37737;?#27996;?#37928;勬暟鎹?#28051;嶆槸鏈€鏂?#37928;?#38171;岄偅鎰忓?#23815;潃鍒?#37826;?#28751;卞?#21342;幓鎰?#28052;?#37812;?#38000;?#29831;?#28051;嶅?#21977;¡®锛屾墍浠?#37737;?#27996;?#38000;?#37928;勬暟鎹?#37813;€?#20187;鐨勪慨鏀规槸娌?#37832;?#37808;?#28052;?#37928;?#37510;?br /><br />?#22719;灞?#37804;?br /><br />浼犵粺鏋?#37835;?#38171;屽悇涓?#32513;勪欢涔?#38338;存槸寮?#28186;?#29863;?#38171;岄兘?#27128;瀵?#29854;?#28052;?#38338;寸洿鎺?#37826;规?#26337;皟鐢?#38171;涜€孋QRS鏋?#37835;?#38171;屽?#27408;槸浜?#28000;?#26937;卞姩鐨勬€濇兂锛?#28000;?#23536;?#29785;?#37928;勮?#27692;悎鏍瑰眰闈?#38171;屼?#29365;粺鏋?#37835;勬槸?#31794;鐢¨å眰閫氳繃?#32323;绋嬪紡鐨勪唬鐮佸?#24538;?#20904;¤š涓?#38001;氬悎鏍?#28051;€娆?#37804;?#28000;?#27996;嬪姟鐨勬柟?#32033;瀹?#37812;?#37825;?#28051;?#28051;氬姟?#25655;浣?#37510;傝€孋QRS鏋?#37835;?#38171;屽?#27408;槸浠¥Saga鐨勬€濇兂锛岄€氳繃浜?#28000;?#26937;卞姩鐨勬柟?#32033;锛?#37832;€缁?#28729;?#37916;板¤š涓?#38001;氬悎鏍?#37928;?#27996;?#27996;?#37510;?#37721;?#28598;?#38171;孋QRS鏋?#37835;?#37928;凜Q涓?#32468;?#28052;熸槸閫氳繃浜?#28000;?#37928;勬柟寮忓紓姝?#26473;?#29723;屾暟鎹?#37722;?#23005;?#38171;?#28052;熸槸浜?#28000;?#26937;卞姩鐨?#28051;€绉?#28003;?#37916;?#37510;?#28051;?#37719;?#37714;?#37835;?#37835;勫眰闈?#38171;岄偅鍓嶈€呭氨?#27128;SOA鐨勬€濇兂锛屽悗鑰呮槸EDA鐨勬€濇兂銆係OA?#27128;涓€涓?#37832;嶅姟璋?#37922;?#37721;?#28051;€涓?#37832;嶅姟瀹?#37812;?#37832;嶅姟涔?#38338;?#37928;?#27996;?#27996;?#38171;?#37832;嶅姟涔?#38338;寸揣鑰?#37722;?#38171;汦DA?#27128;涓€涓?#32513;勪欢璁?#38339;?#37721;?#28051;€涓?#32513;勪欢鐨?#27996;?#28000;舵?#22559;伅锛屾?#35268;嵁浜?#28000;?#28103;¡æ伅?#27967;鏂?#32513;勪欢鑷?#23480;?#37928;勭?#33333;€?#38171;屾墍浠¥EDA鏋?#37835;?#38171;?#23011;?#28051;?#32513;勪?#22549;兘涓嶄細渚?#29863;?#37711;?#28000;?#37928;勭?#21226;欢锛?#32513;勪欢涔?#38338;?#28000;?#28000;?#38315;氳繃topic浜?#37922;熷叧鑱?#38171;岃€?#37722;?#37804;?#38344;炲父浣?#37510;?br /><br />涓?#38344;?#29831;?#27996;?#28051;?#32457;?#37835;?#37835;?#37928;勮€?#37722;?#37804;?#38171;屾?#25424;€屾槗瑙?#38171;岃€?#37722;?#37804;?#28003;?#37928;勬灦鏋?#38171;屾墿灞?#37804;?#36423;?#37906;跺¥½銆?#37733;?#28051;篠OA鐨勬€濊矾锛屽綋鎴戣?#20344;姞涓€涓?#37826;?#37716;?#38003;?#37827;?#38171;?#38343;€瑕佷慨鏀?#37720;熸潵鐨勪唬鐮?#38171;?#23011;斿¦‚鍘熸潵A鏈嶅姟璋?#37922;?#27996;咮,C涓?#28051;?#37832;嶅姟锛屽悗?#28533;鎴?#28000;?#37807;冲?#27699;皟鐢?#28051;€涓?#37832;嶅姟D锛屽垯闇€瑕佹敼A鏈嶅姟鐨勯€昏緫锛涜€孍DA鏋?#37835;?#38171;?#37812;?#28000;?#28051;?#38343;€瑕佸姩鐜?#37832;?#37928;勪唬鐮?#38171;屽?#29112;潵鏈塀,C涓?#29825;?#38339;呰€?#29825;?#38339;匒浜?#37922;?#37928;勬?#22559;伅锛?#37916;?#37734;?#37721;?#38343;€瑕?#28583;炲姞涓€涓?#37826;?#37928;勬?#22559;伅璁?#38339;呰€匘鍗?#37721;?#37510;?br /><br />浠嶤QRS鐨勮?#25489;害?#28533;璇?#38171;?#28052;?#37832;?#28051;€涓?#38344;炲父鏄?#37828;?#37928;?#28186;嬪瓙锛屽氨?#27128;Q绔?#37928;勬墿灞?#37804;?#37510;傚亣璁?#37812;?#28000;?#37720;熸潵Q绔?#37721;ªæ槸?#23047;鐢?#37825;?#37817;?#25652;?#28729;?#37916;?#37928;?#38171;?#28003;嗘槸鍚庢潵绯荤粺鐨勮®¿闂?#38322;?#28583;炲¤§锛屾暟鎹?#25652;?#37928;勬洿鏂板¤ª鎱?#37812;?#38000;?#23114;?#29906;?#28051;?#27996;嗛?#27194;苟鍙?#37928;勬煡璇?#27996;?#38171;屾墍浠?#37812;?#28000;?#29999;?#37832;?#28583;炲姞缂?#28699;樻潵?#31794;瀵归?#27194;苟鍙?#37928;勬煡璇?#37510;傞偅瀵笴QRS鏋?#37835;勬潵璇?#23536;?#28729;规槗锛?#37812;?#28000;?#37721;?#38343;€瑕?#28583;炲姞涓€涓?#37826;?#37928;?#27996;?#28000;?#29825;?#38339;呰€?#38171;?#37922;¨æ潵?#27967;鏂扮紦瀛?#37719;?#37721;?#37510;傚簲璇?#29831;?#38171;?#37812;?#28000;?#37721;?#28000;?#38341;?#37827;?#37826;?#28186;?#37928;?#28583;炲姞Q绔?#37928;勬暟鎹?#28699;?#37708;¨ç被鍨?#37510;傛暟鎹?#25652;?#37510;佺紦瀛?#37510;佹?#28357;储寮曟“Ž銆丯oSQL銆佹棩蹇?#38171;岀瓑?#29905;銆?#37812;?#28000;?#37721;?#28000;?#37837;规嵁鑷?#23480;?#37928;?#28051;氬姟鍦烘櫙锛岄€夋嫨鍚堥€?#37928;„Q绔?#37825;?#37817;?#28699;?#37708;?#38171;?#28729;?#37916;?#36423;?#38315;熸煡璇?#37928;勭洰鐨?#37510;?#26473;?#28051;€鍒?#38318;藉?#25489;姛浜?#37812;?#28000;珻绔?#29825;板綍浜嗘墍鏈?#22959;?#37736;?#37721;?#37718;?#37928;?#27996;?#28000;?#38171;屽綋鎴?#28000;?#29781;?#28583;炲姞涓€绉?#37826;?#37928;刅iew瀛?#37708;?#37827;?#38171;?#37721;?#28000;?#37837;规嵁杩?#27996;?#27996;?#28000;?#23536;?#37714;°View瀛?#37708;?#37928;勬渶鏂?#37912;舵€?#37510;?#26473;?#32457;嶆墿灞?#37804;?#37734;?#28028;犵粺鏋?#37835;?#28051;嬫槸寰堥毦鍋氬埌鐨?#37510;?br /><br />鍙?#37922;?#37804;?br /><br />鍙?#37922;?#37804;?#38171;屾— 璁烘槸浼犵粺鏋?#37835;勮繕?#27128;CQRS鏋?#37835;?#38171;岄兘鍙?#28000;?#37707;氬埌?#29678;鍙?#37922;?#38171;?#37721;?#29781;佹垜浠?#37707;氬埌璁?#37812;?#28000;?#37928;勭?#33636;粺涓?#23011;?#28051;?#38010;?#37904;归兘鏃?#37719;曠偣鍗?#37721;?#37510;?#28003;嗘槸锛?#37929;?#23011;?#28052;?#28051;?#38171;?#37812;戣?#22794;緱CQRS鏋?#37835;勫湪鍙?#37922;?#37804;?#37826;归潰锛?#37812;?#28000;?#37721;?#28000;?#37832;夋洿澶?#37928;勫洖閬?#28003;?#37734;?#37724;岄€夋嫨绌?#38338;?#37510;?br /><br />浼犵粺鏋?#37835;?#38171;屽洜涓?#29831;?#37712;?#23052;?#37832;夊?#21977;¦»锛屾墍浠?#37721;?#37922;?#37804;?#29781;佹妸璇?#37712;?#37722;堝湪涓€璧?#32513;?#37722;堣€冭檻锛岄?#24807;害?#32048;姣?#26440;冩洿澶?#37510;?#37733;?#28051;轰?#29365;粺鏋?#37835;?#38171;屽?#20635;灉涓€涓?#32495;荤粺鐨勯?#27194;嘲鏈?#37928;勫苟鍙戝啓鍏?#23536;堝¤§锛?#23011;斿¦‚涓?W锛屽苟鍙戣¯»鍙?#28052;熷?#22557;¤§锛?#23011;斿¦‚涓?0W銆傞偅璇?#32495;荤粺蹇?#26916;?#28028;?#37718;?#37714;?#38003;?#37722;屾?#33333;敮?#23508;杩?#32457;嶉?#27194;苟鍙?#37928;勫啓鍏?#37724;屾煡璇?#38171;屽惁鍒?#32495;荤粺?#27688;浼氬湪楂樺?#29256;?#33333;寕鎺?#37510;?#26473;?#28051;ªå氨?#27128;鍩?#27996;?#37722;?#23005;?#29835;?#37922;?#37804;濊矾鐨勭?#33636;粺鐨勭己鐐?#38171;屾病鏈?#28051;€涓?#28051;?#29783;?#37720;?#37715;婂?#26495;¡«璋?#38171;屼繚瀛樼灛闂?#28598;氬嚭?#28533;鐨?#29831;?#23033;?#38171;岃€屽繀椤?#29825;?#32495;荤粺涓嶇®¡?#20131;鍒板?#27692;?#25123;¯·姹?#38171;岄兘蹇?#26916;?#38003;?#37721;?#37827;跺¤„鐞?#28729;?#38171;屽惁鍒欏氨?#32048;閫?#37812;愰›ª?#31359;鏁堝簲锛岄€?#37812;?#32495;荤粺鐦«ç棯銆?#28003;嗘槸涓€涓?#32495;荤粺锛?#28051;嶄細涓€鐩?#28598;勫湪楂樺嘲锛岄?#27194;嘲鍙?#38003;?#37721;?#37832;夊?#23106;皬鏃?#37812;?灏?#37827;?#38171;?#28003;?#28051;?#27996;嗙¡®淇?#26946;樺?#29256;椂绯荤粺涓嶆寕鎺?#38171;?#37812;?#28000;?#36423;?#26916;讳娇鐢?#29906;冲¤Ÿ鐨勭¡¬浠?#37720;绘敮鎾戣繖涓?#26946;樺嘲銆傝€屽¤§閮?#37714;嗘?#36346;€?#38171;岄兘涓?#38343;€瑕?#26473;?#28052;堥珮鐨勭¡¬浠?#29863;勬簮锛屾墍浠¥ä細閫?#37812;?#29863;勬簮鐨勬氮璐?#37510;傛墍浠?#38171;?#37812;?#28000;?#29831;?#37737;?#27996;?#37722;?#23005;?#29835;?#37922;?#37510;丼OA鎬濇兂鐨勭?#33636;粺鐨?#28729;?#37916;?#37812;?#37832;¬æ槸闈炲父鏄傝´µ鐨?#37510;?br /><br />鑰屽湪CQRS鏋?#37835;?#28051;?#38171;屽洜涓篊QRS鏋?#37835;勬妸璇?#37724;屽啓鍒嗙¦»浜?#38171;屾墍浠?#37721;?#37922;?#37804;?#37929;稿綋浜?#29722;?#38341;旂¦»鍦?#27996;?#28051;?#28051;?#38318;?#37714;嗗幓鑰冭檻銆?#37812;?#28000;?#37721;?#38343;€瑕佽€冭檻C绔?#28641;?#28003;?#29785;?#37712;?#37712;?#37928;?#37721;?#37922;?#37804;?#38171;孮绔?#28641;?#28003;?#29785;?#37712;?#29831;?#37928;?#37721;?#37922;?#37804;?#37719;?#37721;?#37510;侰绔?#29785;?#37712;?#37721;?#37922;?#37804;?#38171;?#37812;戣?#22794;?#26945;槸?#27967;?#23006;瀹规槗鐨?#38171;屽洜涓篊绔¯æ槸娑堟伅椹卞姩鐨?#37510;?#37812;?#28000;?#29781;佸仛浠?#28003;?#37825;?#37817;?#28103;?#37824;规椂锛岄兘?#32048;鍙?#38315;丆ommand鍒?#37714;嗗?#20904;紡娑堟伅闃?#37714;?#38171;?#37906;?#37722;?#37722;?#32468;?#23057;堣?#30789;€?#28598;?#37918;咰ommand->浜?#37922;?#26864;嗗煙浜?#28000;?>?#23508;涔?#37718;?#27996;?#28000;?>鍙戝竷浜?#28000;?#37714;?#37714;嗗?#20904;紡娑堟伅闃?#37714;?>鏈€鍚?#27996;?#28000;?#29722;«Q绔?#23057;堣垂銆?#26473;?#28051;ªé?#25424;矾?#27128;娑堟伅椹卞姩鐨?#37510;?#37929;?#23011;?#28028;犵粺鏋?#37835;?#37928;勭洿鎺?#37832;嶅姟鏂规?#26337;皟鐢?#38171;?#37721;?#37922;?#37804;?#29781;侀珮寰堝¤š銆?#37733;?#28051;哄氨绠?#37812;?#28000;?#28598;?#37918;咰ommand鐨?#37722;?#32468;?#23057;堣?#30789;€呮?#20635;?#33333;寕浜?#38171;?#28052;?#28051;嶄?#27692;?#21342;?#23941;墠绔疌ontroller鍙?#38315;丆ommand锛孋ontroller渚?#37906;?#37721;?#37922;?#37510;?#28000;?#26473;?#28051;?#29785;掑害?#28533;璇?#38171;孋QRS鏋?#37835;勫湪鏁?#37817;?#28103;?#37824;?#28051;?#37721;?#37922;?#37804;?#29781;佹洿?#29678;銆?#28051;嶈繃浣?#37721;?#38003;戒細璇?#38171;岃?#20345;槸鍒嗗?#20904;紡娑堟伅闃?#37714;楁寕浜嗗憿锛熷?#38747;懙锛屽¯¹锛岃繖纭?#28729;?#28052;熸槸鏈?#37721;?#38003;?#37928;?#37510;?#28003;嗘槸涓€鑸?#37714;嗗?#20904;紡娑堟伅闃?#37714;?#28766;?#27996;?#28051;?#38338;?#28000;?#38171;?#28051;€鑸?#28051;?#38338;?#28000;堕兘鍏?#37832;夊?#22565;珮鐨?#37721;?#37922;?#37804;?#38171;堟敮鎸侀?#21977;兢鍜?#28051;?#28598;?#37714;囨崲锛?#38171;屾墍浠?#37929;?#23011;?#37812;?#28000;?#37928;勫簲鐢¨æ潵璇?#38171;?#37721;?#37922;?#37804;?#29781;侀珮寰堝¤š銆?#37721;?#28598;?#38171;屽洜涓哄懡浠¤æ槸鍏?#37721;?#38315;佸埌鍒嗗?#20904;紡娑堟伅闃?#37714;?#38171;岃繖鏍峰氨鑳?#37711;?#37714;嗗ˆ©鐢?#37714;嗗?#20904;紡娑堟伅闃?#37714;?#37928;勪紭鍔?#38171;氬紓姝?#37718;?#37510;佹媺妯¡å紡銆佸?#23106;?#26495;¡«璋?#37510;佸熀浜庨槦鍒?#37928;勬?#26449;钩?#22719;灞?#37510;?#26473;?#27996;?#37911;规€?#37721;?#28000;?#28103;?#29831;佸嵆渚?#37715;?#32468;疌ontroller鍦?#26946;樺?#29256;椂?#28763;闂?#37721;?#38315;佸¤§閲?#37928;凜ommand?#32323;?#28533;锛?#28052;?#28051;嶄?#27692;¯¼鑷?#37722;?#32468;?#28598;?#37918;咰ommand鐨勫簲鐢?#37816;?#37818;?#38171;屽洜涓?#37812;?#28000;¬æ槸鏍规嵁鑷?#23480;?#37928;勬?#22563;垂鑳?#37716;涙媺鍙–Command銆?#26473;欑偣涔熸槸CQRS C绔?#37734;?#37721;?#37922;?#37804;?#37826;归潰鐨勪紭鍔?#38171;屽叾瀹?#37832;¬è川涔熸槸鍒嗗?#20904;紡娑堟伅闃?#37714;?#29999;¦æ潵鐨勪紭鍔?#37510;傛墍浠?#38171;屼粠杩?#38322;?#37812;?#28000;?#37721;?#28000;?#28003;?#28028;氬埌EDA鏋?#37835;?#38171;?#27996;?#28000;?#26937;卞姩鏋?#37835;?#38171;夋槸闈炲父鏈?#28000;?#37706;?#37928;?#38171;岃繖涓?#37835;?#37835;?#28052;?#28003;?#37916;?#27996;?#37812;?#28000;?#37929;?#37715;?#23011;?#26440;?#23092;佽¡Œ鐨„Reactive Programming锛堝?#23941;簲寮忕紪绋?#38171;?#37928;勬€濇兂銆?br /><br />鐒?#37722;?#38171;屽¯¹浜嶲绔?#38171;屽簲璇?#29831;?#37724;屼?#29365;粺鏋?#37835;勬病浠€涔堝尯鍒?#38171;屽洜涓洪兘?#27128;瑕佸¤„鐞嗛?#27194;苟鍙?#37928;勬煡璇?#37510;?#26473;欑偣浠?#37715;?#37804;?#28052;?#28028;?#37718;?#37928;?#38171;?#37916;?#37734;?#26473;樻槸鎬?#28052;?#28028;?#37718;?#37510;?#28003;嗘槸灏卞儚鎴?#28051;?#38344;?#37721;¯æ墿灞?#37804;?#38322;屽?#40511;皟鐨?#38171;孋QRS鏋?#37835;?#37721;?#28000;¥æ洿鏂?#28186;?#37928;勬彁渚涙洿澶?#37928;刅iew瀛?#37708;?#38171;屾暟鎹?#25652;?#37510;佺紦瀛?#37510;佹?#28357;储寮曟“Ž銆丯oSQL锛岃€?#28051;?#26473;?#27996;?#28699;?#37708;?#37928;勬洿鏂?#28729;屽叏鍙?#28000;¥å苟琛岃繘琛?#38171;?#27996;?#37929;?#28051;嶄細鎷栫疮銆?#37918;嗘兂鐨勫?#28888;櫙锛?#37812;戣?#22794;?#26944;簲璇¥æ槸锛屽?#20635;灉浣?#37928;勫簲鐢?#29781;佸疄鐜板叏鏂囩储寮?#26473;?#32457;嶅?#23942;?#20635;煡璇?#38171;岄偅鍙?#28000;?#37734;¨Q绔¯ä娇鐢?#37820;滅储寮曟“Ž锛?#23011;斿¦‚ElasticSearch锛涘?#20635;灉浣?#37928;勬煡璇?#37734;烘櫙鍙?#28000;?#38315;氳繃keyvalue杩?#32457;?#37825;?#37817;®ç粨鏋勬弧瓒?#38171;岄偅鎴?#28000;?#37721;?#28000;?#37734;¨Q绔¯ä娇鐢¨Redis杩?#32457;NoSql鍒嗗?#20904;?#24533;紦瀛?#37510;傛€?#28052;?#38171;?#37812;戣®¤涓篊QRS鏋?#37835;?#38171;?#37812;?#28000;?#29785;?#37712;虫煡璇?#38338;?#26864;樹細姣?#28028;犵粺鏋?#37835;勬洿?#23006;瀹规槗锛屽洜涓?#37812;?#28000;?#38315;夋嫨?#27967;澶?#27996;?#37510;?#28003;嗘槸浣?#37721;?#38003;戒細璇?#38171;?#37812;?#37928;勫?#28888;櫙鍙?#38003;?#37922;¨å叧绯?#37736;?#37825;?#37817;?#25652;?#29785;?#37712;?#38171;?#28051;旀煡璇?#37928;勫苟鍙?#28052;熸槸闈炲父?#29678;銆傞偅娌?#37716;?#23049;?#27996;?#38171;屽敮涓€鐨勫姙娉曞氨?#27128;鍒?#37825;£æ煡璇¢IO锛?#37812;?#28000;?#28725;规暟鎹?#25652;撳?#27692;?#21975;簱鍒嗚¡¨锛屼互鍙?#28725;规暟鎹?#25652;撳仛涓€涓?#28598;氬¤‡锛屾煡璇?#29863;板¤‡鏈?#37510;?#26473;欑偣涓?#38171;岃§£鍐?#37804;濊矾?#27688;?#27128;鍜屼?#29365;粺鏋?#37835;?#28051;€鏍?#27996;?#37510;?br /><br />鎬?#38003;?#37510;佷几缂?#37804;?br /><br />鏈¬æ潵?#20802;鎶?#37804;?#38003;?#37724;屼几缂?#37804;?#37714;嗗紑鍐?#37928;?#38171;?#28003;嗘槸?#20802;?#20802;杩?#28051;?#28051;?#37711;?#28729;?#37832;?#28051;€瀹?#37928;勫叧鑱?#38171;屾墍浠?#37712;?#28729;氭斁鍦?#28051;€璧?#37712;?#37510;?br /><br />浼?#32514;?#37804;?#37928;勬剰鎬濇槸锛屽綋涓€涓?#32495;荤粺锛屽湪100浜?#29825;?#38338;?#37827;?#38171;屾€?#38003;?#38171;?#37722;炲閲?#37510;佸?#23941;簲鏃?#38338;?#38171;夊緢涓?#38335;?#38171;屽湪100W浜?#29825;?#38338;?#37827;舵€?#38003;?#28052;?#37722;屾牱涓?#38335;?#38171;岃繖?#27688;?#27128;浼?#32514;?#37804;?#37510;?00浜?#29825;?#38338;?#37724;?00W浜?#29825;?#38338;?#38171;屽¯¹绯荤粺鐨勫?#23338;姏鏄?#37906;舵槸涓?#37722;?#37928;?#37510;傚?#20635;灉鎴?#28000;?#37928;勭?#33636;粺锛屽湪鏋?#37835;?#28051;?#38171;岃?#34249;?#29111;?#27692;埌閫氳繃?#30045;鍗?#37928;?#28583;炲姞鏈哄櫒锛屽氨鑳芥?#24880;珮绯荤粺鐨勬?#23941;姟鑳?#37716;?#38171;岄偅鎴?#28000;¬å氨鍙?#28000;?#29831;?#26473;?#32457;?#37835;?#37835;?#37928;勪几缂?#37804;?#23536;堝己銆傞偅鎴?#28000;¬æ潵?#20802;?#20802;浼犵粺鏋?#37835;?#37724;孋QRS鏋?#37835;勫湪鎬?#38003;?#37724;屼几缂?#37804;?#28051;?#38344;?#37928;勮¡¨鐜?#37510;?br /><br />璇?#37714;版€?#38003;?#38171;屽¤§瀹?#28051;€鑸?#28028;氬厛鎬濊€?#28051;€涓?#32495;荤粺鐨勬€?#38003;界摱棰堝湪鍝?#38322;?#37510;?#37721;?#29781;佹垜浠?#29785;?#37712;?#27996;嗘€?#38003;界摱棰?#38171;岄偅绯荤粺?#27688;鎰忓?#23815;潃鍏?#37832;?#38315;氳繃姘村钩?#22719;灞曟潵杈?#37714;?#37721;?#28028;?#32514;?#37928;勭洰鐨?#27996;?#38171;堝綋鐒?#26473;?#38322;屾病鏈夎€冭檻鏁?#37817;?#28699;?#37708;?#37928;勬?#26449;钩?#22719;灞?#38171;?#37510;傛墍浠?#38171;?#37812;?#28000;?#37721;?#29781;佸垎鏋?#28051;€涓嬩?#29365;粺鏋?#37835;?#37724;孋QRS鏋?#37835;?#37928;勭摱棰?#37904;?#37734;?#37725;?#38322;?#37719;?#37721;?#37510;?br /><br />浼犵粺鏋?#37835;?#38171;岀摱棰堥€氬父鍦?#25652;?#28766;傛暟鎹?#25652;?#37510;?#37906;?#37722;?#37812;?#28000;?#28051;€鑸?#37928;勫仛娉曟槸锛屽¯¹浜?#29831;?#38171;?#38315;氬父?#23047;鐢?#32514;?#28699;樺氨鍙?#28000;?#29785;?#37712;冲¤§閮?#37714;嗘煡璇?#38338;?#26864;?#38171;?#28725;?#27996;?#37712;?#38171;氬姙娉?#28052;?#37832;夊?#22557;¤š锛?#23011;斿¦‚鍒嗗簱鍒嗚¡¨锛?#37812;?#38000;呬娇鐢¨NoSQL锛岀瓑?#29905;銆?#23011;斿¦‚闃?#38322;屽¤§閲?#38322;?#37922;?#37714;嗗簱鍒嗚¡¨鐨勬?#35268;¡ˆ锛岃€?#28051;?#37832;ªæ潵?#31794;璇?#28028;氬叏閮¨ä娇鐢¨é珮澶?#28051;?#37928;凮ceanBase?#28533;鏇?#28000;?#37714;嗗簱鍒嗚¡¨鐨勬?#35268;¡ˆ銆?#38315;氳繃鍒嗗簱鍒嗚¡¨锛?#37832;¬æ潵涓€鍙?#37825;?#37817;?#25652;?#37832;嶅姟?#27346;楂樺?#29256;椂鍙?#38003;?#29781;佹壙鍙?0W鐨勯?#27194;苟鍙戝啓锛屽?#20635;灉鎴?#28000;?#37814;?#37825;?#37817;?#37824;?#37714;?#37719;?#37721;?#37825;?#37817;?#25652;?#37832;嶅姟?#27346;涓?#38171;岄偅姣?#37721;?#37832;哄櫒鍙?#38343;€瑕佹壙鎷?W鐨勫啓锛?#37929;?#28725;?#27996;?#29781;佹壙鍙?0W鐨勫啓锛?#37916;?#37734;?#37712;?W?#27688;鏄?#23536;?#26462;?#37833;?#23536;堝¤š浜?#37510;傛墍浠?#38171;屽簲璇?#29831;?#37825;?#37817;?#28699;?#37708;?#28725;?#28028;犵粺鏋?#37835;勬潵璇?#38171;?#28052;熸—©宸?#28051;嶅?#23942;槸鐡?#26864;?#27996;?#37510;?br /><br />浼犵粺鏋?#37835;?#28051;€娆?#37825;?#37817;?#28103;?#37824;?#37928;勬­¥楠¤æ槸锛?锛?#28000;ŽDB鍙栧嚭鏁?#37817;?#37714;板唴瀛?#38171;?锛夊唴瀛?#28103;?#37824;规暟鎹?#38171;?锛夋洿鏂?#37825;?#37817;?#37733;žDB銆傛€?#37711;辨¶‰鍙?#37714;?娆?#37825;?#37817;?#25652;“IO銆?br /><br />鐒?#37722;嶤QRS鏋?#37835;?#38171;孋Q涓?#32468;¯å姞璧锋潵鎵€鐢?#37928;勬椂闂磋‚¯瀹?#23011;?#28028;犵粺鏋?#37835;勮?#20344;¤š锛屽洜涓篊QRS鏋?#37835;勬渶澶?#37832;?娆?#37825;?#37817;?#25652;“IO锛?锛夋寔涔?#37718;栧懡浠?#38171;?锛夋寔涔?#37718;?#27996;?#28000;?#38171;?锛?#37837;规嵁浜?#28000;舵洿鏂?#29831;?#25652;?#37510;?#28051;?#28000;€涔?#29831;?#37832;€澶?#38171;?#37733;?#28051;烘寔涔?#37718;栧懡浠?#26473;?#28051;€姝?#28051;嶆槸蹇?#26916;?#37928;?#38171;?#37832;?#28051;€绉嶅?#28888;櫙?#27128;涓?#38343;€瑕佹寔涔?#37718;栧懡浠?#37928;?#37510;侰QRS鏋?#37835;?#28051;­æ寔涔?#37718;栧懡浠?#37928;勭洰鐨勬槸涓?#27996;嗗?#27692;?#20636;瓑澶?#37918;?#38171;?#37719;?#37812;?#28000;?#29781;侀˜²姝?#37722;?#28051;€涓?#37723;?#28000;?#29722;?#28598;?#37918;?#28051;?#23046;?#37510;傞偅鍝?#28051;€绉嶅?#28888;櫙涓?#37721;?#28000;?#28051;?#38343;€瑕佹寔涔?#37718;栧懡浠¤å憿锛熷氨?#27128;?#32139;鍛?#28000;?#37827;?#37734;?#37714;涘缓鑱氬悎鏍规椂锛?#37721;?#28000;?#28051;?#38343;€瑕佹寔涔?#37718;栧懡浠?#38171;屽洜涓?#37714;涘缓鑱氬悎鏍规墍浜?#37922;?#37928;?#27996;?#28000;?#37928;?#37911;?#37832;?#37721;?#37804;绘槸涓?锛屾墍浠?#37812;?#28000;?#37734;¨æ寔涔?#37718;?#27996;?#28000;舵椂鏍规嵁浜?#28000;?#37911;?#37832;?#37721;峰氨鑳芥£€?#31092;鍒?#26473;?#32457;?#38322;嶅¤銆?br /><br />鎵€浠?#38171;?#37812;?#28000;?#29831;?#38171;?#28003;?#29781;?#37922;¨CQRS鏋?#37835;?#38171;屽?#21342;繀椤?#29781;佹帴鍙桟Q鏁?#37817;?#37928;勬渶缁?#28051;€鑷存€?#38171;屽洜涓?#28641;傛灉浣?#28000;?#29831;?#25652;?#37928;勬洿鏂?#28729;?#37812;?#28051;烘搷浣?#28598;?#37918;?#28729;?#37812;?#37928;?#29831;?#38171;岄偅涓€娆?#28051;氬姟鍦烘櫙鎵€鐢?#37928;勬椂闂?#23536;?#37721;?#38003;?#23011;?#28028;犵粺鏋?#37835;勮?#20344;¤š銆?#28003;嗘槸锛屽?#20635;灉鎴?#28000;?#28000;¥C绔?#37928;勫¤„鐞?#28051;虹粨鏉?#37928;?#29831;?#38171;屽垯CQRS鏋?#37835;?#37721;?#38003;?#29781;佸揩锛屽洜涓篊绔?#37721;?#38003;?#37721;?#38343;€瑕?#28051;€娆?#37825;?#37817;?#25652;“IO銆?#37812;戣?#22794;緱杩?#38322;?#37832;?#28051;€鐐?#23536;?#38322;?#29781;?#38171;屽¯¹浜嶤QRS鏋?#37835;?#38171;?#37812;?#28000;¬æ洿?#23006;?#21479;?#25950;C绔?#28598;?#37918;?#28729;?#37812;?#37813;€鐢?#37928;勬椂闂?#38171;涜€孮绔?#37928;勫¤„鐞嗙?#23941;井鎱?#28051;€鐐规病?#21479;绯?#38171;屽洜涓篞绔?#37721;ªæ槸渚?#37812;?#28000;¬æ煡?#28229;鏁?#37817;?#37922;?#37928;?#38171;?#37832;€缁?#28051;€鑷存€?#38171;?#37510;?#37812;?#28000;?#38315;夋嫨CQRS鏋?#37835;?#38171;屽?#21342;繀椤?#29781;佹帴鍙桻绔?#37825;?#37817;®æ洿鏂?#37832;?#28051;€鐐圭偣寤?#26473;?#37928;勭己鐐?#38171;屽惁鍒欏氨涓嶅簲璇¥ä娇鐢?#26473;?#32457;?#37835;?#37835;?#37510;傛墍浠?#38171;屽笇鏈涘¤§瀹?#37734;?#37837;规嵁浣?#37928;?#28051;氬姟鍦烘櫙?#20187;鏋?#37835;勯€夊瀷鏃?#28051;€瀹?#29781;佸厖鍒嗚®¤璇嗗埌杩?#28051;€鐐?#37510;?br /><br />鍙?#28598;?#38171;?#28051;?#38344;?#37712;嶈皥鍒?#37825;?#37817;?#28051;€鑷存€?#37827;舵彁鍒?#38171;屼?#29365;粺鏋?#37835;勪細?#23047;鐢?#27996;嬪姟?#28533;淇?#29831;佹暟鎹?#37928;勫己涓€鑷存€?#38171;涘?#20635;灉浜嬪姟瓒婂?#23942;潅锛岄偅涓€娆?#27996;嬪姟閿?#37928;勮¡¨?#27688;瓒婂¤š锛?#38335;佹槸绯荤粺浼?#32514;?#37804;?#37928;勫¤§鏁?#38171;涜€孋QRS鏋?#37835;?#38171;?#28051;€涓?#37723;?#28000;?#37721;ªä細淇?#37824;?#28051;€涓?#38001;氬悎鏍?#38171;屽?#20635;灉瑕佷慨鏀?#28598;?#28051;?#38001;氬悎鏍?#38171;屽垯閫氳繃Saga?#28533;瀹?#37916;?#37510;?#28000;?#38000;?#32513;曡繃浜嗗?#23942;潅浜嬪姟鐨勯棶棰?#38171;岄€氳繃鏈€缁?#28051;€鑷存€?#37928;勬€濊矾鍋氬埌浜?#37832;€澶?#37928;勫苟琛?#37724;?#37832;€灏?#37928;勫苟鍙?#38171;屼粠鑰屾暣浣?#28051;?#37819;愰珮绯荤粺鐨?#37722;炲鑳?#37716;?#37510;?br /><br />鎵€浠?#38171;屾€?#28003;撴潵璇?#38171;屾€?#38003;界摱棰?#37826;归潰锛?#28051;?#32457;?#37835;?#37835;勯兘鑳?#37711;?#37832;?#37510;傝€?#37721;?#29781;佸厠鏈?#27996;嗘€?#38003;界摱棰?#38171;岄偅浼?#32514;?#37804;§å氨涓嶆槸闂?#26864;?#27996;?#38171;堝綋鐒?#38171;岃繖閲?#37812;戞病鏈夎€冭檻鏁?#37817;?#28051;?#28598;?#38000;屽甫?#28533;鐨勭?#33636;粺涓?#37721;?#37922;?#37928;勯棶棰?#37510;?#26473;?#28051;?#38338;?#26864;樻槸鎵€鏈?#37835;?#37835;勯兘鏃犳硶鍥?#38316;?#37928;勯棶棰?#38171;屽敮涓€鐨勮§£鍐?#37716;?#23049;曞氨?#27128;鏁?#37817;?#37712;?#28003;?#38171;岃繖閲?#28051;嶅?#27692;?#26334;紑浜?#38171;?#37510;?#28051;?#38000;?#37928;勭摱棰堥兘鍦?#37825;?#37817;?#37928;勬寔涔?#37718;?#28051;?#38171;?#28003;嗘槸浼犵粺鐨勬灦鏋勫洜涓?#28598;?#38318;?#37714;嗙?#33636;粺?#20824;?#27128;瑕佸瓨鍌?#37825;?#37817;?#37714;板叧绯?#37736;?#37825;?#37817;?#25652;?#38171;屾墍浠?#37721;?#38003;?#38007;?#23480;?#38322;?#37922;?#37714;嗗簱鍒嗚¡¨鐨勬?#35268;¡ˆ銆傝€孋QRS鏋?#37835;?#38171;屽?#20635;灉鎴?#28000;?#37721;ªå叧?#25950;C绔?#37928;勭摱棰?#38171;?#37922;?#27996;嶤绔?#29781;佷繚瀛?#37928;?#28051;?#29783;?#23536;堢畝鍗?#38171;屽氨?#27128;鍛?#28000;?#37724;?#27996;?#28000;?#38171;涘?#20635;灉浣?#28103;?#37928;勮繃涓€浜?#37812;愮啛鐨„NoSQL锛?#37812;戣?#22794;緱?#23047;鐢?#37826;囨¡£鎬?#37825;?#37817;?#25652;撳?#20411;ongoDB杩?#32457;?#23011;?#26440;?#38315;?#37722;?#28699;?#37708;?#37723;?#28000;?#37724;?#27996;?#28000;?#38171;?#38171;?#28051;?#28003;?#28052;?#37832;夎?#20914;¤Ÿ鐨勮兘鍔?#37724;?#32513;?#26976;屽幓杩愮淮瀹?#28000;?#38171;岄偅鍙?#28000;?#38000;冭?#25116;娇鐢¨NoSQL?#28533;?#23508;涔?#37718;?#37510;傚?#20635;灉浣?#29785;夊緱NoSQL闈?#28051;?#28003;?#37812;?#38000;?#23052;?#37716;?#23049;?#28729;屽叏鎺?#37818;?#38171;岄偅鍙?#28000;¥ä娇鐢¨å叧绯?#37736;?#37825;?#37817;?#25652;?#37510;?#28003;嗚繖鏍?#28003;?#28052;?#29781;?#28000;樺嚭鍔?#37716;?#38171;?#23011;斿¦‚闇€瑕佽嚜宸?#29840;?#29840;?#37714;嗗簱鍒嗚¡¨?#28533;淇?#28699;樺懡浠?#37724;?#27996;?#28000;?#38171;屽洜涓哄懡浠?#37724;?#27996;?#28000;?#37928;勬暟鎹?#38322;忛兘?#27128;寰堝¤§鐨?#37510;?#28051;嶈繃鐩?#37715;?#28051;€浜?#27996;?#37832;嶅姟濡?#38339;?#38322;?#27996;?#38171;屽凡缁?#37819;?#28186;?#27996;†DRDS杩?#32457;?#37929;?#37818;¥æ敮鎸佸?#21975;簱鍒嗚¡¨鐨勬暟鎹?#25652;?#28699;?#37708;?#37826;规¡ˆ锛屾?#20344;¤§鐨勭畝鍖?#27996;?#37812;?#28000;?#28699;?#37708;?#37723;?#28000;?#37724;?#27996;?#28000;?#37928;勬垚鏈?#37510;傚氨鎴?#28051;?#27996;鸿€岃¨€锛?#37812;戣?#22794;緱鎴戣繕?#27128;?#32048;閲?#37922;?#37714;嗗簱鍒嗚¡¨鐨勬?#35268;¡ˆ锛屽師鍥?#23536;堢畝鍗?#38171;氱¡®淇?#37825;?#37817;?#37721;?#38344;?#38016;?#37734;?#37510;佹?#24878;啛銆?#37721;?#37818;?#38171;岃€?#28051;旀敮?#23508;杩?#32457;?#37721;?#29831;?#37825;?#37817;?#37928;勮惤鍦?#38171;屾¡†鏋跺唴缃?#29781;佹敮鎸佸?#21975;簱鍒嗚¡¨涔?#28051;嶆槸浠€涔堥毦浜?#37510;傛墍浠?#38171;岄€氳繃杩?#28051;?#28725;?#23011;?#37812;?#28000;¬ç煡閬?#28028;犵粺鏋?#37835;?#38171;?#37812;?#28000;?#36423;?#26916;讳娇鐢?#37714;嗗簱鍒嗚¡¨锛堥櫎闈?#38339;?#38322;岃繖绉嶉珮澶?#28051;?#37721;?#28000;¥ä娇鐢¨OceanBase锛?#38171;涜€孋QRS鏋?#37835;?#38171;?#37721;?#28000;?#29999;?#32513;?#37812;?#28000;¬æ洿澶?#38315;夋嫨绌?#38338;?#37510;?#37733;?#28051;烘寔涔?#37718;栧懡浠?#37724;?#27996;?#28000;舵槸寰堢畝鍗?#37928;?#38171;?#28729;?#28000;¬é兘?#27128;涓?#37721;?#28103;?#37824;?#37928;?#37721;?#29831;?#37825;?#37817;?#38171;?#28051;?#28725;筴v瀛?#37708;?#37721;嬪¥½锛?#28052;?#37721;?#28000;?#38315;夋嫨鏂囨¡£鍨婲oSQL锛孋绔?#23000;?#26473;滄槸鏂?#28583;?#37825;?#37817;?#38171;岃€屾病鏈?#28103;?#37824;?#37812;?#37714;犻櫎鏁?#37817;?#37510;?#37832;€鍚?#38171;屽氨?#27128;?#21479;浜嶲绔?#37928;勭摱棰?#38171;屽?#20635;灉浣 Q绔?#28052;熸槸?#23047;鐢¨å叧绯?#37736;?#37825;?#37817;?#25652;?#38171;岄偅鍜屼?#29365;粺鏋?#37835;?#28051;€鏍?#38171;?#29831;?#37804;?#28052;?#28028;?#37718;栧氨鎬?#28052;?#28028;?#37718;?#37510;傝€孋QRS鏋?#37835;勫…璁?#28003;犱娇鐢?#37711;?#28000;?#37928;勬灦鏋勬潵瀹?#37916;癚锛屾墍浠?#28028;?#37718;?#37813;嬫®µ鐩?#28725;规洿澶?#37510;?br /><br />?#31912;鏉?#29831;?br /><br />鎴戣?#22794;緱涓?#29825;烘槸浼犵粺鏋?#37835;勮繕?#27128;CQRS鏋?#37835;?#38171;岄兘?#27128;涓?#38335;?#37928;勬灦鏋?#37510;?#28028;犵粺鏋?#37835;勯棬妲?#28003;?#38171;屾噦鐨?#27996;?#28052;熷¤š锛?#28051;?#37733;?#28051;?#28598;?#38318;?#37714;?#26916;?#37929;®é兘娌?#37832;?#28000;€涔堝¤§鐨勫苟鍙戝啓鍏?#38322;?#37724;屾暟鎹?#38322;?#37510;傛墍浠¥å簲璇?#29831;?#28598;?#38318;?#37714;?#26916;?#37929;?#38171;?#38322;?#37922;?#28028;犵粺鏋?#37835;勫氨OK浜?#37510;?#28003;嗘槸閫氳繃鏈?#37826;?#37928;勫垎鏋?#38171;屽¤§瀹?#28052;熺煡閬?#27996;?#38171;屼?#29365;粺鏋?#37835;勭¡®瀹?#28052;?#37832;?#28051;€浜涚己鐐?#38171;?#23011;斿¦‚鍦¨æ墿灞?#37804;?#37510;?#37721;?#37922;?#37804;?#37510;佹€?#38003;界摱棰?#37928;勮§£鍐?#37826;规¡ˆ涓?#38171;岄兘姣擟QRS鏋?#37835;勮?#20344;急涓€鐐?#37510;傚¤§瀹?#37832;夊叾浠?#37808;?#29785;?#38171;屾¬¢杩庢媿鐮?#38171;?#27996;?#23092;佹墠鑳?#26473;?#23005;?#38171;屽?#38747;懙銆傛墍浠?#38171;屽?#20635;灉浣?#37928;勫簲鐢?#37734;烘櫙?#27128;楂樺苟鍙戝啓銆侀?#27194;苟鍙戣¯»銆佸¤§鏁?#37817;?#38171;?#28051;?#29999;?#37832;?#37734;¨æ墿灞?#37804;?#37510;?#37721;?#37922;?#37804;?#37510;佹€?#38003;?#37510;?#37721;?#28028;?#32514;?#37804;?#28051;?#29723;?#37916;版洿浼?#32457;€锛?#37812;戣?#22794;緱鍙?#28000;?#28751;?#29831;•CQRS鏋?#37835;?#37510;?#28003;嗘槸杩?#37832;?#28051;€涓?#38338;?#26864;?#38171;孋QRS鏋?#37835;?#37928;勯棬妲涘?#22565;珮锛?#37812;戣®¤涓?#28641;傛灉娌?#37832;?#37812;愮啛鐨勬¡†鏋舵敮?#23508;锛屽?#22565;?#21477;娇鐢?#37510;傝€?#37929;?#37715;?#37817;?#37812;?#27996;嗚§£锛?#28051;氱?#23683;繕娌?#37832;夊?#22557;¤š鎴愮啛鐨凜QRS妗?#37835;?#38171;宩ava骞?#37721;?#37832;塧xon framework, jdon framework锛?NET骞?#37721;?#38171;孍Node妗?#37835;?#23005;?#37734;?#37832;?#26473;?#28051;?#37826;?#37722;戝姫鍔?#37510;傛墍浠?#38171;?#37812;戞兂杩?#28052;熸槸涓?#28000;€涔?#37929;?#37715;嶅嚑涔?#23052;?#37832;変娇鐢¨CQRS鏋?#37835;?#37928;勬?#24878;?#29112;¡ˆ渚?#37928;勫師鍥?#28052;?#28051;€銆?#37721;?#28051;€涓?#37720;?#37733;犳槸?#23047;鐢¨CQRS鏋?#37835;?#38171;?#38343;€瑕佸紑鍙戣€?#28725;¹DDD鏈?#28051;€瀹?#37928;?#27996;嗚§£锛屽惁鍒?#28052;熷?#22565;毦瀹?#29882;?#38171;岃€孌DD鏈¬è韩瑕?#37918;嗚§£娌?#28051;?#37713;犲勾涔熷?#22565;?#25424;繍鐢?#37714;?#28729;?#38340;?#37510;?#26473;?#37832;?#28051;€涓?#37720;?#37733;?#38171;孋QRS鏋?#37835;?#37928;勬牳蹇冩槸闈炲父渚?#29863;?#27996;庨珮鎬?#38003;?#37928;勫?#21975;?#20904;紡娑堟伅涓?#38338;?#28000;?#38171;屾墍浠?#29781;侀€夊瀷涓€涓ªé珮鎬?#38003;?#37928;勫?#21975;?#20904;紡娑堟伅涓?#38338;?#28000;?#28052;熸槸涓€涓?#38338;?#22962;?#38171;ˆjava骞?#37721;?#37832;塕ocketMQ锛?#38171;?NET骞?#37721;?#37812;?#28051;?#27996;?#28051;?#38338;¨å紑鍙?#27996;?#28051;€涓?#37714;嗗?#20904;紡娑堟伅闃?#37714;—EQueue锛屽?#38747;懙銆?#37721;?#28598;?#38171;屽?#20635;灉娌?#37832;?#37812;愮啛鐨凜QRS妗?#37835;?#37928;勬敮?#23508;锛岄偅?#32042;鐮佸?#23942;?#20634;害涔熶?#27692;?#22557;?#23942;潅锛?#23011;斿¦‚Event Sourcing锛屾?#22559;伅閲?#29831;?#38171;屾?#22559;伅骞傜瓑澶?#37918;?#38171;?#27996;?#28000;?#37928;勯¡º搴?#28598;?#37918;?#38171;屽苟鍙?#37818;?#37714;?#38171;岃繖浜?#38338;?#26864;˜é兘涓嶆槸?#20549;涔?#28729;规?#25780;?#28850;畾鐨?#37510;傝€屽?#20635;灉鏈?#22935;?#37835;舵敮?#23508;锛?#37922;辨¡†鏋舵潵甯?#37812;?#28000;?#37820;炲畾杩?#27996;?#32510;?#37814;€鏈?#38338;?#26864;?#38171;屽紑鍙?#27996;哄憳鍙?#38343;€瑕佸叧?#25950;濡?#28003;曞缓妯?#38171;?#28729;?#37916;?#26864;嗗煙妯?#37736;?#38171;屽¦‚浣曟洿鏂?#29831;?#25652;?#38171;屽¦‚浣?#28729;?#37916;版煡璇?#38171;岄偅?#23047;鐢¨CQRS鏋?#37835;勬墠鏈?#37721;?#38003;?#38171;屽洜涓?#26473;?#37837;?#37813;?#37721;?#38003;?#23011;?#28028;犵粺鐨勬灦鏋勫紑鍙戞?#23544;畝鍗?#38171;?#28051;?#38003;借Ž·寰?#23536;堝¤šCQRS鏋?#37835;勬墍甯¦æ潵鐨勫?#34249;¤„銆?img src ="http://www.8634070.com/paulwong/aggbug/432316.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/paulwong/" target="_blank">paulwong</a> 2017-02-19 08:39 <a href="http://www.8634070.com/paulwong/archive/2017/02/19/432316.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣¡¨璇勮®º</a></div>]]></description></item><item><title>蹇?#38315;?#37918;嗚§£鑱氬悎鏍?#37510;佸疄浣?#37510;佸€煎¯¹璞?#37928;勫尯鍒?#37724;岃仈绯?/title><link>http://www.8634070.com/paulwong/archive/2017/02/19/432315.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Sun, 19 Feb 2017 00:32:00 GMT</pubDate><guid>http://www.8634070.com/paulwong/archive/2017/02/19/432315.html</guid><wfw:comment>http://www.8634070.com/paulwong/comments/432315.html</wfw:comment><comments>http://www.8634070.com/paulwong/archive/2017/02/19/432315.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/paulwong/comments/commentRss/432315.html</wfw:commentRss><trackback:ping>http://www.8634070.com/paulwong/services/trackbacks/432315.html</trackback:ping><description><![CDATA[<img src="http://www.8634070.com/images/blogjava_net/paulwong/13665-20160120152429687-1940741295.png" border="0" alt="" /> <img src ="http://www.8634070.com/paulwong/aggbug/432315.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/paulwong/" target="_blank">paulwong</a> 2017-02-19 08:32 <a href="http://www.8634070.com/paulwong/archive/2017/02/19/432315.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣¡¨璇勮®º</a></div>]]></description></item><item><title>鍩?#27996;ŽSpring Boot, Axon CQRS/ES,鍜孌ocker鏋勫缓寰?#37832;嶅姟http://www.8634070.com/paulwong/archive/2017/02/18/432314.htmlpaulwongpaulwongSat, 18 Feb 2017 14:00:00 GMThttp://www.8634070.com/paulwong/archive/2017/02/18/432314.htmlhttp://www.8634070.com/paulwong/comments/432314.htmlhttp://www.8634070.com/paulwong/archive/2017/02/18/432314.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432314.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432314.html1.?#23047;鐢¨Java 鍜孲pring Boot瀹?#37916;板井鏈嶅姟;
2.?#23047;鐢?#37723;?#28000;?#37724;屾煡璇?#38001;岃矗鍒嗙¦» (CQRS) 鍜?Event Sourcing (ES) 鐨勬¡†鏋禔xon Framework v2, MongoDB 鍜?RabbitMQ;
3.?#23047;鐢¨Docker鏋勫缓 浜?#28000;?#37724;岃繍琛?
4.?#27878;涓?#38320;嶇疆鍜屼娇鐢¨Spring Cloud鏈嶅姟?#25950;鍐?
5.?#23047;鐢¨Swagger 鍜?SpringFox 鎻?#28186;›API鏂囨¡£

椤?#37929;®æ簮鐮?#38171;?a href="https://github.com/benwilcock/microservice-sampler" target="_blank">GitHub

?#20240;浣?#37720;?#37918;?#38171;?br />杩?#28051;ªå簲鐢¨ä娇鐢¨CQRS鏋?#37835;勬¨¡?#32033;鏋勫缓锛屽湪CQRS鍛?#28000;?#28641;侫DD?#27128;鍜屾煡璇¢VIEW(where id=1)鍒嗙¦»鐨?#38171;屽湪杩?#28051;?#22935;?#28186;?#28051;?#26864;嗗煙閮?#37714;?#28000;?#37934;佸凡缁?#37714;嗙¦»鎴?#28051;?#28051;?#32513;勪欢锛?#28051;€涓ªæ槸灞?#27996;庡懡浠?#26473;?#26440;?#37928;勫井鏈嶅姟鍜屽睘鎬§æ煡璇?#26473;?#26440;?#37928;勫井鏈嶅姟銆?br />
寰?#37832;嶅姟?#27128;鍗?#28051;?#38001;岃矗鐨勫姛鑳?#38171;岃嚜宸?#37928;勬暟鎹?#28699;?#37708;?#38171;?#23011;?#28051;?#38003;藉郊姝¤ç嫭绔嬫墿灞曢儴缃?#37510;?br />
灞?#27996;庡懡浠?#26473;?#26440;?#37928;勫井鏈嶅姟鍜屽睘鎬§æ煡璇?#26473;?#26440;?#37928;勫井鏈嶅姟?#20824;?#27128;?#23047;鐢¨Spring Boot妗?#37835;跺紑鍙?#37928;?#38171;屽湪鍛?#28000;?#23536;?#37832;嶅姟鍜屾煡璇?#23536;?#37832;嶅姟涔?#38338;?#38315;?#29825;¯æ槸浜?#28000;?#26937;卞姩锛?#27996;?#28000;舵槸閫氳繃RabbitMQ娑堟伅鍦?#23536;?#37832;嶅姟缁勪欢涔?#38338;?#28028;?#38315;?#38171;屾?#22559;伅鎻?#28186;?#27996;?#28051;€绉?#26473;?#32459;嬭妭鐐?#37812;?#23536;?#37832;嶅姟涔?#38338;?#37721;¯æ墿灞?#37928;?#27996;?#28000;?#26462;?#28003;?#38171;屽?#21614;嫭涓?#28028;犵粺閬?#37923;?#32495;荤粺鎴?#37711;?#28000;?#32495;荤粺鐨勬?#25424;€?#37722;堥€?#29825;¯é兘鍙?#28000;?#38315;氳繃娑堟伅杩?#29723;?#37510;?br />
璇锋敞鎰?#38171;?#37832;嶅姟涔?#38338;?#28051;?#38003;藉郊姝?#37711;?#27996;?#37825;?#37817;?#25652;?#38171;岃繖?#27128;寰?#38322;?#29781;?#38171;屽洜涓?#23536;?#37832;嶅姟?#31794;璇¥æ槸楂樺害鑷?#23052;?#38007;?#28051;?#37928;?#38171;岃繖鏍?#37721;嶈繃?#28533;鏈夊姪浜?#37832;嶅姟鑳藉?#29111;郊姝¤ç嫭绔嬪?#29256;墿灞曚几缂?#29785;勬¨¡銆?br />
CQRS涓?#37723;?#28000;¤æ槸“鏀?#37721;?#37912;舵€?#37928;勫姩浣?#8221;銆傚懡浠?#37928;勫井鏈嶅姟鍖?#37722;?#37813;€鏈?#26864;嗗煙閫昏緫鍜?#28051;氬姟瑙勫垯锛屽懡浠?#29722;?#37922;?#27996;?#28583;炲姞鏂?#37928;?#27996;?#37725;佹垨鏀?#37721;?#28729;?#28000;?#37928;勭?#33333;€?#38171;岃繖浜涘懡浠?#38333;堝?#35268;煇涓?#37711;?#28003;?#27996;§å搧鐨勬墽琛屼?#27692;¯¼鑷?#27996;?#28000;¶Event浜?#37922;?#38171;岃繖?#32048;閫氳繃Axon妗?#37835;舵寔涔?#37718;?#37714;°MongoDB涓?#38171;?#37906;?#37722;?#38315;氳繃RabbitMQ浼?#37822;?#32513;?#37711;?#28000;?#38010;?#37904;?#26473;?#32459;?#37812;?#23536;?#37832;嶅姟銆?br />
鍦¨event-sourcing涓?#38171;?#27996;?#28000;舵槸鐘舵€佹敼鍙?#37928;勫?#29111;§‹璁板綍锛?#28729;?#28000;?#37922;?#27996;?#32495;荤粺?#28533;閲?#37826;板缓绔?#28729;?#28003;?#37928;勫綋鍓?#37912;舵€?#38171;堥€氳繃閲?#37826;?#37822;?#37824;捐繃鍘?#37928;?#27996;?#28000;?#37714;板綋鍓嶅氨鍙?#28000;?#37835;勫缓?#32139;鍓?#37928;勭?#33333;€?#38171;?#38171;岃繖鍚?#28051;?#37720;?#28028;氬緢鎱?#38171;?#28003;嗘槸瀹?#38340;?#28051;?#38171;?#27996;?#28000;堕兘寰堢畝鍗?#38171;屾墽琛岄?#28850;父蹇?#38171;?#28052;?#38003;?#38322;?#37721;?#8216;蹇«ç収’绛栫暐杩?#29723;屼紭鍖?#37510;?br />
璇锋敞鎰?#38171;屽湪DDD涓?#38171;?#28729;?#28003;撴槸鎸?#28051;€涓?#38001;氬悎鏍?#28729;?#28003;?#37510;?br />
涓?#38344;¢æ槸鍛?#28000;?#26473;?#26440;?#37928;勫井鏈嶅姟锛?#28051;嬮潰鐪嬬?#23339;煡璇?#26473;?#26440;?#37928;勫井鏈嶅姟锛?br />?#29025;璇?#23536;?#37832;嶅姟涓€鑸?#37813;?#23125;?#28051;€绉?#27996;?#28000;?#37929;?#37722;¬å櫒鍜岃?#21975;?#25424;?#25493;壊锛?#28729;?#37929;?#37722;?#37714;板懡浠¤é偅杈?#37721;戝嚭鐨?#27996;?#28000;?#38171;?#37906;?#37722;?#28598;?#37918;?#28729;?#28000;?#28000;?#32471;?#37722;堟煡璇?#26473;?#26440;?#37928;勮?#20345;眰銆?br />
鍦?#26473;?#28051;?#22935;?#28186;?#28051;?#38171;屾煡璇?#26473;?#26440;?#37721;ªæ槸?#30045;鍗曞缓绔嬪拰缁存寔浜?#28051;€涓?‘materialised view’鎴?#8216;projection’ 锛屽叾涓?#28103;濈暀浜?#27996;§å搧鐨勬渶鏂?#37912;舵€?#38171;?#28052;熷氨?#27128;浜§å搧id鍜屾弿杩?#28000;?#37721;婃槸鍚?#29722;?#37719;栧嚭?#29905;?#29905;淇¡æ伅锛屾煡璇?#26473;?#26440;?#38003;藉?#29115;¢«澶?#37714;跺?#27693;¬¡浠?#37826;?#28186;挎墿灞?#38171;屾?#22559;伅鍙?#28000;?#28103;濈暀鍦¨RabbitMQ闃?#37714;?#28051;?#28729;?#37916;版寔涔?#28103;?#28699;?#38171;岃繖绉?#28051;存椂淇?#28699;?#23057;堟伅鏂瑰紡鍙?#28000;?#38339;?#23005;¢æ煡璇?#26473;?#26440;?#23536;?#37832;嶅姟?#32139;鏈?#37510;?br />
鍛?#28000;?#23536;?#37832;嶅姟鍜屾煡璇?#23536;?#37832;嶅姟涓?#38000;呴兘鏈塕EST API锛屾彁渚涘?#26667;晫瀹?#37812;?#32468;?#29825;?#38338;?#37510;?br />
涓嬮潰鐪嬬?#23338;¦‚浣曢€氳繃Docker杩?#29723;岃繖涓?#22935;?#28186;?#38171;?#38343;€瑕?Ubuntu 16.04锛?br />1.Docker ( v1.8.2)
2.Docker-compose ( v1.7.1)

鍦?#28051;€涓?#32460;?#37929;®å綍锛屾墽琛?#28051;嬮潰鍛?#28000;?#28051;嬭浇docker-compose:

$ wget https://raw.githubusercontent.com/benwilcock/microservice-sampler/master/docker-compose.yml
?#25950;鎰?#38171;?#28051;?#29781;佹?#23384;?#35268;枃浠?#37722;?#32457;?#37510;?br />
鍚¯å姩寰?#37832;嶅姟锛?#37721;ªæ槸?#30045;鍗?#28051;€涓?#37723;?#28000;?#38171;?br />
$ docker-compose up

浣犱細鐪嬪埌璁稿¤š涓嬭浇淇¡æ伅鍜屾棩蹇?#26440;撳嚭鍦?#28766;忓箷涓?#38171;岃繖?#27128;Docker image灏嗚¢«涓嬭浇鍜岃繍琛?#37510;?#28051;€鍏?#37832;夊…­涓ªdocker锛屽?#21975;埆?#27128;锛?‘mongodb’, ‘rabbitmq’, ‘config’, ‘discovery’, ‘product-cmd-side’, 鍜?‘product-qry-side’.

?#23047;鐢?#28051;嬮潰鍛?#28000;?#26473;?#29723;屾祴璇?#28583;炲姞涓€涓?#37826;?#27996;§å搧锛?br />​
$ curl -X POST -v --header "Content-Type: application/json" --header "Accept: */*" "http://localhost:9000/products/add/1?name=Everything%20Is%20Awesome"

?#29025;璇?#26473;?#28051;?#37826;?#27996;§å搧锛?br />
$ curl http://localhost:9001/products/1

Microservices With Spring Boot, Axon CQRS/ES, and Docker


]]>
DDD璧勬簮http://www.8634070.com/paulwong/archive/2017/02/18/432313.htmlpaulwongpaulwongSat, 18 Feb 2017 13:53:00 GMThttp://www.8634070.com/paulwong/archive/2017/02/18/432313.htmlhttp://www.8634070.com/paulwong/comments/432313.htmlhttp://www.8634070.com/paulwong/archive/2017/02/18/432313.html#Feedback0http://www.8634070.com/paulwong/comments/commentRss/432313.htmlhttp://www.8634070.com/paulwong/services/trackbacks/432313.html https://github.com/benwilcock/microservice-sampler



https://github.com/AxonFramework/AxonBank

http://www.cnblogs.com/netfocus/p/4150084.html



]]>
Ë«É«ÇòÖ±²¥°É
<div id="k0jz6"><tr id="k0jz6"></tr></div>
    <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
    <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
    <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
      <div id="k0jz6"></div>

      <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
        <div id="k0jz6"><tr id="k0jz6"></tr></div>
          <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
          <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
          <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
            <div id="k0jz6"></div>

            <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>