{"id":297187,"date":"2021-01-18T03:41:06","date_gmt":"2021-01-17T19:41:06","guid":{"rendered":"http:\/\/4563.org\/?p=297187"},"modified":"2021-01-18T03:41:06","modified_gmt":"2021-01-17T19:41:06","slug":"cabloyjs-%e8%87%aa%e5%b8%a6%e5%b7%a5%e4%bd%9c%e6%b5%81%e5%bc%95%e6%93%8e%e7%9a%84%e6%96%87%e6%a1%a3%e6%b8%85%e5%8d%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=297187","title":{"rendered":"CabloyJS \u81ea\u5e26\u5de5\u4f5c\u6d41\u5f15\u64ce\u7684\u6587\u6863\u6e05\u5355"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  CabloyJS \u81ea\u5e26\u5de5\u4f5c\u6d41\u5f15\u64ce\u7684\u6587\u6863\u6e05\u5355               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhennann <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<h2>\u6587\u6863\u6e05\u5355<\/h2>\n<p>CabloyJS \u81ea\u5e26<code>\u5de5\u4f5c\u6d41\u5f15\u64ce<\/code>\u6587\u6863\u5df2\u7ecf\u6574\u7406\u51fa\u6765\uff0c\u6b22\u8fce\u5927\u5bb6\u56f4\u89c2\u3001\u62cd\u7816<\/p>\n<ul>\n<li> \u4ecb\u7ecd\n<ul>\n<li>\u4ecb\u7ecd<\/li>\n<li>\u6f14\u793a\uff1aCMS \u5ba1\u6279\u5de5\u4f5c\u6d41<\/li>\n<li>\u5355\u5143\u6d4b\u8bd5\u7528\u4f8b\u96c6<\/li>\n<\/ul>\n<\/li>\n<li> \u6d41\u7a0b\u5b9a\u4e49\n<ul>\n<li>\u57fa\u672c\u6982\u5ff5<\/li>\n<li>JSON \u89c4\u8303<\/li>\n<li>listener \u89c4\u8303<\/li>\n<li>listener \u89c4\u8303-\u7528\u6237\u4efb\u52a1<\/li>\n<\/ul>\n<\/li>\n<li> \u6d41\u7a0b\u5b9e\u4f8b\n<ul>\n<li>\u5916\u89c2 Bean \u7ec4\u4ef6<\/li>\n<li>\u5b89\u5168\u6c99\u7bb1<\/li>\n<li>\u6d41\u7a0b\u68c0\u7d22<\/li>\n<li>\u73af\u5883\u5bf9\u8c61<\/li>\n<\/ul>\n<\/li>\n<li> \u8f6c\u79fb\u7ebf\n<ul>\n<li>\u73af\u5883\u5bf9\u8c61<\/li>\n<li>\u987a\u5e8f\u6d41<\/li>\n<\/ul>\n<\/li>\n<li> \u6d3b\u52a8\u8282\u70b9\n<ul>\n<li> \u57fa\u672c\u6982\u5ff5\n<ul>\n<li>\u73af\u5883\u5bf9\u8c61<\/li>\n<\/ul>\n<\/li>\n<li> \u5f00\u59cb\u4e8b\u4ef6\n<ul>\n<li>\u7a7a\u5f00\u59cb\u4e8b\u4ef6<\/li>\n<li>\u5b9a\u65f6\u5f00\u59cb\u4e8b\u4ef6<\/li>\n<li>\u539f\u5b50\u8d77\u8349\u5f00\u59cb\u4e8b\u4ef6<\/li>\n<\/ul>\n<\/li>\n<li> \u7ed3\u675f\u4e8b\u4ef6\n<ul>\n<li>\u7a7a\u7ed3\u675f\u4e8b\u4ef6<\/li>\n<\/ul>\n<\/li>\n<li> \u6d3b\u52a8\n<ul>\n<li>\u7a7a\u6d3b\u52a8<\/li>\n<li>\u670d\u52a1\u6d3b\u52a8<\/li>\n<li>\u7528\u6237\u4efb\u52a1\u6d3b\u52a8<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li> \u7528\u6237\u4efb\u52a1\n<ul>\n<li>JSON \u89c4\u8303<\/li>\n<li>\u5916\u89c2 Bean \u7ec4\u4ef6<\/li>\n<li>\u4efb\u52a1\u68c0\u7d22<\/li>\n<li>\u73af\u5883\u5bf9\u8c61<\/li>\n<\/ul>\n<\/li>\n<li>\u8fdb\u9636\u7bc7\uff08\u5f85\u7eed&#8230;\uff09 <\/li>\n<\/ul>\n<h2>\u4ec0\u4e48\u662f CabloyJS \u81ea\u5e26\u5de5\u4f5c\u6d41\u5f15\u64ce<\/h2>\n<p>\u4f17\u6240\u5468\u77e5\uff0cNodeJS \u4f5c\u4e3a\u540e\u7aef\u5f00\u53d1\u8bed\u8a00\u548c\u8fd0\u884c\u73af\u5883\uff0c\u6837\u6837\u90fd\u597d\uff0c\u5c31\u5dee\u4e00\u4e2a<code>NodeJS \u5de5\u4f5c\u6d41\u5f15\u64ce<\/code>\u3002CabloyJS 4.0 \u91cd\u70b9\u5f00\u53d1\u4e86<code>NodeJS \u5de5\u4f5c\u6d41\u5f15\u64ce<\/code>\uff0c\u5e76\u4f5c\u4e3a\u5185\u7f6e\u7684\u57fa\u7840\u6838\u5fc3\u6a21\u5757\uff0c\u8fd1\u4e00\u6b65\u62d3\u5c55\u4e86 NodeJS \u5728\u540e\u7aef\u7684\u5e94\u7528\u573a\u666f\uff0c\u4e3a\u6df1\u5165\u7814\u53d1\u5404\u7c7b\u5546\u4e1a\u4e1a\u52a1\u903b\u8f91\uff0c\u63d0\u4f9b\u4e86\u57fa\u7840\u652f\u6491<\/p>\n<h2>NodeJS \u5de5\u4f5c\u6d41\u5f15\u64ce\u7684\u7279\u70b9<\/h2>\n<ol>\n<li>\u66f4\u7b80\u4fbf\u7684\u914d\u7f6e\uff1a\u91c7\u7528<code>JSON<\/code>\u8fdb\u884c\u6d41\u7a0b\u5b9a\u4e49\u7684\u914d\u7f6e\uff0c\u544a\u522b XML \u914d\u7f6e\u6587\u4ef6\u7684\u5197\u6742<\/li>\n<li>\u6d41\u7a0b\u5b9a\u4e49\uff1a\u652f\u6301\u5386\u53f2\u7248\u672c\u3001\u652f\u6301\u542f\u7528 \/\u7981\u7528<\/li>\n<li>\u66f4\u6e05\u6670\u7684\u67b6\u6784\uff1a\u91c7\u7528\u4e09\u4e2a\u6838\u5fc3\u6a21\u5757\u7528\u5206\u5c42\u7684\u673a\u5236\u5b9e\u73b0\u5de5\u4f5c\u6d41\u5f15\u64ce\u7684\u67b6\u6784\uff0c\u8ba9\u5de5\u4f5c\u6d41\u4e0d\u518d\u795e\u79d8\uff0c\u6e90\u7801\u4e5f\u4e0d\u518d\u53e0\u5e8a\u67b6\u5c4b<\/li>\n<\/ol>\n<table>\n<thead>\n<tr>\n<th>\u6a21\u5757\u540d\u79f0<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>a-flow<\/td>\n<td>\u6d41\u7a0b\u5b9a\u4e49\u3001\u6d41\u7a0b\u5b9e\u4f8b<\/td>\n<\/tr>\n<tr>\n<td>a-flownode<\/td>\n<td>\u6d41\u7a0b\u8282\u70b9\uff08\u6d3b\u52a8\u8282\u70b9\uff09<\/td>\n<\/tr>\n<tr>\n<td>a-flowtask<\/td>\n<td>\u6d41\u7a0b\u4efb\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>\u652f\u6301<code>\u4e1a\u52a1\u6d41\u7a0b<\/code>\u548c<code>\u5ba1\u6279\u6d41\u7a0b<\/code> <\/li>\n<li>\u4e0e<code>\u539f\u5b50\u6570\u636e\u751f\u547d\u5468\u671f<\/code>\u7ed3\u5408\uff0c\u5185\u7f6e\u4e86\u4e00\u5957\u57fa\u4e8e\u539f\u5b50\u6570\u636e\u7684<code>\u5ba1\u6279\u5de5\u4f5c\u6d41<\/code>\u3002\u53c2\u89c1\uff1a\u539f\u5b50\u9636\u6bb5\uff08\u6570\u636e\u751f\u547d\u5468\u671f\uff09 <\/li>\n<li>\u4e0e<code>\u8868\u5355\u9a8c\u8bc1<\/code>\u7ed3\u5408\uff0c\u652f\u6301\u5206\u522b\u914d\u7f6e\u4e0d\u540c\u6d41\u7a0b\u8282\u70b9\u7684<code>\u8bfb\u53d6\u5b57\u6bb5\u6743\u9650<\/code>\u548c<code>\u4fee\u6539\u5b57\u6bb5\u6743\u9650<\/code>\u3002\u53c2\u89c1\uff1a\u8868\u5355\u9a8c\u8bc1<\/li>\n<li>\u53ef\u901a\u8fc7<code>AOP<\/code>\u673a\u5236\u5b9a\u5236\u5de5\u4f5c\u6d41\u903b\u8f91\u3002\u53c2\u89c1\uff1aAOP<\/li>\n<li>\u53ef\u901a\u8fc7<code>Listener<\/code>\u673a\u5236\u5b9a\u5236\u5de5\u4f5c\u6d41\u903b\u8f91\u3002\u53c2\u89c1\uff1alistener \u89c4\u8303<\/li>\n<li>\u5f00\u653e\u5f0f\u7684\u67b6\u6784\uff0c\u652f\u6301\u66f4\u591a<code>\u6d41\u7a0b\u8282\u70b9<\/code>\u7684\u5b9a\u5236\u5f00\u53d1<\/li>\n<li>\u5305\u542b\u5927\u91cf<code>\u6d4b\u8bd5\u9a71\u52a8<\/code>\u4ee3\u7801\uff0c\u53ef\u5feb\u901f\u4e0a\u624b\u4f7f\u7528\u5de5\u4f5c\u6d41<\/li>\n<\/ol>\n<h2>\u4e0e<code>Activiti<\/code>\u7684\u5bf9\u6bd4<\/h2>\n<p><code>\u6d41\u7a0b\u5b9a\u4e49<\/code>\u662f<code>\u5de5\u4f5c\u6d41\u5f15\u64ce<\/code>\u7684\u7075\u9b42\uff0c\u4e00\u4e2a\u5408\u7406\u7684<code>\u6d41\u7a0b\u5b9a\u4e49<\/code>\u89c4\u8303\uff0c\u65e2\u8981\u8003\u8651\u4f7f\u7528\u7684\u4fbf\u5229\u6027\uff0c\u53c8\u8981\u8003\u8651\u529f\u80fd\u7279\u6027\u7684\u53ef\u6269\u5c55\u6027<\/p>\n<p><code>Activiti<\/code>\u65e0\u7591\u662f Java \u8bed\u8a00\u9886\u57df\u5de5\u4f5c\u6d41\u5f15\u64ce\u7684\u6807\u6746\uff0c\u4f9d\u636e<code>BPMN2.0<\/code>\u89c4\u8303\u91c7\u7528<code>XML<\/code>\u683c\u5f0f\u6765\u5b9a\u4e49\u5de5\u4f5c\u6d41<\/p>\n<h3>1. JAVA + BPMN + XML<\/h3>\n<p><code>BPMN + XML<\/code>\u7684\u4f18\u70b9\u662f\u6807\u51c6\u7edf\u4e00\uff0c\u4e0e<code>JAVA<\/code>\u8bed\u8a00\u7684\u5f00\u53d1\u8c03\u6027\u76f8\u5339\u914d\u3002\u5f53\u7136\uff0c\u7f3a\u70b9\u662f<code>\u7e41\u7410<\/code>\uff0c\u5982\u679c\u8131\u79bb\u4e86<code>\u56fe\u5f62\u5316\u7f16\u8f91\u5de5\u5177<\/code>\uff0c\u91c7\u7528\u624b\u5199 XML \u5b9a\u4e49\uff0c\u975e\u5e38\u4e0d\u4fbf\u5229<\/p>\n<h3>2. JS + \u7c7b BPMN + JSON<\/h3>\n<p>CabloyJS \u7ecf\u8fc7\u53cd\u590d\u7684\u8bc4\u4f30\u4e0e\u6743\u8861\uff0c\u51b3\u5b9a\u4ecd\u7136\u53c2\u8003<code>BPMN \u89c4\u8303<\/code>\u7684\u7279\u6027\u96c6\uff0c\u4f46\u662f\u91c7\u7528<code>JSON<\/code>\u683c\u5f0f\u8fdb\u884c\u5b9a\u4e49\u3002\u867d\u7136\u5c5e\u4e8e\u81ea\u5b9a\u4e49\u683c\u5f0f\uff0c\u4f46\u7b26\u5408<code>JS<\/code>\u8bed\u8a00\u7684\u8c03\u6027\uff0c\u4f18\u70b9\u662f<code>\u7b80\u7ea6\u3001\u6613\u5199\u3001\u6613\u8bfb<\/code>\uff0c\u540c\u6837\u5177\u5907\u4f18\u79c0\u7684<code>\u53ef\u8fc1\u79fb\u6027<\/code><\/p>\n<h2>\u76f8\u5173\u94fe\u63a5<\/h2>\n<ul>\n<li>\u5b98\u7f51: https:\/\/cabloy.com\/<\/li>\n<li>GitHub: https:\/\/github.com\/zhennann\/cabloy<\/li>\n<\/ul><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>CabloyJS \u81ea\u5e26\u5de5\u4f5c\u6d41\u5f15\u64ce\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/297187"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=297187"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/297187\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297187"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}