{"url":"https://ytrewq.hatenablog.com/entry/2017/05/05/132220","categories":["CakePHP"],"author_name":"namaza","version":"1.0","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://ytrewq.hatenablog.com/","title":"Table\u3068Entity\u304c\u5225\u308c\u3066\u3044\u308b\u7406\u7531","published":"2017-05-05 13:22:20","provider_name":"Hatena Blog","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fytrewq.hatenablog.com%2Fentry%2F2017%2F05%2F05%2F132220\" title=\"Table\u3068Entity\u304c\u5225\u308c\u3066\u3044\u308b\u7406\u7531 - \u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u96d1\u8a18","author_url":"https://blog.hatena.ne.jp/namaza/","height":"190","description":"\u30d6\u30ed\u30b0\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb - \u30d1\u30fc\u30c82 CakePHP \u306e\u30e2\u30c7\u30eb\u30af\u30e9\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001 Table \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068 Entity \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5206\u96e2\u3057\u3066 \u5b58\u5728\u3057\u307e\u3059\u3002 \u306a\u305c\u308f\u3056\u308f\u3056\u5206\u3051\u305f\u306e\u304b\u3068\u30b0\u30b0\u308b\u3068 Why did cakephp v3 split the Model into Table and Entity? What are the advantages? - Quora \u79c1\u305f\u3061\u306f\"ORM\"\u3092\u6539\u826f\u3057\u305f\u3044\u3068\u601d\u3063\u3066\u5206\u5272\u3057\u307e\u3057\u305f\u3002 \u4ee5\u524d\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u307e\u3057\u305f\u3002 #$user\u306b\u4e00\u884c\u5165\u308c\u3066\u3044\u308b$ user = $ this-> User-> find\uff08 'first'\uff09;#\u753b\u9762\u306b\u51fa\u529bec\u2026"}