{"id":143,"date":"2008-09-04T23:42:05","date_gmt":"2008-09-04T15:42:05","guid":{"rendered":"http:\/\/j178.mtgbb.com\/196"},"modified":"2011-02-28T17:31:24","modified_gmt":"2011-02-28T09:31:24","slug":"php-framework-cakephp","status":"publish","type":"post","link":"https:\/\/j178.mtgbb.com\/?p=143","title":{"rendered":"PHP Framework: CakePHP"},"content":{"rendered":"<p>\u539f\u6587\u8f49\u8cbc\u81ea <strong>bbs:\/\/ptt.cc<\/strong> \u4f5c\u8005: <strong>clar<\/strong><\/p>\n<p>php \u4e0a\u597d\u7528\u7684 frame \u4e0d\u5c11, \u5728\u9078\u7528\u4e4b\u524d\uff0c\u7576\u7136\u5f97\u5148\u77ad\u89e3\u5404\u5bb6\u7684\u512a\u52e2<\/p>\n<p>\u5148\u4f86\u770b\u770b CakePHP \u7684\u7c21\u4ecb\u5427<\/p>\n<p><!--more--><\/p>\n<p>\u4f5c\u8005\u00a0 clar (clar) \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u770b\u677f\u00a0 PHP<br \/>\n\u6a19\u984c\u00a0 [\u5fc3\u5f97] \u4ecb\u7d39\u4e00\u500b\u597d\u7528\u7684PHP Framework, CakePHP!<br \/>\n\u6642\u9593\u00a0 Sat Jan 20 07:41:55 2007<br \/>\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<\/p>\n<p>\u9084\u5efa\u52aa\u529b\u7528PHP\u5efa\u9020\u81ea\u5df1\u7684\u8f2a\u5b50\u55ce?<\/p>\n<p>\u4f60\u9084\u5728\u7528PHP\u5f9e\u7121\u5230\u6709\u5efa\u7acb\u81ea\u5df1\u7684\u8f2a\u5b50\u55ce? FrameWork\u6642\u4ee3\u5df2\u7d93\u4f86\u81e8, \u5feb\u901f\u5efa\u7acb\u7db2\u7ad9\u66f4\u662f<br \/>\n\u7576\u524d\u7684\u6642\u52e2\u9700\u6c42,\u5bebWindows\u7a0b\u5f0f\u53ea\u6709\u5c11\u6578\u4eba\u6703\u7528win32 API\u5beb, \u7528ASM\u5beb\u66f4\u662f\u5c11\u4e4b\u4e4b\u5c11,<br \/>\n\u5728web 2.0\u5982\u6b64\u767c\u71d2\u767c\u71b1\u7684\u6642\u4ee3, \u958b\u767cweb \u61c9\u7528\u7a0b\u5f0f\u600e\u9ebc\u53ef\u4ee5\u9084\u505c\u7559\u5728\u505a\u8f2a\u5b50\u7684\u968e\u6bb5?<\/p>\n<p>\u8b93\u81ea\u5df1\u7684\u751f\u547d\u89e3\u653e\u5427, \u8eab\u70baweb \u61c9\u7528\u7a0b\u5f0f\u958b\u767c\u8005, \u5f97\u5c08\u6ce8\u65bc\u6211\u5011\u8981\u505a\u7684\u4e8b!<\/p>\n<p>\u4ec0\u9ebc\u662fCakePHP?<\/p>\n<p>CakePHP\u662f\u4e00\u5957\u4f7f\u7528PHP\u8a9e\u8a00\u7684\u5feb\u901f\u958b\u767c\u67b6\u69cb\uff0c\u7531ActiveRecord, Association Data<br \/>\nMapping, Front Controller\u548cMVC\u7b49\u773e\u6240\u7686\u77e5\u7684\u8a2d\u8a08\u6a21\u5f0f\u8a2d\u8a08\u800c\u6210\u3002 CakePHP\u7684\u76ee\u6a19\u662f\u8981<br \/>\n\u63d0\u4f9b\u4e00\u5957\u67b6\u69cb\u5b8c\u6574\u7684\u6846\u67b6\uff0c\u8b93\u5404\u7a2e\u7b49\u7d1a\u7684PHP\u4f7f\u7528\u8005\u90fd\u5728\u4e0d\u5931\u8a2d\u8a08\u5f48\u6027\u7684\u60c5\u6cc1\u4e0b\u5feb\u901f\u958b\u767c<br \/>\n\u5f37\u7a69\u7684web\u7a0b\u5f0f\u3002<\/p>\n<p>\u4f55\u8b02\u67b6\u69cb\uff1f<\/p>\n<p>\u67b6\u69cb(framework)\u662f\u4e00\u7a2e\u60f3\u6cd5\uff0c\u4e0d\u5c08\u5c6c\u65bc\u4efb\u4f55\u8a9e\u8a00(PHP\u5c31\u662f\u7a0b\u5f0f\u8a9e\u8a00\u4e4b\u4e00)\u3002 CakePHP\u4e4b\u65bc<br \/>\nPHP\uff0c\u5c31\u597d\u50cfMFC\u4e4b\u65bcC\/C++\uff0c\u67b6\u69cb\u8207\u7a0b\u5f0f\u8a9e\u8a00\u9593\u7684\u95dc\u4fc2\uff0c\u53ef\u4ee5\u8aaa\u662f\u7a0b\u5f0f\u8a9e\u8a00\u5be6\u73fe\u4e86\u67b6\u69cb\u3002<\/p>\n<p>\u6211\u8981\u4f7f\u7528CakePHP\u9084\u662fPHP\uff1f<\/p>\n<p>\u9019\u554f\u984c\u5c31\u597d\u50cf\u6210\u5bb6\u4e00\u6a23\uff0c\u8a66\u554f\uff1a\u4f60\u60f3\u8cb7\u5225\u4eba\u5df2\u7d93\u505a\u597d\u7684\u623f\u5b50\uff0c\u88dd\u6f62\u6210\u81ea\u5df1\u7684\u611b\u5de2\uff1f \u9084\u662f<br \/>\n\u60f3\u81ea\u5df1\u6253\u5730\u57fa\uff0c\u6162\u6162\u5efa\u7bc9\u81ea\u5df1\u7684\u5c0f\u7aa9\uff1f \u5982\u679c\u4f60\u662f\u5f8c\u8005\u7684\u4fe1\u5f92\uff0c\u5c31\u4e0d\u9700\u4f7f\u7528CakePHP\uff1b\u82e5\u662f<br \/>\n\u524d\u8005\uff0c\u90a3CakePHP\u5c31\u662f\u4f60\u7684\u9078\u64c7\uff01<\/p>\n<p>\u6211\u9084\u662f\u8981\u554f\uff0c\u90a3\u9ebc\u591a\u67b6\u69cb\uff0c\u70ba\u4ec0\u9ebc\u8981\u9078CakePHP?<\/p>\n<p>\u6c92\u932f\uff0c\u9019\u5e7e\u5e74\uff0c\u4ee5PHP\u5be6\u4f5c\u7684\u67b6\u69cb\u767e\u5bb6\u9f4a\u653e\u3002\u5e78\u798f\u7684\u6211\u5011\uff0c\u6709\u592a\u591a\u7684\u9078\u64c7\u3002 CakePHP\u5728<br \/>\nPHPZone \u88ab\u5217\u5728\u662f2006\u5e74\u524d\u5341\u5927\u67b6\u69cb\u4e2d\u7b2c\u4e09\u540d\u3002\u6211\u89aa\u81ea\u4f7f\u7528\uff0c\u5be6\u5728\u592a\u597d\u5b89\u88dd\u4e86\uff01\u5b78\u7fd2<br \/>\n\u904e\u7a0b\u4e5f\u6c92\u4ec0\u9ebc\u554f\u984c\u3002 \u4f7f\u7528CakePHP\u7684\u540c\u6642\uff0c\u4e5f\u5ba3\u544a\u4e86\u4f60\u64c1\u6709\u904e\u53bb10\u5e74\u7d2f\u7a4d\u7684\u6df1\u539aPHP\u8cc7\u6e90<br \/>\n\u3002 \u5728\u90a3\u4e9b\u8cc7\u6e90\u7684\u8f14\u52a9\u4e0b\uff0cCakePHP\u5c07\u8b8a\u7684\u7121\u6bd4\u5f37\u5927\u3002 \u5982\u679c\u4f60\u662f\u770b\u8457Ruby on Rail\u6d41\u53e3\u6c34<br \/>\n\u7684PHP\u9ad8\u624b\uff0cCakePHP\u5c07\u662f\u4f60\u7684\u6551\u661f\u3002<\/p>\n<p>CakePHP\u4e0b\u8f09<br \/>\nhttp:\/\/www.cakephp.org<\/p>\n<p>CakePHP \u4e2d\u6587\u624b\u518a<br \/>\nhttp:\/\/www.ezluk.org<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u8f49\u8cbc\u81ea bbs:\/\/ptt.cc \u4f5c\u8005: clar php \u4e0a\u597d\u7528\u7684 frame \u4e0d\u5c11, \u5728\u9078\u7528\u4e4b\u524d\uff0c\u7576\u7136 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[56],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-php","tag-php"],"_links":{"self":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":0,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"wp:attachment":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}