{"id":1102,"date":"2010-05-24T10:22:00","date_gmt":"2010-05-24T02:22:00","guid":{"rendered":"\/?p=1102"},"modified":"2010-05-24T10:22:00","modified_gmt":"2010-05-24T10:22:00","slug":"1102","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/other\/1102.html","title":{"rendered":"PHP\u548cPython\/Ruby\u7684\u8fd0\u884c\u673a\u5236\u7684\u672c\u8d28\u533a\u522b"},"content":{"rendered":"
\u521a\u63a5\u89e6CakePHP\u662f\u521a\u8fdb\u516c\u53f8\u7684\u65f6\u5019,\u521a\u8fdb\u6765\u63a5\u624b\u516c\u53f8\u9879\u76ee,\u4e5f\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6CakePHP,\u5f00\u59cb\u611f\u89c9"\u5f88\u8fc7\u9690",\u4e5f\u786e\u5b9e\u611f\u53d7\u5230\u4e86Rails\u7684\u529b\u91cf,\u4f46\u968f\u7740\u5bf9\u9879\u76ee\u7684\u6df1\u5165\u7814\u7a76,\u8d28\u7591\u4e5f\u5f00\u59cb\u8d8a\u6765\u8d8a\u5f3a\u70c8\uff0cCakePHP\u7684\u8bdf\u75c5\u4e5f\u8d8a\u6765\u8d8a\u660e\u663e\u3002\u4e5f\u786e\u5b9e\u4e00\u4e2a\u7a0d\u5927\u4e00\u70b9\u7684\u9879\u76ee\u5982\u679c\u7528\u4e00\u4e2a\u901a\u7528\u6846\u67b6\u7684\u8bdd\u96be\u514d\u4f1a\u51fa\u73b0\u987e\u6b64\u5931\u5f7c\u7684\u95ee\u9898\uff0c\u524d\u6bb5\u65f6\u95f4\u63a5\u89e6\u4e86\u53e6\u5916\u4e00\u4e2a\u6846\u67b6DooPHP\uff0c\u611f\u89c9\u8fd9\u4e2a\u6846\u67b6\u7684\u8bbe\u8ba1\u7406\u5ff5\u6709\u5f88\u591a\u53ef\u4ee5\u501f\u7b7e\u7684\u5730\u65b9\u3002\u56e0\u4e3a\u8fd9\u6bb5\u65f6\u95f4\u7cbe\u529b\u6709\u9650\uff0c\u60f3\u5c3d\u5feb\u628aPython\u62ff\u4e0b\u6765\uff0c\u7b49\u6709\u65f6\u95f4\u4e86\u518d\u53bb\u5199\u4e9bDooPHP\u7684\u4e1c\u897f\u5427\u3002<\/p>\n
PHP\u548cPython\/Ruby\u7684\u8fd0\u884c\u673a\u5236\u6709\u4e00\u4e2a\u672c\u8d28\u533a\u522b\uff1aPHP\u662f\u6bcf\u6b21HTTP\u8bf7\u6c42\u8fc7\u6765\u4ee5\u540e\uff0c\u521d\u59cb\u5316\u5168\u90e8\u8d44\u6e90\uff08\u4f8b\u5982\u521b\u5efa\u6570\u636e\u5e93\u94fe\u63a5\u3001\u52a0\u8f7d\u7cfb\u7edf\u7c7b\u5e93\uff0c\u521b\u5efa\u7f13\u5b58\u7b49\u7b49\uff09\uff0c\u5904\u7406\u5b8c\u6bd5\uff0c\u91ca\u653e\u5168\u90e8\u8d44\u6e90\uff0c\u8fd9\u4e0d\u50cfPython\/Ruby\u4e4b\u7c7b\u5e26\u6709GC\u7684\u811a\u672c\u8bed\u8a00\uff0cPython\/Ruby\u662f\u521d\u6b21\u542f\u52a8\u7684\u65f6\u5019\u521d\u59cb\u5316\u8d44\u6e90\uff0c\u968f\u540e\u7684\u8bf7\u6c42\u5c31\u4e0d\u5fc5\u518d\u6b21\u521d\u59cb\u5316\u8d44\u6e90\u4e86\u3002<\/p>\n
\u8fd9\u79cd\u673a\u5236\u7684\u5dee\u5f02\u5e26\u6765\u7684\u533a\u522b\u5c31\u662f\uff1a<\/p>\n
1\u3001PHP\u6781\u96be\u51fa\u73b0\u4e25\u91cd\u7684\u5185\u5b58\u6cc4\u9732\u95ee\u9898\uff0c\u968f\u4fbf\u4f60\u4ee3\u7801\u5199\u7684\u591a\u70c2\uff0c\u53cd\u6b63\u6bcf\u4e2a\u8bf7\u6c42\u4e00\u6267\u884c\u5b8c\u6bd5\uff0c\u6240\u6709\u8d44\u6e90\u7edf\u7edf\u91ca\u653e\u5149\u3002\u800cPython\/Ruby\u5219\u9700\u8981\u4f9d\u8d56GC\u6765\u56de\u6536\u5185\u5b58\uff0c\u56e0\u6b64\u7a0d\u6709\u4e0d\u614e\uff0c\u8fd8\u662f\u4f1a\u51fa\u73b0GC\u65e0\u6cd5\u91ca\u653e\u7684\u5185\u5b58\u6cc4\u9732\u95ee\u9898\u3002<\/p>\n
2\u3001PHP\u6bcf\u6b21\u8bf7\u6c42\u90fd\u8981\u521d\u59cb\u5316\u8d44\u6e90\uff0c\u8fd9\u4e2a\u5f00\u9500\u975e\u5e38\u5927\u3002\u6240\u4ee5\u5c3d\u7ba1PHP\u89e3\u6790\u5668\u672c\u8eab\u7684\u8fd0\u884c\u901f\u5ea6\u662f\u6781\u5feb\u7684\uff0c\u4f46\u662f\u4e00\u65e6\u4f7f\u7528\u590d\u6742\u7684PHP\u6846\u67b6\uff0c\u90a3\u4e48\u7531\u4e8e\u9700\u8981\u6bcf\u6b21\u8bf7\u6c42\u7684\u65f6\u5019\u521d\u59cb\u5316\u6574\u4e2a\u6846\u67b6\uff0c\u6027\u80fd\u7684\u4e0b\u964d\u975e\u5e38\u5389\u5bb3\uff0c\u4f60\u7528\u4e00\u4e2a\u5f88\u590d\u6742\u7684PHP\u6846\u67b6\u7684\u7ed3\u679c\u5c31\u662f\u6574\u4f53\u6027\u80fd\u88abRuby\u8fdc\u8fdc\u7529\u5f00\u3002\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48PHP\u793e\u533a\u8fd9\u4e48\u591a\u5e74\u6765\uff0c\u5e76\u4e0d\u600e\u4e48\u503e\u5411\u4e8e\u4f7f\u7528\u6846\u67b6\u7684\u539f\u56e0\u4e4b\u4e00\u3002<\/p>\n
3\u3001\u7531\u4e8ePHP\u8fd9\u79cd\u6bcf\u8bf7\u6c42\u521d\u59cb\u5316\u8d44\u6e90\u7684\u673a\u5236\uff0c\u4e5f\u9020\u6210\u4e86PHP\u6dfb\u52a0\u8de8\u8bf7\u6c42\u7684\u9ad8\u7ea7\u7279\u6027\u76f8\u5f53\u56f0\u96be\uff0c\u8fd9\u662fPHP\u672c\u8eab\u4e00\u4e2a\u5f88\u5927\u7684\u9650\u5236\uff0c\u4f46\u662f\u53cd\u8fc7\u6765\u8bf4\uff0c\u6b63\u662f\u8fd9\u79cd\u9650\u5236\u4f7f\u5f97PHP\u59cb\u7ec8\u4fdd\u6301\u5728\u4e00\u4e2a\u6bd4\u8f83\u7b80\u5355\u7684web\u8bed\u8a00\u4e0a\u9762\uff0c\u800c\u6b63\u662f\u8fd9\u4e00\u70b9\u624d\u662fPHP\u5f97\u4ee5\u6210\u4e3a\u4e92\u8054\u7f51\u7b2c\u4e00Web\u7f16\u7a0b\u8bed\u8a00\u7684\u539f\u56e0\uff0c\u56e0\u6b64\u4e5f\u672a\u5fc5\u5c31\u4e0d\u597d\u3002<\/p>\n
\u603b\u4e4b\uff0cPHP\u548cRuby\u7684\u5dee\u5f02\u8fd8\u662f\u5f88\u5927\u7684\uff0c\u4e0d\u9002\u5408\u653e\u5728\u4e00\u8d77\u6bd4\u8f83\uff0c\u5176\u5b9e\u5e94\u8be5\u6bd4\u8f83\u7684\u662fRuby\u548cPython\u624d\u5bf9\u3002<\/p>\n
\u6240\u4ee5\u6211\u89c9\u5f97Rails\u8fd9\u79cd\u6846\u67b6\u6027\u505a\u6cd5\u88abPHP\u8ddf\u98ce\u4ee5\u540e\uff0c\u5176\u5b9e\u662f\u628aPHP\u5e26\u4e0a\u4e86\u90aa\u8def\uff0c\u6240\u4ee5\u4e0d\u5982\u8bf4\u662fRails\u5728\u8bef\u5bfcPHP\u7684\u53d1\u5c55\u3002\u987a\u4fbf\u591a\u8bf4\u4e00\u53e5\uff1aDHH\u5728\u7f16\u5199basecamp\u4e4b\u524d\uff0c\u4e00\u76f4\u662f\u7528PHP\u7684\uff0c\u5e76\u4e14\u81ea\u5df1\u8fd8\u5199\u4e86\u4e00\u4e2aPHP\u7684\u5feb\u901f\u5f00\u53d1\u6846\u67b6\uff0c\u4ed6\u6539\u7528ruby\u4ee5\u540e\uff0c\u628a\u5f53\u521d\u81ea\u5df1\u5199\u7684PHP\u6846\u67b6\u4e5f\u79fb\u690d\u8fc7\u6765\u4e86\uff0c\u8fd9\u4e2a\u6846\u67b6\u5b9e\u9645\u4e0a\u662fRails\u6700\u521d\u7684\u539f\u578b\u3002\u90a3\u4e48\u4e3a\u4ec0\u4e48DHH\u5f53\u521d\u4e0d\u76f4\u63a5\u57fa\u4e8ePHP\u505aRails\u5462?\u975e\u8981\u6539\u7528ruby\u4ee5\u540e\uff0c\u624d\u53d1\u8868rails\u5462\uff1f\u4f60\u770b\u770bPHP\u8fd9\u79cd\u8fd0\u884c\u673a\u5236\u5c31\u77e5\u9053\u4e86\uff0cPHP\u505a\u590d\u6742\u7684web\u5f00\u53d1\u6846\u67b6\u5e76\u4e0d\u662f\u4e00\u6761\u5149\u660e\u7684\u9053\u8def\u3002<\/p>\n
\u5f15\u7528\u53c2\u8003\uff1ahttp:\/\/hanssonlan.javaeye.com\/blog\/403496<\/p>\n","protected":false},"excerpt":{"rendered":"
\u521a\u63a5\u89e6CakePHP\u662f\u521a\u8fdb\u516c\u53f8\u7684\u65f6\u5019,\u521a\u8fdb\u6765\u63a5\u624b\u516c\u53f8\u9879\u76ee,\u4e5f\u662f\u7b2c\u4e00\u6b21\u63a5\u89e6CakePHP,\u5f00\u59cb\u611f\u89c9"\u5f88\u8fc7\u9690",\u4e5f\u786e\u5b9e\u611f\u53d7\u5230\u4e86Rails\u7684\u529b\u91cf,\u4f46\u968f\u7740\u5bf9\u9879\u76ee\u7684\u6df1\u5165\u7814\u7a76,\u8d28\u7591\u4e5f\u5f00\u59cb\u8d8a\u6765\u8d8a\u5f3a\u70c8\uff0cCakePHP\u7684\u8bdf\u75c5\u4e5f\u8d8a\u6765\u8d8a\u660e\u663e\u3002\u4e5f\u786e\u5b9e\u4e00\u4e2a\u7a0d\u5927\u4e00\u70b9\u7684\u9879\u76ee\u5982\u679c\u7528\u4e00\u4e2a\u901a\u7528\u6846\u67b6\u7684\u8bdd\u96be\u514d\u4f1a\u51fa\u73b0\u987e\u6b64\u5931\u5f7c\u7684\u95ee\u9898\uff0c\u524d\u6bb5\u65f6\u95f4\u63a5\u89e6\u4e86\u53e6\u5916\u4e00\u4e2a\u6846\u67b6DooPHP\uff0c\u611f\u89c9\u8fd9\u4e2a\u6846\u67b6\u7684\u8bbe\u8ba1\u7406\u5ff5\u6709\u5f88\u591a\u53ef\u4ee5\u501f\u7b7e\u7684\u5730\u65b9\u3002\u56e0\u4e3a\u8fd9\u6bb5\u65f6\u95f4\u7cbe\u529b\u6709\u9650\uff0c\u60f3\u5c3d\u5feb\u628aPython\u62ff\u4e0b\u6765\uff0c\u7b49\u6709\u65f6\u95f4\u4e86\u518d\u53bb\u5199\u4e9bDooPHP\u7684\u4e1c\u897f\u5427\u3002<\/p>\n
<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1102"}],"collection":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/comments?post=1102"}],"version-history":[{"count":0,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1102\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/media?parent=1102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/categories?post=1102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/tags?post=1102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}