{"id":805,"date":"2019-05-17T09:26:10","date_gmt":"2019-05-17T00:26:10","guid":{"rendered":"https:\/\/ahnbk.com\/?p=805"},"modified":"2019-05-17T09:26:10","modified_gmt":"2019-05-17T00:26:10","slug":"blockly-%eb%b8%94%eb%9f%ad-%eb%a7%8c%eb%93%a4%ea%b8%b0-1","status":"publish","type":"post","link":"https:\/\/ahnbk.com\/?p=805","title":{"rendered":"Blockly \ube14\ub7ed \ub9cc\ub4e4\uae30 #1"},"content":{"rendered":"\n<p>Blockly\ub294 \uc0ac\uc6a9\uc790\uac00 \uc6d0\ud558\ub294 \uae30\ub2a5\uc758 \ube14\ub7ed\uc744 \uc790\uc720\ub86d\uac8c \ub9cc\ub4e4\uc218 \uc788\ub2e4. \uae30\ubcf8 \uc81c\uacf5\ub41c \ube14\ub7ed \uc678\uc5d0 \uc0ac\uc6a9\uc790\uc758 \ub85c\ubd07\uc774\ub098 \uae30\ud0c0 \uae30\ub2a5\uacfc \uc5f0\ub3d9\ud558\uae30 \uc704\ud55c \ube14\ub7ed\uc744 \uc0dd\uc131\ud558\uace0, \uc774\ub97c \ud234\ubc15\uc2a4\uc5d0 \ub123\uc5b4 \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<p>Blockly\ub294 \uc774\ub7ec\ud55c \ube14\ub7ed\ub4e4\uc744 \uc27d\uac8c \ub9cc\ub4e4\uc218 \uc788\ub3c4\ub85d \ub3c4\uad6c\ub97c \uc81c\uacf5\ud55c\ub2e4. \uc7ac\ubc0c\uac8c\ub3c4 \ube14\ub7ed\uc744 \uc0dd\uc131\ud558\ub294 \uac83\ub3c4 \ube14\ub7ed\uc73c\ub85c \ub9cc\ub4e0\ub2e4. \ubb3c\ub860 \ub098\uc911\uc5d0 \uc880 \uc775\uc219\ud574\uc9c0\ub9cc \ud14d\uc2a4\ud2b8\ub85c \ud3b8\uc9d1\ud558\ub294\uac8c \uc880\ub354 \uc26c\uc6b8 \uc218 \uc788\uc9c0\ub9cc, \uc81c\uacf5\ub418\ub294 \ub3c4\uad6c\ub97c \uc774\uc6a9\ud558\uba74 \uc0dd\uc131\ub418\ub294 \ube14\ub7ed \ubaa8\uc591\uc744 \ud655\uc778\ud558\uba74\uc11c \uc218\uc815\uc774 \uac00\ub2a5\ud558\ub2e4.<\/p>\n\n\n\n<p>\uba3c\uc800 Blockly Developer Tools\ub97c \uc0ac\uc6a9\ud574\ubcf4\uc790. \uc0ac\ud30c\ub9ac\ub098 \ud06c\ub86c \ub4f1 \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uace0 (<a rel=\"noreferrer noopener\" aria-label=\"https:\/\/blockly-demo.appspot.com\/static\/demos\/blockfactory\/index.html (opens in a new tab)\" href=\"https:\/\/blockly-demo.appspot.com\/static\/demos\/blockfactory\/index.html\" target=\"_blank\">https:\/\/blockly-demo.appspot.com\/static\/demos\/blockfactory\/index.html<\/a>)\uc73c\ub85c \uc774\ub3d9\ud55c\ub2e4.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"806\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=806\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?fit=2672%2C1520&amp;ssl=1\" data-orig-size=\"2672,1520\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-11\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?fit=1000%2C569&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?fit=525%2C299&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" width=\"525\" height=\"299\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?resize=525%2C299&#038;ssl=1\" alt=\"\" class=\"wp-image-806\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?resize=2000%2C1138&amp;ssl=1 2000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?resize=1000%2C569&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?resize=768%2C437&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?w=1050&amp;ssl=1 1050w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-11.png?w=1575&amp;ssl=1 1575w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>\uc704\uc640 \uac19\uc740 \ud654\uba74\uc774 \ub098\uc624\ub294\ub370, \uc67c\ucabd\uc740 \ube14\ub7ed\uc744 \uc0dd\uc131\ud558\uae30 \uc704\ud55c \ube14\ub7ed \ucf54\ub529 \uc601\uc5ed, \uc624\ub978\ucabd \uc0c1\ub2e8\uc5d4 \uc0dd\uc131\ub41c \ube14\ub7ed \ubaa8\uc591\uc744 \uc2e4\uc2dc\uac04\uc73c\ub85c \ud655\uc778\uc774 \uac00\ub2a5\ud558\uace0, \uc624\ub978\ucabd \uc911\uc559\uc5d4 \ucd94\ud6c4 \ucf54\ub4dc\uc5d0 \uc0bd\uc785\ud558\uae30 \uc704\ud55c JSON \ucf54\ub4dc, \uc624\ub978\ucabd \ud558\ub2e8\uc5d4 \ube14\ub7ed\uc744 \uc2e4\uc81c \ucf54\ub4dc\ub85c \uc0dd\uc131\ud558\uae30 \uc704\ud55c generator \ucf54\ub4dc\uac00 \uc0dd\uc131\ub41c\ub2e4.<\/p>\n\n\n\n<p>\uc77c\ub2e8 \ud750\ub984\uc744 \ubcf4\uae30 \uc704\ud574 \uc544\uc8fc \uac04\ub2e8\ud55c \ube14\ub7ed\uc744 \uc0dd\uc131\ud574\ubcf4\ub3c4\ub85d \ud55c\ub2e4. \uc0ac\uc6a9\uc790\uc758 \ubb38\uc790\uc5f4 \uc785\ub825\uc744 \ubc1b\uc544 console\uc5d0 \ucd9c\ub825\ud558\ub294 \ube14\ub7ed\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\ub85d \ud55c\ub2e4. \uba3c\uc800 \ube14\ub7ed\uc758 name\uc744 \uc218\uc815\ud55c\ub2e4. \uc5ec\uae30\uc120 console_print\ub85c \ud55c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"807\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=807\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-12.png?fit=596%2C414&amp;ssl=1\" data-orig-size=\"596,414\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-12\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-12.png?fit=596%2C414&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-12.png?fit=525%2C365&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-12.png?resize=306%2C213&#038;ssl=1\" alt=\"\" class=\"wp-image-807\" width=\"306\" height=\"213\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p> \ub2e4\uc74c\uc73c\ub85c \uc774 \ube14\ub7ed\uc740 \ub2e4\ub978 \ube14\ub7ed\ub4e4\uacfc \uc0c1\ud558 \uc5f0\uacb0\ud558\uc5ec \uc0ac\uc6a9 \uac00\ub2a5\ud574\uc57c \ud558\ubbc0\ub85c, connection\uc744 top+bottom connections\ub85c \ubcc0\uacbd\ud55c\ub2e4. \uc774\ub807\uac8c \ub418\uba74 \ubbf8\ub9ac\ubcf4\uae30 \ucc3d\uc758 \ube14\ub7ed \ubaa8\uc591\uc774 \ubcc0\uacbd\ub428\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"808\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=808\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-13.png?fit=738%2C394&amp;ssl=1\" data-orig-size=\"738,394\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-13\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-13.png?fit=738%2C394&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-13.png?fit=525%2C280&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-13.png?resize=295%2C157&#038;ssl=1\" alt=\"\" class=\"wp-image-808\" width=\"295\" height=\"157\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"809\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=809\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?fit=1142%2C502&amp;ssl=1\" data-orig-size=\"1142,502\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-14\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?fit=1000%2C440&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?fit=525%2C231&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?resize=378%2C166&#038;ssl=1\" alt=\"\" class=\"wp-image-809\" width=\"378\" height=\"166\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?w=1142&amp;ssl=1 1142w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?resize=1000%2C440&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?resize=768%2C338&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-14.png?w=1050&amp;ssl=1 1050w\" sizes=\"(max-width: 378px) 100vw, 378px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\ub2e4\uc74c\uc73c\ub85c \uc0ac\uc6a9\uc790\uc758 \ubb38\uc790\uc5f4\uc744 \uc785\ub825 \ubc1b\uc544\uc57c \ud55c\ub2e4. \uc67c\ucabd \ud234\ubc15\uc2a4 \ucc3d\uc5d0\uc11c Input \uce74\ud14c\uace0\ub9ac\ub0b4\uc5d0 value input \ube14\ub7ed\uc744 inputs\uc5d0 \ucd94\uac00\ud55c\ub2e4. \uc774 \uc785\ub825\uc744 \ubc1b\uc544\uc11c \ub0b4\ubd80\uc5d0\uc11c \ucc98\ub9ac\ud558\uae30 \uc704\ud55c \ubcc0\uc218\uba85\uc740 value_input \uc606\uc5d0 \uc788\ub294 NAME\uc774\ub2e4. \uc774\ub97c \ud544\uc694\uc5d0 \ub530\ub77c \uc801\uc808\ud558\uac8c \uc218\uc815\ud55c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"810\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=810\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-15.png?fit=650%2C602&amp;ssl=1\" data-orig-size=\"650,602\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-15\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-15.png?fit=650%2C602&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-15.png?fit=525%2C486&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-15.png?resize=266%2C246&#038;ssl=1\" alt=\"\" class=\"wp-image-810\" width=\"266\" height=\"246\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\uc774\uc81c \ube14\ub7ed\uc5d0 \uae30\ub2a5\uc744 \uc124\uba85\ud558\uae30 \uc704\ud55c \ud14d\uc2a4\ud2b8 \ube14\ub7ed\uc744 \ucd94\uac00\ud55c\ub2e4. (Field \uce74\ud14c\uace0\ub9ac Text \ube14\ub7ed)<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"811\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=811\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-16.png?fit=656%2C606&amp;ssl=1\" data-orig-size=\"656,606\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-16\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-16.png?fit=656%2C606&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-16.png?fit=525%2C485&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-16.png?resize=273%2C251&#038;ssl=1\" alt=\"\" class=\"wp-image-811\" width=\"273\" height=\"251\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\uc785\ub825\uc740 Text\ub9cc \ubc1b\uc544\uc57c \ud558\ubbc0\ub85c, \uc785\ub825 type\uc5d0 String \ube14\ub7ed\uc744 \ucd94\uac00\ud55c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"812\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=812\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-17.png?fit=642%2C604&amp;ssl=1\" data-orig-size=\"642,604\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-17\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-17.png?fit=642%2C604&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-17.png?fit=525%2C494&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-17.png?resize=283%2C266&#038;ssl=1\" alt=\"\" class=\"wp-image-812\" width=\"283\" height=\"266\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\ub9c8\uc9c0\ub9c9\uc73c\ub85c \ube14\ub7ed\uc758 \uc0c9\uc0c1\uacfc, \uc774 \ube14\ub7ed\uc744 \uc0ac\uc6a9\ud558\ub294\ub370 \ud544\uc694\ud55c tooltip, help url \ub4f1\uc744 \uc785\ub825\ud55c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"814\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=814\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?fit=1060%2C616&amp;ssl=1\" data-orig-size=\"1060,616\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-19\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?fit=1000%2C581&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?fit=525%2C305&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?resize=480%2C279&#038;ssl=1\" alt=\"\" class=\"wp-image-814\" width=\"480\" height=\"279\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?w=1060&amp;ssl=1 1060w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?resize=1000%2C581&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-19.png?resize=768%2C446&amp;ssl=1 768w\" sizes=\"(max-width: 480px) 100vw, 480px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\uc774\uc81c \uc0dd\uc131\ub41c \ube14\ub7ed\uc758 \ubaa8\uc591\uc744 \ud655\uc778\ud574\ubcf4\uba74,<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"815\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=815\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-20.png?fit=310%2C138&amp;ssl=1\" data-orig-size=\"310,138\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-20\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-20.png?fit=310%2C138&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-20.png?fit=310%2C138&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-20.png?resize=138%2C61&#038;ssl=1\" alt=\"\" class=\"wp-image-815\" width=\"138\" height=\"61\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\uc640 \uac19\uc774 \uac04\ub2e8\ud55c \ubaa8\uc591\uc758 \ube14\ub7ed\uc774 \uc0dd\uc131\ub418\uc5c8\ub2e4. \uc0dd\uc131\ub41c JSON \ucf54\ub4dc\ub97c \ud655\uc778\ud574\ubcf4\uba74,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"type\": \"console_print\",\n  \"message0\": \"console print %1\",\n  \"args0\": [\n    {\n      \"type\": \"input_value\",\n      \"name\": \"NAME\",\n      \"check\": \"String\"\n    }\n  ],\n  \"previousStatement\": null,\n  \"nextStatement\": null,\n  \"colour\": 330,\n  \"tooltip\": \"Block for printing the user message\",\n  \"helpUrl\": \"https:\/\/ahnbk.com\"\n}<\/code><\/pre>\n\n\n\n<p>\uadf8\ub9ac\uace0, \uc774\uc640 \uac19\uc774 \uc0dd\uc131\ub41c Generator stub\uc744 \ubcf4\uba74,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Blockly.JavaScript['console_print'] = function(block) {\n  var value_name = Blockly.JavaScript.valueToCode(block, 'NAME', Blockly.JavaScript.ORDER_ATOMIC);\n  \/\/ TODO: Assemble JavaScript into code variable.\n  var code = '...;\\n';\n  return code;\n};<\/code><\/pre>\n\n\n\n<p>\uc640 \uac19\uc774 \ub418\uc5b4 \uc788\ub2e4. \uc790 \uc774\uc81c \ube14\ub7ed\uc774 \uc0dd\uc131\ub418\uc5c8\uc73c\ubbc0\ub85c, \uc774\ub97c \uc9c0\ub09c\ubc88\uc5d0 \ub9cc\ub4e4\uc5c8\ub358 \uc608\uc81c\uc5d0 \uc0dd\uc131\ub41c \ube14\ub7ed\uc744 \ucd94\uac00\ud574\ubcf4\ub3c4\ub85d \ud55c\ub2e4. \uc608\uc81c \ub514\ub809\ud1a0\ub9ac\ub85c \uc774\ub3d9\ud558\uc5ec, my_blocks.js \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0, \ub2e4\uc74c\uacfc \uac19\uc774 \uc785\ub825\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'use strict';\n\ngoog.require('Blockly.Blocks');\ngoog.require('Blockly');\n\nBlockly.defineBlocksWithJsonArray(\n[\n    \/\/ insert blocks here\n\n]);<\/code><\/pre>\n\n\n\n<p>\uc774\uc81c  &#8220;insert blocks here \ubd80\ubd84\uc5d0 \uc704\uc5d0\uc11c \uc0dd\uc131\ub41c \ucf54\ub4dc\ub97c \ubd99\uc5ec \ub123\ub294\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'use strict';\n\ngoog.require('Blockly.Blocks');\ngoog.require('Blockly');\n\nBlockly.defineBlocksWithJsonArray(\n[\n    {\n        \"type\": \"console_print\",\n        \"message0\": \"console print %1\",\n        \"args0\": [\n          {\n            \"type\": \"input_value\",\n            \"name\": \"NAME\",\n            \"check\": \"String\"\n          }\n        ],\n        \"previousStatement\": null,\n        \"nextStatement\": null,\n        \"colour\": 330,\n        \"tooltip\": \"Block for printing the user message\",\n        \"helpUrl\": \"https:\/\/ahnbk.com\"\n      },\n]);<\/code><\/pre>\n\n\n\n<p>\uc800\uc7a5\ud55c \ub2e4\uc74c, index.html \ud30c\uc77c\uc744 \uc5f4\uace0 \uc704 \ud30c\uc77c\uc744 \ub85c\ub529\ud558\ub3c4\ub85d \ucd94\uac00\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;!-- HTML file to host Blockly in a mobile WebView. -->\n&lt;html>\n&lt;head>\n  &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">\n  &lt;style type=\"text\/css\">\n    html, body, #blocklyDiv {\n      border: 0;\n      height: 100%;\n      margin: 0;\n      padding: 0;\n      width: 100%;\n    }\n  &lt;\/style>\n  &lt;script src=\"blockly_compressed.js\">&lt;\/script>\n  &lt;script src=\"blocks_compressed.js\">&lt;\/script>\n  &lt;!-- TODO: Select msg file based on locale. -->\n  &lt;script src=\"msg\/js\/en.js\">&lt;\/script>\n  &lt;script src=\"toolbox_standard.js\">&lt;\/script>\n  &lt;script src=\"my_blocks.js\">&lt;\/script>\n&lt;\/head>\n&lt;body>\n  &lt;div id=\"blocklyDiv\">&lt;\/div>\n  &lt;script type=\"text\/javascript\">\n    var workspacePlayground = Blockly.inject('blocklyDiv', {\n          media: 'media\/',\n          toolbox: BLOCKLY_TOOLBOX_XML['standard'],\n          zoom: {controls: true}\n        });\n  &lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<p>\ubc14\ub85c \uc774\uc804 \ud3ec\uc2a4\ud305\uc5d0\uc11c \ub9cc\ub4e0 Custom \uce74\ud14c\uace0\ub9ac\uc5d0 \uc0dd\uc131\ub41c \ube14\ub7ed\uc744 \ucd94\uac00\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+ '&lt;category name=\"Custom\" colour=\"100\">'\n+   '&lt;block type=\"console_print\">'\n+   '&lt;\/block>'\n+ '&lt;\/category>'<\/code><\/pre>\n\n\n\n<p>\uc790, \uc774\uc81c \uc608\uc81c\ub97c \ub2e4\uc2dc \uc5f4\uc5b4\ubcf4\uba74,<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"817\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=817\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-21.png?fit=592%2C552&amp;ssl=1\" data-orig-size=\"592,552\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-21\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-21.png?fit=592%2C552&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-21.png?fit=525%2C490&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-21.png?resize=306%2C285&#038;ssl=1\" alt=\"\" class=\"wp-image-817\" width=\"306\" height=\"285\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>Custom \uce74\ud14c\uace0\ub9ac\uc5d0 console print \ube14\ub7ed\uc774 \ucd94\uac00\ub418\uc5b4 \uc788\uc74c\uc744 \ubcfc \uc218\uc788\ub2e4. \ub9cc\uc57d \ubb38\uc790\uc5f4 \uc785\ub825\uc5d0 default \uac12\uc744 \ub123\uc5b4 \uc8fc\uace0 \uc2f6\ub2e4\uba74, \ud234\ubc15\uc2a4\uc5d0 \ucf54\ub4dc\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc218\uc815\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+ '&lt;category name=\"Custom\" colour=\"100\">'\n+   '&lt;block type=\"console_print\">'\n+     '&lt;value name=\"NAME\">'\n+       '&lt;shadow type=\"text\">'\n+         '&lt;field name=\"TEXT\">Hello Blockly&lt;\/field>'\n+       '&lt;\/shadow>'\n+     '&lt;\/value>'\n+   '&lt;\/block>'\n+ '&lt;\/category>'<\/code><\/pre>\n\n\n\n<p>\uc774\uc81c \ub2e4\uc2dc \uc608\uc81c\ub97c \ud655\uc778\ud574\ubcf4\uba74,<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-attachment-id=\"818\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=818\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?fit=828%2C512&amp;ssl=1\" data-orig-size=\"828,512\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-22\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?fit=828%2C512&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?fit=525%2C325&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?resize=361%2C223&#038;ssl=1\" alt=\"\" class=\"wp-image-818\" width=\"361\" height=\"223\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?w=828&amp;ssl=1 828w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/05\/image-22.png?resize=768%2C475&amp;ssl=1 768w\" sizes=\"(max-width: 361px) 100vw, 361px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\uc640 \uac19\uc774 \ub418\uc5b4 \uc788\uc74c\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4. \ub2e4\uc74c\uc5d4 \uc880\ub354 \ub2e4\uc591\ud55c \ubaa8\uc591\uc758 \ube14\ub7ed\uc744 \ub9cc\ub4e4\uc5b4\ubcf4\ub85d \ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blockly\ub294 \uc0ac\uc6a9\uc790\uac00 \uc6d0\ud558\ub294 \uae30\ub2a5\uc758 \ube14\ub7ed\uc744 \uc790\uc720\ub86d\uac8c \ub9cc\ub4e4\uc218 \uc788\ub2e4. \uae30\ubcf8 \uc81c\uacf5\ub41c \ube14\ub7ed \uc678\uc5d0 \uc0ac\uc6a9\uc790\uc758 \ub85c\ubd07\uc774\ub098 \uae30\ud0c0 \uae30\ub2a5\uacfc \uc5f0\ub3d9\ud558\uae30 \uc704\ud55c \ube14\ub7ed\uc744 \uc0dd\uc131\ud558\uace0, \uc774\ub97c \ud234\ubc15\uc2a4\uc5d0 \ub123\uc5b4 \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4. Blockly\ub294 \uc774\ub7ec\ud55c \ube14\ub7ed\ub4e4\uc744 \uc27d\uac8c \ub9cc\ub4e4\uc218 \uc788\ub3c4\ub85d \ub3c4\uad6c\ub97c \uc81c\uacf5\ud55c\ub2e4. \uc7ac\ubc0c\uac8c\ub3c4 \ube14\ub7ed\uc744 \uc0dd\uc131\ud558\ub294 \uac83\ub3c4 \ube14\ub7ed\uc73c\ub85c \ub9cc\ub4e0\ub2e4. \ubb3c\ub860 \ub098\uc911\uc5d0 \uc880 \uc775\uc219\ud574\uc9c0\ub9cc \ud14d\uc2a4\ud2b8\ub85c \ud3b8\uc9d1\ud558\ub294\uac8c \uc880\ub354 \uc26c\uc6b8 \uc218 \uc788\uc9c0\ub9cc, \uc81c\uacf5\ub418\ub294 \ub3c4\uad6c\ub97c \uc774\uc6a9\ud558\uba74 \uc0dd\uc131\ub418\ub294 \ube14\ub7ed \ubaa8\uc591\uc744 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ahnbk.com\/?p=805\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Blockly \ube14\ub7ed \ub9cc\ub4e4\uae30 #1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[90],"tags":[91,177,178,66,97],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2wXSW-cZ","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/805"}],"collection":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=805"}],"version-history":[{"count":2,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/805\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/805\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}