Todoãªã¹ãã®æ©è½ 1.ããã¹ãããã¯ã¹ãããEnterã§è¿½å ã§ãã 2.ç»é²ããTodoã¯ããã«ã¯ãªãã¯ã§ç·¨éå¯è½ã«ãªããEnterã§ç·¨é確å®ã§ãã 3.ç»é²ããã¦ããTodoã®ç·ä»¶æ°ãããã¿ã¼ã«è¡¨ç¤ºããã 4.å®äºããTodoãããå ´åããããããªã¹ãããæ¶ããã¿ã³ã表示ããã 5.å ¨é¸æ/解é¤ãè¡ããã§ãã¯ããã¯ã¹ããã å人çãªçµè« 趣å³éçºã§ä½¿ããªãAngular.jsã»ä»äºã§ä½¿ããªãKnockout.jsããå§ããããã ã¾ãããã¬ã¼ã ã¯ã¼ã¯ãé¸æããéã¯ã以ä¸3ã¤ã®é¸æåºæºãæã¤ã¨ããã¨æãã 1.éçºã®è¦æ¨¡ 大è¦æ¨¡ãªãBackbone.jsã¯ãå§ãã§ããã æ¸ãæ¹ã決ã¾ã£ã¦ãã¦ããã¥ã¼ããªã¢ã«ã«ç®ãéãã°(é¢åãªã®ã¯ç½®ãã¦ããã¦)ä½ãä½ããªããã°ãªããªããã¯ç°¡åã«ç解ã§ãããããããã®äººæ°ã§é·ãæéã®éçºãè¡ããªããUIãã¼ã ã¯ã¢ããªã±ã¼ã·ã§ã³ã¨Viewããµã¼ãã¼ãµã¤ãã¯
ä¹ ã ã®ããã°ã«ãªãã¾ãã 3å¹´ã»ã©JavaScriptãå©ç¨ããéçºããã¦ãã¾ããããæåã¯ãªãJavaScriptã§MVCãã¬ã¼ã ã¯ã¼ã¯ãå¿ è¦ãªã®ããã¾ãã¡ããããããããã試è¡é¯èª¤ãã¦ãã¾ããã ä»æ¥ã¯ã¿ã¤ãã«ã®éãAngularJSãç´ æµã ãªã¨ãããã¨ãæ¸ãããã®ã§ããããããããã¹ããã©ã¯ãã£ã¹ã¿ãããªãã®ã§ã¯ãªããèªèº«ãã©ã®ããã«æèåè·¯ãçµç±ãã¦ããã«è¡ãçããã®ãã¨ããçµé¨è«ãè¨ãã¦ããããã¨æãã¾ãã ã¡ãªã¿ã«ç§ã®JavaScriptåã¯é«ãããã¾ããã®ã§ãããããã»ã»ã»ã jQuery æã ãJavaScript MV(V)Cã¿ãããªãã®ããªãã£ãæ代ãJavaScriptã§ãªãããªãã®ãä½ããã¨ãªãã¨jQueryãDojoã®ãããªä½ã¬ã¤ã¤ã¼ã®ãã¬ã¼ã ã¯ã¼ã¯ã主ã«å©ç¨ããã¦ãã¾ããã ãã®å½æç°¡åãªã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ãã¾ãããç§ã¯jQueryãæ¡ç¨ãã¾
JavaScript MVCãã¬ã¼ã ã¯ã¼ã¯ãAngularJS 1.2ããªãªã¼ã¹ãè¦æã®å¤ãã£ãã¢ãã¡ã¼ã·ã§ã³æ©è½ã追å ãèå¼±ãªã³ã¼ããå¶éããã¢ã¼ãã JavaScriptã®MVCãã¬ã¼ã ã¯ã¼ã¯ã¯Backbone.jsãEmber.jsãªã©å¤ãã®ç¨®é¡ãç»å ´ãã¦ãã¾ãããBackbone.jsãEmber.jsãªã©ãæ¯è¼çã·ã³ãã«ãªãã¬ã¼ã ã¯ã¼ã¯ãæåãã¦ããã®ã«å¯¾ãã¦ãAngularJSã®ç¹å¾´ã¯UIãã¤ã³ãã£ã³ã°ãå«ããªãããªãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦éçºããã¦ãããã¨ã§ãï¼ã¡ãªã¿ã«AngularJSã®Webãµã¤ãã§ã¯ãMVWãã¬ã¼ã ã¯ã¼ã¯ãã¨åä¹ã£ã¦ãã¾ããMVWã®Wã¯Whateverãããã§ãï¼ã AngularJSã§ã¯ãHTMLã«JavaScriptã®ã³ã¼ããæ··ãè¾¼ã¾ãªãã¨ããèå¥åãå·®ãè¾¼ãã ãã§ããã®èå¥åã«å¯¾å¿ããã¢ãã«ã®ãã¼ã¿ãèªåçãã¤ãªã¢ã«ã¿ã¤ã ã«è¡¨ç¤ºãã¦ããã¾ããéã«ãHT
ææ¢ã«ãMVCãã¬ã¼ã ã¯ã¼ã¯ã®å³è§£ã試ã¿ãã®ã§ãã©ããï¼ MVCã®åæ© MVCã¨ããè¨èãåãã¦ç»å ´ãã¦ãã30年以ä¸ãã£ãä»ãææ©ãªãã ã£ãã®ãåãããªãã»ã©MVCã®å®ç¾©ã¯æ··è¿·ããããã¦ããããã ããã©ããMVCã§MVVMã§MVPã§ããã¨ããå®ç¾©ã«ã¤ãã¦ããããèå¯ããã®ã¯å人çã«ã¯å¥½ãã§ãªãã¦ããçµå±ä½ããããã®ããã¨ããåæ©ãã¶ãã¦ããªããã°ä½ã§ãè¯ãã¨æã£ã¦ããã ãããããã¯ä¸ä½ä½ãªã®ãã¨ãããã¨ãèªåãªãã«èãã¦ã¿ãã¨ããã次ã®ä¸è¨ã«è½ã¡çããã ãModelã¯Viewã«ä¾åããããªãã ä¸éçã«ã¯ï¼ï¼ï¼Modelã¨Viewãåã«ãåãããã¨èª¬æããããã¨ãå¤ãããç§ã¯ããã ãã§ã¯ç´å¾ãã¦ããªãã¦ãä¾åã®æ¹åãããéè¦ã ã¨æã£ã¦ããããã¨ãåããã¦ããããã«è¦ãã¦ãModelãViewãåç §ãã¦ããããæ å ±ã®åå¾å ã表ç¾æ¹æ³ã¯åºå®åããã¦ãã¾ãã Modelã¯Viewã®äºæ ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}