{"id":920,"date":"2010-05-04T00:36:36","date_gmt":"2010-05-03T15:36:36","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=920"},"modified":"2010-05-04T00:36:36","modified_gmt":"2010-05-03T15:36:36","slug":"sfapply","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2010\/05\/04\/sfapply\/","title":{"rendered":"sfDoctrineApplyPlugin\u305d\u306e2"},"content":{"rendered":"<p>sfDoctrineApplyPlugin\u3092\u52d5\u304b\u3059\u307e\u3067\u306b\u7d50\u69cb\u82e6\u52b4\u3057\u305f\u3002\u53c2\u8003\u306b\u3057\u305f\u60c5\u5831\u306f\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e2\u3064\u3002<\/p>\n<ol>\n<li>\u516c\u5f0f\u306eREADME<\/li>\n<li>\u3053\u306e<a target=\"_blank\" href=\"http:\/\/www.devcomments.com\/sfDoctrineApplyPlugin-Undocumented-steps-to-make-it-work-and-to114014.htm\">\u30da\u30fc\u30b8<\/a>\uff08\u82f1\u8a9e\uff09\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0b\u3001\u81ea\u5206\u304c\u3084\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304f\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u4f9d\u5b58\u306e\u70b9\u3082\u7d50\u69cb\u3042\u308a\u305d\u3046\u306a\u306e\u3067\u8981\u6ce8\u610f\u3002<\/p>\n<p>\u25a0\u307e\u305a\u306f\u74b0\u5883<\/p>\n<ul>\n<li>symfony 1.4.3<\/li>\n<li>sfDoctrineApplyPlugin 1.1.1<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>\u25a0\u30c6\u30fc\u30d6\u30eb\u30ec\u30a4\u30a2\u30a6\u30c8<\/p>\n<p>&nbsp;2.\u306e\u30da\u30fc\u30b8\u306b\u306fREADME\u901a\u308a\u3060\u3068\u4e0a\u624b\u304f\u884c\u304b\u306a\u3044\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001\u7d50\u8ad6\u304b\u3089\u3059\u308b\u3068\u305d\u306e\u307e\u307e\u3067\u554f\u984c\u306a\u304b\u3063\u305f\u3002\u5ff5\u306e\u305f\u3081\u3001\u4ee5\u4e0b\u306bschema.yml\u3092\u629c\u7c8b\u3057\u3066\u8a18\u8f09\u3002<\/p>\n<pre class=\"code; brush: plain\">\nsfGuardUserProfile:\ncolumns:\nid:        { type: integer(4), primary: true, autoincrement: true }\nuser_id:   { type: integer(4), notnull: true }\nfullname:  { type: string(80) }\nemail:     { type: string(80) }\nvalidate:  { type: string(17)  }\nrelations:\nUser:\nclass: sfGuardUser\nlocal: user_id\nforeign: id\ntype: one\nforeignType: one\nforeignAlias: Profile\nonDelete: CASCADE<\/pre>\n<p>fullname\u3067\u4e00\u3064\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3063\u3066\u8a00\u3046\u306e\u306f\u30bb\u30f3\u30b9\u306a\u3055\u904e\u304e\u3063\u3066\u3064\u3063\u3053\u307f\u306f2.\u306e\u30da\u30fc\u30b8\u306b\u3082\u6ca2\u5c71\u5165\u3063\u3066\u308b\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u306f\u4eca\u5f8c\u306e\u8ab2\u984c\u306b\u6b8b\u3057\u3066\u304a\u3044\u3066\u6b21\u306b\u9032\u3080\u3002<\/p>\n<p>\u25a0Zend Framework\u3092\u4f7f\u308f\u306a\u3044\u3088\u3046\u306b\u30bd\u30fc\u30b9\u3092\u4fee\u6b63<\/p>\n<p>&nbsp;\u57fa\u672c\u306f2\u306e\u30da\u30fc\u30b8\u306e\u300c3. Getting rid of Zend_Mailer\u300d\u306e\u624b\u9806\uff0b\u305d\u3053\u3088\u308a\u3082\u3046\u5c11\u3057\u4e0b\u306b\u3042\u308b\u300ccreateGuid()\u300d\u3092\u30b3\u30d4\u30da\u3059\u308b\u3060\u3051\u3002<\/p>\n<p>\u82f1\u8a9e\u304c\u5168\u304f\u30c0\u30e1\u306a\u4eba\u5411\u3051\u306b\u4e00\u5fdc\u66f8\u304f\u3068\u3001apps\/frontend\/modules\/sfApply\/actions\/action.class.php\u3067sfApplyActions\u3092\u5b9a\u7fa9\uff08BasesfApplyActions\u3092\u7d99\u627f\uff09\u3059\u308b\u3002\u3067\u3001\u305d\u306e\u4e2d\u306b\u4ee5\u4e0b\u306e3\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u5f62\u306b\u306a\u308b\u3002<\/p>\n<ul>\n<li>executeApply<\/li>\n<li>mail<\/li>\n<li>createGuid<\/li>\n<\/ul>\n<p>\u25a0\u30e1\u30fc\u30eb\u306e\u8a2d\u5b9a\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\uff09<\/p>\n<p>factories.yml\u3088\u308a\u629c\u7c8b\u3002\u8a2d\u5b9a\u306e\u4ed5\u65b9\u306f\u3053\u306e<a href=\"http:\/\/www.symfony-project.org\/jobeet\/1_4\/Doctrine\/en\/16\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\u304c\u53c2\u8003\u306b\u306a\u3063\u305f\u3002<\/p>\n<pre class=\"code; brush: plain\">\nmailer:\nclass: sfMailer\nparam:\nlogging:           %SF_LOGGING_ENABLED%\ncharset:           %SF_CHARSET%\ndelivery_strategy: realtime\ntransport:\nclass: Swift_SmtpTransport\nparam:\nhost:       192.168.1.2\nport:       25\n<\/pre>\n<p>\u25a0\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u6709\u52b9\u5316\u3001routing.yml\u3078\u306e\u8ffd\u8a18<\/p>\n<p><code>\u3053\u306e\u8fba\u306fREADME\u901a\u308a\u3002<\/code><\/p>\n<p><code>settings.yml\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3002<\/code><\/p>\n<pre class=\"code, brush: plain\">\nenabled_modules:    [default, sfGuardAuth, sfApply]<\/pre>\n<p>routing.yml\u3082README\u901a\u308a\u3002<\/p>\n<p>\u25a0\u6a29\u9650\u306e\u8a2d\u5b9a<\/p>\n<p>\u4eca\u307e\u3067\u306e\u3067\u5927\u4f53\u52d5\u304d\u305d\u3046\u306a\u6c17\u304c\u3059\u308b\u3093\u3060\u3051\u3069\u3001sfApply\/apply\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u623b\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u308b\u305f\u3081\u306e\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u98db\u3070\u3055\u308c\u308b\u306a\u3093\u3066\u304a\u304b\u3057\u3044\u3002\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u306e\u304c\u3002<\/p>\n<p>5 03 18:27:33 symfony [info] {sfBasicSecurityFilter} Action &quot;sfApply\/apply&quot; requires authentication, forwarding to &quot;sfGuardAuth\/signin&quot;<\/p>\n<p>\u3046\u30fc\u3093\u3001\u3053\u308c\u306b\u95a2\u3057\u3066\u306f\u53c2\u8003\u306b\u3057\u305f2\u3064\u306e\u30da\u30fc\u30b8\u3067\u306f\u4e00\u8a00\u3082\u89e6\u308c\u3089\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3082\u3057\u304b\u3057\u305f\u3089\u81ea\u5206\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3069\u3063\u304b\u304a\u304b\u3057\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305asecurity.yml\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u305f\u3002<\/p>\n<pre class=\"code, brush: plain\">\napply:\nis_secure: false\nconfirm:\nis_secure: false\nall:\nis_secure: true\n<\/pre>\n<p>\u4ee5\u4e0a\u3067\u3068\u308a\u3042\u3048\u305a\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sfDoctrineApplyPlugin\u3092\u52d5\u304b\u3059\u307e\u3067\u306b\u7d50\u69cb\u82e6\u52b4\u3057\u305f\u3002\u53c2\u8003\u306b\u3057\u305f\u60c5\u5831\u306f\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e2\u3064\u3002 \u516c\u5f0f\u306eREADME \u3053\u306e\u30da\u30fc\u30b8\uff08\u82f1\u8a9e\uff09\u3002 \u4ee5\u4e0b\u3001\u81ea\u5206\u304c\u3084\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304f\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u4f9d\u5b58\u306e\u70b9\u3082\u7d50\u69cb\u3042\u308a\u305d\u3046\u306a\u306e\u3067\u8981&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[401],"tags":[681,442,700],"class_list":["post-920","post","type-post","status-publish","format-standard","hentry","category-php","tag-sfdoctrineapplyplugin","tag-symfony","tag-zend-framework"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=920"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/920\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}