å ¥é React.js ãã®ï¼ JSXã«ã¤ã㦠Reactã§ã¯JSXã¨ããHTMLã«ããä¼¼ããã¼ã¯ã¢ããè¨èªããªãã·ã§ã³ã§ä½¿ç¨ã§ãã¾ãã JSXã使ç¨ãããã¨ã§ä»¥ä¸ã®å©ç¹ãããã¾ãã HTMLã¨åæ§ã®æ¹æ³ã§è¦ç´ ã®ããªã¼ããã¼ã¯ã¢ããã§ãã æå³ã®ããããããã»ãã³ãã£ãã¯ãªè¨è¿°ãã§ãã ã¢ããªã±ã¼ã·ã§ã³ã®æ§é ãå¯è¦åã§ãã Reactã®å é¨è¡¨ç¾ãæ½è±¡åããã ãã¼ã¯ã¢ããã¨ãããçæããã³ã¼ããä¸ç®æã«ã¾ã¨ã¾ã æå¾ã«JavaScriptã«å¤æããã JSXã¨ã¯ï¼ JSXã¯JavaScript XMLã®ç¥ã§ãããReactã®ã³ã³ãã¼ãã³ãå ã§ãã¼ã¯ã¢ããè¨èªãè¨è¿°ããããã®XML風ã®ã·ã³ã¿ãã¯ã¹ã§ãã React.createElement('a', {href: 'http://facebook.github.io/react/'}, 'Hello!') JSXã§ã¯ãããã¯æ¬¡ã®ããã«ãªã
http://facebook.github.io/react/ React.jsã¯ç¾å¨æ³¨ç®ãæµ´ã³ã¦ããFacebook製ã®ã©ã¤ãã©ãªã§ãMVCã¢ã¼ããã¯ãã£ã§ããViewã«ãããæ©è½ãæä¾ãã¾ãã å ¬å¼ãµã¤ãã«ã¯ãç¹å¾´ã¨ãã¦ä»¥ä¸ã®3ã¤ãæãããã¦ãã¾ãã JUST THE UI MVCã®Viewã§ãããæ¢åã®ã¢ã¼ããã¯ãã£ã¨å®¹æã«çµåãããã¨ãã§ãã¾ãã VIRTUAL DOM DOMã模ããä¸éãªãã¸ã§ã¯ãããããããçæããæ´æ°å·®åã®ã¿ãæ¬ç©ã®DOMã«åæ ãããã¨ã«ããããã¤ããã©ã¼ãã³ã¹ãå®ç¾ãã¾ãã DATA FLOW ãã¼ã¿ããã¼ãä¸æ¹åã«ä¿ã¡ããã¼ã¿ã¨ç»é¢ï¼DOMï¼ã®å¯¾å¿ãã宣è¨çã«è¨è¿°ãããã¨ã«ãã£ã¦ãå¯èªæ§ãåä¸ããã¾ãã ä»å¾ã詳ãã使ãæ¹ã«ã¤ãã¦ä¸ã¤ãã¤èª¬æããã¦ããã¾ãã 次åã¯JSXã«ã¤ãã¦ã å ¥é React.js ãã®ï¼ JSXã«ã¤ãã¦ å ¥é React.js
ã¯ããã«ä»¥ä¸ã®è¦å®ããªãã³ã«ãã©ã¤ãã·ã¼ããªã·ã¼ãã³ãã¥ããã£è¦å®ããã³å©ç¨è¦ç´ã¯ããã¼ã¸ãã°ã«ã¼ãããã³ã¤ãã³ãã®ä½æè ã¨ç®¡çè ã«é©ç¨ããã¾ããå¼ç¤¾ã®ãµã¼ãã¹ã®å©ç¨æ¹æ³ã«ãã£ã¦ã¯ãéçºè ããªã·ã¼ãå«ããã®ä»ã®å©ç¨è¦ç´ã¨ããªã·ã¼ãé©ç¨ãããå¯è½æ§ããããã¨ã«æ³¨æãã¦ãã ããã ãã¼ã¸ãã°ã«ã¼ãããã³ã¤ãã³ãã¯ãå ±éã®è¶£å³ã»é¢å¿ãæã¤ã³ãã¥ããã£ãæ§ç¯ããä¸ã§å½¹ã«ç«ã¡ã¾ãã管çè ã¯ãã³ãã¥ããã£ã®ãªã¼ãã¼ã代表è ããã³ã¾ã¨ãå½¹ãåãã¾ãã管çè ã«ã¯ãèªåã®ä¸»å¼µãæ¬å¿ã«å½ããªã表ç¾ããã³ãã¥ããã£ã®å®å ¨ã¨å¿èº«ã®å¥åº·ãå®ããã¨ãæ±ãããã¾ãã 管çè ãããªã·ã¼ã«éåããã³ã³ãã³ããä½æãã(ã¾ãã¯ãã°ã«ã¼ãã®ç®¡çè ã¾ãã¯ã¢ãã¬ã¼ã¿ã¼ãããã®ä»ã®äººã«ããéåã³ã³ãã³ããæ¿èªãã)å ´åãå¼ç¤¾ã¯ãå½è©²ã³ã³ãã³ãã表示ããã¦ãããã¼ã¸ãã°ã«ã¼ãã¾ãã¯ã¤ãã³ãã«å¯¾ãã¦æªç½®ãè¬ããå ´åãããã¾ãã ã³ãã¥ã
ãã¼ããã¹ã¼æ¥è¨ã®è¨äºã®å½±é¿ããèªåã®ã¾ããã§Facebookããå§ãã人ãå¢ãã¦ãã¾ããã ãªããé¢ç½ããã¨ã§ããªãããªã¼ã¨æå§ãã«Facebook APIã使ã£ã¦å ¨è£¸botçãªä½ããä½ã£ã¦ã¿ãããã¨æã£ã¦ãã£ã¦ã¿ã¾ããã ãµã¼ããã¼ãã£ã¢ããªã®ä½ãæ¹ã使ãæ¹ãªã©ã¯ãããåç §ã Facebook Developer Documentation - éçºè åãFacebook Perlã®ã¢ã¸ã¥ã¼ã«ã¯WWW::Facebook::APIã£ã¦ã®ããã£ãã®ã ãã©ä½¿ãæ¹ãããããããªãã£ãã®ã§Facebook::Graphã£ã¦ã®ãã¤ãã£ã¦ã¿ã¾ããã http://search.cpan.org/~rizen/Facebook-Graph-0.0705/lib/Facebook/Graph.pm ã¾ãã¯ã¢ããªã®ç»é²ããã§ããã ãã®ã¸ãããã´ãã§ã´ãã§ã¨å ¥åãã¦ã¢ããªãç»é²ãã¾ãã Applicat
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}