ã¦ã¬ã¿ã³ç³»é«åçºãããã¬ã¹ã§ããè¨åãããã®ãå¯åº¦ã§ãããããé å¼µã£ã¦åããããã説æãã¦ã¿ã¾ãã
ã¦ã¬ã¿ã³ç³»é«åçºãããã¬ã¹ã§ããè¨åãããã®ãå¯åº¦ã§ãããããé å¼µã£ã¦åããããã説æãã¦ã¿ã¾ãã
2006å¹´09æ24æ¥16:00 ã«ãã´ãªLightweight Languages javascript + perl - yubin2jsonp ã©ãããªããJSONPã使ã£ã¦ã©ãã«ã§ãè¨ç½®ã§ããããããããã¨æã£ãã®ã§ãããªã®ãããã¾ããã [Ajax] CGIä¸è¦ã®éµä¾¿çªå·âä½æå¤æãã©ã¼ã ãKawa.net Blogã/ã¦ã§ããªããã° JavaScript ã®ã¿ã§ç¨¼åããããããµã¼ããµã¤ãã§ç¨¼åããCGIããã°ã©ã ã¯ä¸è¦ã§ãããããªæãã§ãã ã(7ãã) é½éåºç å¸åºçºæ çºå以é HTMLã¾ã§å«ããsourceã¯ãããªæãã§ãã <script> function Yubin2JSONP(root){ this.root = root; this.parse = function(yubin){ if (! yubin.match(/[0-9]{7}/) ) return
2007å¹´6æ7æ¥ ã¯ã¦ãªããã¯ãã¼ã¯ã®ã³ã¡ã³ããããã¦ãã常ã«JSONPãJSONãJavaScriptã«æ©å¯äºé ãå«ããªãããã«ãã¨ãã主張ãæ¹ãããã¯ãã¹ãã¡ã¤ã³ã¢ã¯ã»ã¹ã®å¯¾çãã¨ã£ã¦ããªãç¶æ ã§ã¯JSONPãJSONãJavaScriptã«æ©å¯äºé ãå«ããªãããã«ãã¨ãã主張ã«é¢ãã¦è¨è¿°ãã¾ããã ããã«ã¡ã¯ãSEã®é²å°ã§ãã ä»åããé±åä½ã§Webã¢ããªã±ã¼ã·ã§ã³ã®ã»ãã¥ãªãã£ã«é¢ããã¨ã³ããªã¼ãæ¸ãã¦ãããã¨æãã¾ãã åèªèº«ãæ¥ã åå¼·ãã¦ç²¾é²ã¨ããã¨ããã§ãã®ã§ãããä½ããã®èª¤ããããã°æ¯éãææãã ããã ã¤ã£ãã¿å¤§æè¿ã§ãã ä»ååãä¸ããã®ã¯Web 2.0ãªã¢ããªã±ã¼ã·ã§ã³ã§ã»ãã¥ãªãã£é¢ã§æ°ãã¤ããã¹ããã¨ã®ä¸ã¤ãæ©å¯æ å ±ã«JSONPã§ã¢ã¯ã»ã¹ãããªã§ãã JSON(JavaScript Object Notation)ã¯JavaScript(ECMAScript)ã®
http://hail2u.net/blog/coding/jsonscriptrequest.html http://hail2u.net/blog/coding/jsonp.html ãã®è¾ºãèªãã§ãè³¢ããªãã¨é¢å¿ããããã£ãããªã®ã§ãæ©éãã£ã¦ã¿ãã ãã¿ã¯ãã¾ãã¾ä½ã£ã¦ãã£ãGoogleå¤æ°æ±ºã§ãããã¯jsonã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãããã®ã§ããããã¡ãã£ã¨ã ãæ¡å¼µãããæåã«ã§ãä¸ãã£ããã®ããâNot found ã¾ãã¯ããã¯ã¨ã³ãã return '('.JSON::Syck::Dump($struct).')'; ããããã®ã以ä¸ã®ããã«ã my $result = '('.JSON::Syck::Dump($struct).')'; $result = $self->query->param('jsonp') . $result if $self->query->param(
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}