{"id":89,"date":"2008-01-06T15:08:54","date_gmt":"2008-01-06T06:08:54","guid":{"rendered":"http:\/\/akimoto.jp\/blog\/2008\/01\/06\/symfony%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7yahoo-ui%e3%81%ae%e7%b6%ba%e9%ba%97%e3%81%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e4%bd%bf%e3%81%86\/"},"modified":"2008-06-24T23:38:03","modified_gmt":"2008-06-24T14:38:03","slug":"symfony%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7yahoo-ui%e3%81%ae%e7%b6%ba%e9%ba%97%e3%81%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/akimoto.jp\/blog\/2008\/01\/06\/symfony%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7yahoo-ui%e3%81%ae%e7%b6%ba%e9%ba%97%e3%81%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e4%bd%bf%e3%81%86\/","title":{"rendered":"symfony\u306e\u30d5\u30a9\u30fc\u30e0\u3067Yahoo UI\u306e\u7dba\u9e97\u306a\u30dc\u30bf\u30f3\u3092\u4f7f\u3046"},"content":{"rendered":"<p>\u72b6\u6cc1<\/p>\n<ul>\n<li>\u30d5\u30a9\u30fc\u30e0\u306e\u30dc\u30bf\u30f3\u3092\u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3058\u3083\u306a\u304f\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u826f\u3044\u30c7\u30b6\u30a4\u30f3\u306b\u3057\u305f\u3044<\/li>\n<li><a href=\"http:\/\/developer.yahoo.com\/yui\/button\/\">Yahoo UI\u306e\u30dc\u30bf\u30f3<\/a>\u306f\u3001CSS\u3067\u30ad\u30ec\u30a4\u306b\u30c7\u30b6\u30a4\u30f3\u3055\u308c\u3066\u3044\u308b\u3002CSS\u3084\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3082yahoo.com\u306e\u3092\u4f7f\u3048\u308b\u306e\u3067\u30b5\u30fc\u30d0\u306b\u3082\u3084\u3055\u3057\u3044<\/li>\n<li>symfony\u3067\u4f5c\u3063\u305f\u30d5\u30a9\u30fc\u30e0\u304b\u3089YUI button\u3092\u4f7f\u3044\u305f\u3044<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.symfony-project.org\/book\/1_0\/09-Links-and-the-Routing-System#Hyperlinks,%20Buttons,%20and%20Forms\">symfony\u3067\u306e\u30d5\u30a9\u30fc\u30e0\u306esubmit<\/a>\u306b\u3064\u3044\u3066\u306f\u3001link_to()\u3001button_to()\u3001submit_image_tag()\u306e3\u3064\u304cFormHelper\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>submit_tag() \u306f\u3001\u30d6\u30e9\u30a6\u30b6\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30dc\u30bf\u30f3\u3092\u66f8\u304f\u306e\u3067\u30d5\u30a9\u30fc\u30e0\u3067\u305d\u306e\u307e\u307e\u52d5\u304f<\/li>\n<li>button_to() type=&#8221;button&#8221;\u306f\u4f5c\u308c\u308b\u3051\u3069\u3001form\u306e\u5024\u3092\u9001\u308b\u306b\u306f\u81ea\u5206\u3067javascript\u66f8\u304f\u5fc5\u8981\u3042\u308a<\/li>\n<li>submit_image_tag() \u753b\u50cf\u7528\u610f\u3059\u308c\u3070\u30ad\u30ec\u30a4\u306asubmit\u7528\u306e\u30dc\u30bf\u30f3\u304c\u4f7f\u3048\u308b<\/li>\n<\/ul>\n<p>YUI button\u306f\u3001type=&#8221;button&#8221;\u3092\u4f7f\u3046\u3053\u3068\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001type=&#8221;button&#8221;\u3067form\u306e\u30b5\u30d6\u30df\u30c3\u30c8\u3092\u3055\u305b\u308b(\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u30d5\u30a9\u30fc\u30e0\u306e\u5404\u5024\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u542b\u307e\u308c\u308b)\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30dc\u30bf\u30f3\u304c\u6240\u5c5e\u3059\u308b\u30d5\u30a9\u30fc\u30e0\u3092\u99c6\u52d5\u3059\u308b\u3088\u3046\u306aJavascript\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u304b\u3089\u3001\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001symfony+YUI\u3067\u306eCSS\u30c7\u30b6\u30a4\u30f3\u30dc\u30bf\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>HTML\u306e\u307b\u3046\u306f\u30012\u756a\u76ee\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306btype\u3092\u6e21\u3059\u3053\u3068\u3067\u3001submit_tag()\u306b\u3082type=&#8221;body&#8221;\u3092\u4e0a\u66f8\u304d\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre name=\"code\" class=\"php\">\r\n&lt;?php echo submit_tag('\u5b9f\u884c\u3059\u308b', array('type' => 'button', 'id' => 'compareButton')); ?&gt;\r\n<\/pre>\n<p>YUI button\u306eJavascript\u3067\u306e\u5b9a\u7fa9\u306e\u3068\u3053\u308d\u3067\u306f\u3001\u3053\u306e\u300c\u30d5\u30a9\u30fc\u30e0\u3092\u99c6\u52d5\u3059\u308b\u30dc\u30bf\u30f3\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre name=\"code\" class=\"javascript\">\r\n&lt;script type=\"text\/javascript\"&gt;\r\nvar oButton = new YAHOO.widget.Button(\r\n  \"compareButton\",\r\n  { \r\n    checked: false,\r\n    type: \"submit\"\r\n  }\r\n);\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>type: &#8220;submit&#8221;\u304c\u305d\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001YUI button\u306b\u5fc5\u8981\u306a\u5b9a\u7fa9\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u3093\u3089\u304b\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u3042\u3066\u308b\u3002YUI\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30b9\u30ad\u30f3\u304b\u3001\u81ea\u5206\u3067\u6539\u9020\u3057\u305f\u30b9\u30ad\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/p>\n<pre name=\"code\" class=\"html\">\r\n&lt;body class=\"yui-skin-sam\"&gt;\r\n<\/pre>\n<p>symfony\u306econfig\/view.yml\u3067\u306f\u3001\u95a2\u4fc2\u306e\u3042\u308bYUI\u306eCSS\/JS\u3092\u8aad\u307e\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre name=\"code\" class=\"css\">\r\n  stylesheets:    [main, http:\/\/yui.yahooapis.com\/2.4.1\/build\/grids\/grids-min.css, http:\/\/yui.yahooapis.com\/2.4.1\/build\/button\/assets\/skins\/sam\/button.css]\r\n\r\n  javascripts:    [http:\/\/yui.yahooapis.com\/2.4.1\/build\/yahoo-dom-event\/yahoo-dom-event.js, http:\/\/yui.yahooapis.com\/2.4.1\/build\/element\/element-beta-min.js, http:\/\/yui.yahooapis.com\/2.4.1\/build\/button\/button.js]\r\n<\/pre>\n<p>\u3053\u306e\u3078\u3093\u306f\u3001YUI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5909\u308f\u3063\u305f\u308a\u3001\u5727\u7e2e\u7248\u3092\u4f7f\u3046\u304b\u3068\u304b\u3001yahoo.com\u306e\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u304b\u3001\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u304b\u3068\u304b\u3067\u5909\u308f\u3063\u3066\u304f\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p><img src='https:\/\/akimoto.jp\/blog\/wp-content\/uploads\/2008\/01\/slick-button-symfony-yui.png' alt='symfony, YUI\u3067\u4f5c\u3063\u305f\u30ad\u30ec\u30a4\u76ee\u30dc\u30bf\u30f3' \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u72b6\u6cc1 \u30d5\u30a9\u30fc\u30e0\u306e\u30dc\u30bf\u30f3\u3092\u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3058\u3083\u306a\u304f\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u826f\u3044\u30c7\u30b6\u30a4\u30f3\u306b\u3057\u305f\u3044 Yahoo UI\u306e\u30dc\u30bf\u30f3\u306f\u3001CSS\u3067\u30ad\u30ec\u30a4\u306b\u30c7\u30b6\u30a4\u30f3\u3055\u308c\u3066\u3044\u308b\u3002CSS\u3084\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3082yahoo.com\u306e\u3092\u4f7f\u3048\u308b\u306e\u3067\u30b5\u30fc\u30d0\u306b\u3082\u3084\u3055 &hellip; <a href=\"https:\/\/akimoto.jp\/blog\/2008\/01\/06\/symfony%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7yahoo-ui%e3%81%ae%e7%b6%ba%e9%ba%97%e3%81%aa%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e4%bd%bf%e3%81%86\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">symfony\u306e\u30d5\u30a9\u30fc\u30e0\u3067Yahoo UI\u306e\u7dba\u9e97\u306a\u30dc\u30bf\u30f3\u3092\u4f7f\u3046<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":90,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121,472],"tags":[2012,131,140],"class_list":["post-89","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-symfony-php","tag-php","tag-symfony","tag-yui"],"_links":{"self":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":0,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/media\/90"}],"wp:attachment":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}