{"id":10,"date":"2009-08-27T10:35:25","date_gmt":"2009-08-27T01:35:25","guid":{"rendered":"https:\/\/memo.cute.bz\/cakephp\/?p=10"},"modified":"2010-02-16T09:41:36","modified_gmt":"2010-02-16T00:41:36","slug":"%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/memo.cute.bz\/cakephp\/?p=10","title":{"rendered":"\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3002<\/p>\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\u65b9\u6cd5\u306f\u4e0b\u8a18\u3092\u53c2\u7167\u3002<br \/>\n<a href=\"https:\/\/memo.cute.bz\/cakephp\/?p=1\" class=\"note\">\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; CakePHP Tips<\/a><\/p>\n<h3>\u57fa\u672c\u60c5\u5831<\/h3>\n<p>\u52d5\u4f5c\u74b0\u5883\u306f\u4e0b\u8a18\u3002<br \/>\n\u4e3b\u306b XREA \u3068 CORESERVER \u3092\u4f7f\u7528\u3002<\/p>\n<p>CakePHP \uff1a 1.2\u7cfb\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f 1.2.4\uff09<br \/>\nPHP \uff1a 5\u7cfb<br \/>\nMySQL \uff1a 5.1\u7cfb<br \/>\nSQLite \uff1a \u8a66\u3057\u305f\u3044\u3002<\/p>\n<p>\u203b XREA \u3068 CORESERVER \u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u3092\u53c2\u7167<br \/>\n<a href=\"http:\/\/www.value-domain.com\/svip.php?ref=oiu\" class=\"note\">XREA \u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u60c5\u5831<\/a><br \/>\n<a href=\"http:\/\/www.value-domain.com\/coreip.php?ref=oiu\" class=\"note\">CORESERVER \u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u60c5\u5831<\/a><\/p>\n<h3>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p>\u4e0b\u8a18\u304b\u3089\u6700\u65b0\u7248\u3092\u53d6\u5f97\u3059\u308b\u3002<br \/>\n<a href=\"http:\/\/cakeforge.org\/frs\/?group_id=23\" class=\"dl\">CakeForge: CakePHP: Project Filelist<\/a><\/p>\n<p><!--more--><\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u57fa\u672c<\/h3>\n<p>\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u306f\u4e0b\u8a18\u3092\u53c2\u7167\u3002<br \/>\n<a href=\"http:\/\/book.cakephp.org\/ja\/\" class=\"note\">\u30de\u30cb\u30e5\u30a2\u30eb :: 1.2 Collection :: The Cookbook<\/a><br \/>\n<a href=\"http:\/\/book.cakephp.org\/ja\/view\/32\/%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\" class=\"note\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb :: CakePHP\u306b\u3088\u308b\u958b\u767a :: \u30de\u30cb\u30e5\u30a2\u30eb :: 1.2 Collection :: The Cookbook<\/a><\/p>\n<h3>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210<\/h3>\n<pre>\r\n\/virtual\/\u30a2\u30ab\u30a6\u30f3\u30c8\r\n \uff0b \/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d \u2190 \uff08\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7f6e\u304f\uff09\r\n     \uff0b CakePHP \u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u7fa4\r\n \uff0b \/lib \u2190 \uff08\u30e9\u30a4\u30d6\u30e9\u30ea\u7f6e\u5834\uff09\r\n     \uff0b \/cake \u2190 \uff08CakePHP \u306e\u30b3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\r\n     \uff0b \/vendors \u2190 \uff08\u305d\u306e\u4ed6\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\r\n \uff0b \/public_html \u2190 \uff08\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\uff09\r\n     \uff0b example.domain.com -> \/virtual\/\u30a2\u30ab\u30a6\u30f3\u30c8\/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\/webroot \u2190 \uff08\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\uff09\r\n<\/pre>\n<p>\u203b\u57fa\u672c\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u69cb\u9020\u306f\u4e0b\u8a18\u3092\u53c2\u7167<br \/>\n<a href=\"http:\/\/book.cakephp.org\/ja\/view\/19\/CakePHP%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E6%A7%8B%E9%80%A0\" class=\"note\">CakePHP\u306e\u30d5\u30a1\u30a4\u30eb\u69cb\u9020 :: CakePHP\u306e\u57fa\u672c\u539f\u5247 :: \u30de\u30cb\u30e5\u30a2\u30eb :: 1.2 Collection :: The Cookbook<\/a><\/p>\n<h3>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u751f\u6210<\/h3>\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3059\u308b\u3002<br \/>\n\u203b\/virtual\/\u30a2\u30ab\u30a6\u30f3\u30c8\/lib\/cake\/console\/ \u3078\u306e PATH \u306f\u901a\u3063\u3066\u3044\u308b\u3082\u306e\u3068\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd ~\/app\/\r\ncake bake project \u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d \r\n<\/pre>\n<p>\u5b9f\u884c\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001Enter \u3067\u9032\u3080\u3068\u3001~\/app\/ \u914d\u4e0b\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u751f\u6210\u3055\u308c\u308b\u3002<\/p>\n<h4>\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u4f5c\u6210<\/h4>\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u914d\u4e0b\u304b\u3089 \/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\/webroot \u3078\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nln -s \/virtual\/\u30a2\u30ab\u30a6\u30f3\u30c8\/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\/webroot example.domain.com\r\n<\/pre>\n<p>\u203b\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001public_html \u304c\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af<\/p>\n<h4>\u30d1\u30fc\u30df\u30b7\u30e7\u30f3\u306e\u5909\u66f4<\/h4>\n<p>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u751f\u6210\u6642\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u5909\u66f4\u4e0d\u8981\u3002<\/p>\n<h3>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4fee\u6b63<\/h3>\n<p>\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u4e0b\u8a18\u306e\u30bd\u30fc\u30b9\u3092\u4fee\u6b63\u3059\u308b\u304c\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u305f\u969b\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u4fee\u6b63\u306e\u5fc5\u8981\u306a\u3082\u306e\u306f\u306a\u3044\u3002<\/p>\n<h4>\/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\/webroot\/index.php<\/h4>\n<p>CAKE_CORE_INCLUDE_PATH \uff1a\u5909\u66f4\u6e08\u307f\u306e\u305f\u3081\u4e0d\u8981\u3002<\/p>\n<h4>\/app\/\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\/config\/core.php<\/h4>\n<p>Security.salt \uff1a\u5909\u66f4\u6e08\u307f\u306e\u305f\u3081\u4e0d\u8981\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u3001\u74b0\u5883\u8a2d\u5b9a\u5909\u6570\u306f\u5404\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3002<br \/>\n\u203bCakePHP\u30b3\u30a2\u306e\u74b0\u5883\u8a2d\u5b9a\u5909\u6570\u3092\u53c2\u7167<br \/>\n<a href=\"http:\/\/book.cakephp.org\/ja\/view\/42\/configuration\" class=\"note\">Configuration\u30af\u30e9\u30b9 :: \u74b0\u5883\u8a2d\u5b9a :: CakePHP\u306b\u3088\u308b\u958b\u767a :: \u30de\u30cb\u30e5\u30a2\u30eb :: 1.2 Collection :: The Cookbook<\/a><\/p>\n<h3>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u8a2d\u5b9a<\/h3>\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncake bake -app \u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d \r\n<\/pre>\n<p>\u5404\u8a2d\u5b9a\u5024\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<ul>\n<li>Name : [default] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u540d\u3002\u57fa\u672c\u7684\u306b\u306f default \u3067\u554f\u984c\u306a\u3044\u3002<\/li>\n<li>Driver : [mysql] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7a2e\u985e\u3002MySQL \u306a\u3089\u305d\u306e\u307e\u307e Enter\u3002<\/li>\n<li>Persistent Connection? (y\/n) : [n] &gt; \u63a5\u7d9a\u3092\u7dad\u6301\u3059\u308b\u304b\uff1f\u57fa\u672c\u7684\u306b\u306f\u3001\u305d\u306e\u90fd\u5ea6\u63a5\u7d9a\uff08n\uff09\u3067\u554f\u984c\u306a\u3044\u3002<\/li>\n<li>Databese Host : [localhost] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u306e\u30db\u30b9\u30c8\u540d\uff08\u30a2\u30c9\u30ec\u30b9\uff09\u3002\u57fa\u672c\u7684\u306b\u306f localhost \u3067\u554f\u984c\u306a\u3044\u3002<\/li>\n<li>Port? : [n] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3002\u6a19\u6e96\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u8a2d\u5b9a\u4e0d\u8981\u3002<\/li>\n<li>User : [root] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u30e6\u30fc\u30b6\u540d\u3002<\/li>\n<li>Password : &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3002<\/li>\n<li>Database Name : [cake] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/li>\n<li>Table Prefix? : [n] &gt; \u30c6\u30fc\u30d6\u30eb\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3002\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u8a2d\u5b9a\u4e0d\u8981\u3002<\/li>\n<li>Table encoding? : [n] &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u3002\u57fa\u672c\u7684\u306b\u306f utf8 \u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n<\/ul>\n<h3>\u30b5\u30a4\u30c8\u3078\u30a2\u30af\u30bb\u30b9<\/h3>\n<p>\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3067\u304d\u3066\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u80cc\u666f\u304c\u8d64\u3084\u9ec4\u8272\u3067\u306a\u3051\u308c\u3070\u554f\u984c\u306a\u3057\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3002 \u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\u65b9\u6cd5\u306f\u4e0b\u8a18\u3092\u53c2\u7167\u3002 \u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; CakePHP Tips \u57fa\u672c\u60c5\u5831 \u52d5\u4f5c\u74b0\u5883\u306f\u4e0b\u8a18\u3002 \u4e3b\u306b XREA \u3068 CORESE [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}