ã½ããã¦ã¨ã¢ãXMLåºåãä½æããå ´åã«ã¯ãå¤ãã®æ ¹æ ãããã¾ããXMLææ¸ã¯ç°ãªãã¢ããªã±ã¼ã·ã§ã³éã®ãã¼ã¿äº¤æã®ããã«ä½¿ããã¾ãããwebã¢ããªã±ã¼ã·ã§ã³ã¯ããããªXMLã¹ããããã使ã£ã¦(X)HTMLåºåãä½æãããAJAXãªã¯ã¨ã¹ãã«çããããã¾ããXMLãçæãããã¨ããã«ã¯å¤ãã®å©ç¨ã±ã¼ã¹ãããã®ã§ããã®åºåã¯ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã®é¨åã¨åæ§ã«ãã¹ããããã¹ããªã®ã§ãã çæãããXMLããã¹ãããã«ã¯å¹¾ã¤ãã®æ¹æ³ãããã¾ãããã®åã ãåé¢ãã¦ä½¿ç¨ãããéã®ããã¼ãæã£ã¦ãã¾ãã ä¾ãã°ãä¸è¨ã®ãããªãã¨ãã§ãã¾ãã çæãããXMLãDTDã«å¯¾ãã¦ãã¾ãXMLã¹ãã¼ãããæãã¯ä»ã®ææ³ç代æ¿ç©ã«å¯¾ãã¦æ£å½ã§ããã¨ç¢ºèªãããã¨ãã§ãã¾ããæ®å¿µãªãã¨ã«ããã®ãããªææ³ã¯ãã¤ãææ¸ä¸ã«åå¨ããã¨ã¯éãã¾ãããããããã£ãã¨ãã¦ããã©ã®ãã¹ããåºåã®æ§é ã®ã¿ããã¹ãããã ãã§ããã®å
GET /WebSite1/WebService.asmx/getHello?str=string HTTP/1.1 Host: localhost HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string> RESTã¯ãWebãã©ã¦ã¶ã®Ajaxããã¯ã©ã¤ã¢ã³ãã¢ããªãã使ãå ´åããããããµã¼ãéã®ã·ã¹ãã é£æºã§ã使ãã RESTã®æ大ã®ç¹å¾´ã¯ãWebãã©ã¦ã¶ã«URLãå ¥åããã°åä½ç¢ºèªã§ãããäºã§ããã Webãã©ã¦ã¶ã§å®¹æã«åä½ç¢ºèªãã§ããããããã§ã«åå¨ãã¦ãããµã¼ãã¹ã«å¯¾ãã¦ã¯ãã¾ãã¯ã¢ã¯ã»ã¹ãã¦ã¿ã¦å¿ è¦ãªæ å ±
Operaã«XMLãã¡ã¤ã«ãèªã¾ããã¨ãã¿ããã¹ããåºã¦ããããã£ã¼ãã ã¨ãæ°è¦è³¼èªãã¨ãããã¤ã¢ãã°ãåºãããã©ããç»é¢ã«è¡¨ç¤ºãããã®ã¯å®¹èµ¦ãªããã¿ããã¹ãã ãIEãFirefoxã«ã¹ã¿ã¤ã«æ å ±ã®ãªãXMLã渡ãã°ããã¥ã¡ã³ãããªã¼ã表示ãã¦ãããã®ã¨å¯¾ç §çã§ãã©ããOperaã¯XMLã«ããæ°ããªãã®ãã¨åæã«æã£ã¦ããã ã ããæ´å½¢å¼ã§ãªãXMLãæããå ´åãOperaã®ã¨ã©ã¼è¡¨ç¤ºãå§åçã«è¦ããããã¨ã«æè¿æ°ã¥ããããã¨ãã°ã以ä¸ã®ãããªXMLããã©ã¦ã¶ã«è¡¨ç¤ºããã¦ã¿ã: <?xml version="1.0" encoding="UTF-8"?> <root> <hoge>ããã</hoge> <hoge>ããã <hoge>ããã</hoge> </root>
ä»åããæ°ããå§ã¾ã£ãããã¾ããèããªããªããã¯ã©ã¤ã¢ã³ãæè¡ãã·ãªã¼ãºãæ¯å1ã¤ã®ãªããã¯ã©ã¤ã¢ã³ãç¨èªã»æè¡ãåãä¸ãã¦è§£èª¬ããã¾ããã¬ãã«ã¨ãã¦ã¯åå¿è ããä¸ç´è ãæ³å®ãã¦ããã®ã§ãæ°è»½ã«èªãã§ãã ãããã è¨å¿µãã¹ã第1åã¯ãWeb2.0æ代ã®ãXMLãã«ã¤ãã¦ã§ããçãããä¸åº¦ã¯ãã®ç¨èªãèãããã¨ãããã¨æãã¾ããXMLã¯ã©ããªæè¡ãªã®ãï¼ XMLã使ãã¨ä½ãããã®ãï¼ è¦ã¦ããã¾ãããã ãããã®ä¸çã¯XMLã ãã ã¾ãXMLã¯ã©ããªã¨ããã§ä½¿ããã¦ããã®ã§ãããããXMLããã¼ã¹ã¨ãªã£ã¦ããä¸çªãªãã¿ãæ·±ããµã¼ãã¹ã¯ããµã¤ãã®æ´æ°æ å ±ãä¼ãããRSSãã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}