{"id":124950,"date":"2020-06-14T16:28:15","date_gmt":"2020-06-14T08:28:15","guid":{"rendered":"http:\/\/4563.org\/?p=124950"},"modified":"2020-06-14T16:28:15","modified_gmt":"2020-06-14T08:28:15","slug":"codeigniter-4-%e6%80%8e%e4%b9%88%e6%a0%b7%ef%bc%9f%e6%9c%89%e4%ba%ba%e5%b0%86%e5%ae%83%e7%94%a8%e4%ba%8e%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83%e7%9a%84%e4%ba%86%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=124950","title":{"rendered":"CodeIgniter 4 \u600e\u4e48\u6837\uff1f\u6709\u4eba\u5c06\u5b83\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u4e86\u5417"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  CodeIgniter 4 \u600e\u4e48\u6837\uff1f\u6709\u4eba\u5c06\u5b83\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u4e86\u5417               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vincent9 <\/span>  <span><i><\/i> 13<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u6211\u8fd8\u5728\u4f7f\u7528 CodeIgniter 3\uff0c\u6211\u4f7f\u7528 CodeIgniter \u7684\u539f\u56e0\u662f\uff0cCI \u6ca1\u6709\u8fc7\u591a\u7684\u6027\u80fd\u6d88\u8017\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u539f\u56e0\u662f\uff0c\u5b83\u7684\u89c6\u56fe\u6587\u4ef6\u53ef\u4ee5\u4f7f\u7528\u539f\u751f PHP\uff0c\u8fd9\u5bf9\u4e8e\u6211\u8fd9\u79cd\u524d\u540e\u7aef\u4e00\u628a\u64b8\u7684\u4eba\u6765\u8bf4\u5f88\u65b9\u4fbf\u3001\u53c8\u6709\u6027\u80fd\uff01<\/p>\n<p>CodeIgniter 4 \u7684\u6b63\u5f0f\u7248\u5df2\u51fa\u6765\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u6709\u4eba\u5c06\u5b83\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u4e86\u5417\uff1f\u6709\u6ca1\u6709\u4ec0\u4e48\u5927\u7684\u5751\uff0c\u4f7f\u7528\u4f53\u9a8c\u5982\u4f55\uff1f      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2039484\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : heyjei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f53\u5e74\u4f7f\u7528\u7684\u7b2c\u4e00\u4e2a PHP \u6846\u67b6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039485\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lepig <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76ee\u524d\u8fd8\u6ca1\u6709\uff0c\u89c2\u671b\u4e2d\u3002 <\/p>\n<p>\u6bd5\u7adf\u662f\u6211\u7684\u7b2c\u4e00\u4e2a\u6846\u67b6\uff0c\u6211\u4eec\u9752\u6625\u60c5\u6000\u5450                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039486\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : basstk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e5f\u5728\u5173\u6ce8\u4e2d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039487\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : R18 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f8\u5f53\u4e8e\u4e00\u4e2a\u65b0\u7684\u6846\u67b6\uff0c\u4e0e\u4e0a\u4e2a\u7248\u672c\u4e0d\u517c\u5bb9\u3002\u65e5\u5e38\u80fd\u7528\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039488\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iplayio2019 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             laravel \u4e5f\u53ef\u4ee5\u76f4\u63a5\u5199 PHP \u3002\u73b0\u5728\u6846\u67b6\u90fd\u4e0d\u592a\u91cd\u8981\uff0c\u57fa\u672c\u4e0a\u5927\u540c\u5c0f\u5f02\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039489\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dvaknheo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             CodeIgniter 4 \u6ca1\u4ec0\u4e48\u5fc5\u8981\u5b58\u5728\u4e86\u3002\u6211\u770b\u8fc7\u4e86 CI4 \u7684\u4ee3\u7801\u3002<br \/>tp6 \u4e5f\u80fd\u7528\u539f\u751f\u89c6\u56fe\u554a\u3002<br \/>yii2 \u7528\u539f\u751f sql \u6709\u70b9\u4e0d\u592a\u7075\u6d3b<\/p>\n<p>laravel \u5199\u539f\u751f sql \u4f1a\u6bd4\u8f83\u6298\u817e\u5427\u3002<\/p>\n<p>\u559c\u6b22 CI \u7684\uff0c\u53ef\u4ee5\u770b\u770b\u6211\u5199\u7684 DuckPhp<\/p>\n<p>https:\/\/github.com\/dvaknheo\/duckphp<\/p>\n<p>CodeIgniter 2 \u843d\u540e\u4f46\u633a\u575a\u4e86\u5f88\u4e45\u3002<br \/>CodeIgniter 3 \u5c31\u8bb0\u5f97\u603b\u7b97\u63a7\u5236\u5668\u8981\u533a\u5206\u5927\u5c0f\u5199\u4e86\u3002<\/p>\n<p>CodeIgniter \u7528\u7c7b\u6765\u505a\u914d\u7f6e \u9ed1\u4eba\u95ee\u53f7.jpg<br \/>\u800c\u4e14\u914d\u7f6e\u6587\u4ef6\u4f17\u591a\uff0c\u4e0d\u77e5\u9053\u54ea\u4e9b\u662f\u6709\u7528\u7684\uff0c\u54ea\u4e9b\u662f\u65e0\u7528\u7684\u3002<\/p>\n<p>&#8212;-<\/p>\n<p>DuckPhp \u76f8\u6bd4 CI 4\uff0c \u9b54\u6539\u4e0d\u5fc5\u6539\u52a8\u7cfb\u7edf\u6587\u4ef6<br \/>\u4e00\u5207\u7cfb\u7edf\u529f\u80fd\u90fd\u80fd\u63a5\u7ba1\uff08 CI4 \u4e5f\u5b9e\u73b0\u4e86\u8fd9\u4e2a\u5427\u3002<br \/>\u81ea\u7136\u5e26 namespace \u6587\u4ef6\u6a21\u5f0f\u7684\u63a7\u5236\u5668 <br \/>\u7b80\u5355\u6613\u7528\u7684 DB \u7c7b\uff08\u4f60\u4e5f\u53ef\u4ee5\u7528 thinkphp-orm \u54e6\u3002<br \/>\u652f\u6301\u6269\u5c55\uff0c\u652f\u6301\u8def\u7531\u94a9\u5b50\uff0c\u652f\u6301\u8def\u7531\u6620\u5c04\u3002<br \/>\u914d\u7f6e\u591a\u4f46\u90fd\u7f3a\u7701\uff0c\u5de5\u7a0b\u6587\u4ef6\u91cc\u4e0d\u7528\u5199\u90a3\u4e48\u591a\u3002<br \/>\u652f\u6301\u975e\u5168\u7ad9\u6a21\u5f0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039490\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iyaozhen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u662f\u9752\u6625\u5440 \u5c45\u7136 4 \u4e86 \u770b\u770b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039491\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fxjson <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u7684\u4e0d\u591a\u5427\uff0cstar \u6570\u4e0d\u9ad8\uff0c\u6301\u7eed\u5173\u6ce8\u4e2d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2039492\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zachlhb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u73b0\u5728\u540e\u7aef\u6846\u67b6\u89c6\u56fe\u90e8\u5206\u611f\u89c9\u9700\u6c42\u4e0d\u5927\u4e86\uff0c\u73b0\u5728\u90fd\u524d\u540e\u7aef\u5206\u79bb\uff0c\u5c31\u7b97\u4e00\u4e2a\u4eba\u5199\u524d\u540e\u7aef\u5206\u79bb\u4e5f\u5f88\u65b9\u4fbf\u7ef4\u62a4\uff0c\u50cf\u6211\u73b0\u5728\u81ea\u5df1\u9879\u76ee\uff0c\u540e\u7aef\u6846\u67b6\u53ea\u7ba1\u903b\u8f91\u63a5\u53e3\uff0c\u524d\u7aef vue \u5bf9\u63a5\uff0c\u719f\u6089\u540e\u6bd4\u540e\u7aef\u76f4\u63a5\u641e\u89c6\u56fe\u5feb\u5f88\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>CodeIgniter 4 \u600e\u4e48\u6837&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\/124950"}],"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=124950"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/124950\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124950"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}