AngularJSã®æ©è½ãéçºã©ã¤ããµã¤ã¯ã«ãªã©ãã¾ã¨ãããããAngularJSãªãã¡ã¬ã³ã¹ãã¨ããæ¸ç±ãã¤ã³ãã¬ã¹ç¤¾ããåºçããã¾ããããããè¨å¿µãèè ã§ããããæ± æ·» æå®æ°(è)/éäº å¥ä¸æ°(è)/åç° å¾¹çæ°(è)/丸山 å¼è©©æ°(ç·¨é)ããæããã¦ãAngularJSãã«ã¤ãã¦ãã¼ã«çæã«è»½ãèªã£ã¦ããã ãã¾ããã 2014å¹´9æ18æ¥ï¼æ¨ï¼ãå ´æã¯ã¤ãã³ãã®èå°21Cafeã§éå¬ããã¾ããã AngularJSæ¦è¦ AngularJSã¯ä¸»ã«Googleã¡ã³ãã¼ãä¸å¿ã¨ãªããéçºãé²ãã¦ããä»è©±é¡ã®JavaScriptãã¬ã¼ã ã¯ã¼ã¯ã§ããAngularJSã¯ããããã«ã¹ã¿ãã¯ã§ãããã¨è¨ããã¦ãã¾ãããããã¯åã¡ã³ãã¼ãä¸å¿ã«éçºãã¦ãããã¹ããã¼ã«karmaãå«ãå±éãã¦ãããããéçºã©ã¤ããµã¤ã¯ã«ããè¦éã«å ¥ãããã®ã ããã§ããã¾ããECMAScriptãWeb Compon
æè¿æµè¡ãã® JavaScript MV* ãã¬ã¼ã ã¯ã¼ã¯ã¯ãã©ãããã¼ã¿ãã¤ã³ãã£ã³ã°ããµãã¼ããã¦ããããå®ç¾æ¹æ³ã¯ãã¬ã¼ã ã¯ã¼ã¯ã«ãã£ã¦ç°ãªãã ãã®è¨äºã§ã¯ãå種ãã¬ã¼ã ã¯ã¼ã¯ãã©ã®ããã«ã¢ãã«ã®å¤æ´ãæ¤ç¥ãã¦ãããã次㮠4 ã¤ã®ãã¿ã¼ã³ã«åé¡ãã¦ç´¹ä»ããã ã¢ãã« ã¯ã©ã¹æ¹å¼ (Ember.jsãBackbone.jsãRactive.jsãKnockout.js ãªã©) åããæ¹å¼ (AngualrJS) ã¢ãã«æ¸ãæãæ¹å¼ (Vue.js) Object.observe æ¹å¼ (Polymer) ãã¿ã¼ã³åã¯ç§ãåæã«åã¥ãããã®ã ãã©ããã®ã¸ãã®é°å²æ°ãç解ã§ããã°ããã¬ã¼ã ã¯ã¼ã¯ãã¨ã®åæ§ãåããã ããããå©ç¨ã¤ã¡ã¼ã¸ããããããããããªããã¨æã£ã¦ããã 1. ã¢ãã« ã¯ã©ã¹æ¹å¼ ãã¢ãã«ã¨ãã¦æ±ããã®ã¯ãã¬ã¼ã ã¯ã¼ã¯ãç¨æããã¢ãã« ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã ããã¨ãã
t.hondaã§ããAngularJSã¨Railsã®åå¼·ãã¦ããCRUDæ©è½ãæã¤ãµã³ãã«ããã°ã©ã ãä½ã£ã¦ã¿ã¾ããã ã¦ã£ã¹ãã¼ã®ååã¨ä¾¡æ ¼ããç»é²ãã¦è¡¨ç¤ºããã¢ããªã§ãã å ãã¯éçºããããã®ç°å¢ãæ§ç¯ããæé ããã¡ã¢æ¸ãç¨åº¦ã«æ¸ãã¦ããã¾ãã ãéçºããããããªã®ã§ãAugularJSå´ãåã³Railså´ã§ã¦ããããã¹ããå®è¡ã§ããç°å¢ãæ´ãããã¨æãã¾ãã ã¾ããViewã«ã¯Twitter Bootstrapã使ç¨ãã¾ãã ã§ã¯ãæé ã§ãã ããã¸ã§ã¯ãä½æ 0.(rails new ãªã©ã§Railsã¢ããªã±ã¼ã·ã§ã³ãä½æ) 1.Gemfileã«ä»¥ä¸ã追å gem 'therubyracer' gem 'execjs' gem "twitter-bootstrap-rails" gem "less-rails" group :development,:test do gem 'rs
noteã¯AngularJSã使ã£ã¦ããã©ã¦ã¶ã§æåãã¦ãããã®"note"ã¨ãããµã¼ãã¹ã¯AngularJSã使ã£ã¦ãJavaScriptå´ï¼ã¤ã¾ããã©ã¦ã¶å´ï¼ã§ãã¼ãã®ä¸èº«ãå ¬éãã¦ããã¿ãããªã®ã§ãã ããã¯ãã©ã¦ã¶ã§ã½ã¼ã¹ãè¦ã¦ã¿ãã¨ãããã¾ãã ä¾ãã°https://note.mu/sadaaki/n/nd921f3f7c635ã®ãã¼ãã®ã½ã¼ã¹ãChromeã§è¦ã¦ã¿ãã¨ã»ã»ã» ã¾ãhtmlã¿ã°ã«ng-appã®ããããã£ãã¤ãã¦ãã¾ããããã¯AngularJSã使ããªãã°å¿ è¦ãªããããã£ã§ãããããnoteã¯AngularJSã使ã£ã¦ãããã ãªãã¨åããã¾ãã AngularJSã¯ç°¡åã«è¨ãã¨ããµã¼ãã¼å´ã§ã¯ãªããã©ã¦ã¶å´ã§HTMLãæåããä»çµã¿ã§ãããããå©ç¨ããã¨ã©ããªå©ç¹ãããã®ããåã®ç解ãã¦ããç¯å²å ã ã¨ããµã¼ãã¼å´ã¯ãã¼ã¹ã¨ãªãHTMLï¼ä¸ã®ã½ã¼ã¹ï¼ã¨åãã¼ãã®JSO
å¤éã¯ãããã¡ããã¸ã§ãã¬ã¼ã¿ã¨ããWebã¢ããªã ãã¾ã©ããªææ³ãç¨ãã¦çéã§éçºãã話ãç´¹ä»ãã¾ãã å ã®3é£ä¼ä¸ãå¤éã¯ãããã¡ããã¸ã§ãã¬ã¼ã¿ã¨ããWebã¢ããªãéçº&å ¬éãã¾ãããããã§æ¡ç¨ããéçºææ³ããã¾ã©ããªçééçºã§ããã®ã§ã¡ãã£ã¨ç´¹ä»&ã¹ãããã¾ãã使ã£ãæè¡ã¯ä»¥ä¸ã®éãã§ãã AngularJS: Googleãéçºãã¦ããViewModelãªWebéçºã©ã¤ãã©ãª(MVW: Model View Whateverã ã£ãããª?w) Github pages: ã¹ã¿ãã£ãã¯ãµã¤ãã®ãã¹ãã£ã³ã°ã«æé© Kii Cloud: mBaaS (mobile backend as a service) ã§å ±æãã¼ã¿ã®ä¿åã«å©ç¨ HTML5 Canvas: ç»åçæã«ããµã¼ããµã¤ãã§ã¯ãªã«ããã¦ãªã! ãµã¼ãã¹æ¦è¦ å¤éã¯ãããã¡ããã¸ã§ãã¬ã¼ã¿ã¯ãã¼ã¹ã¨ãªãç»åããããããã«é¢ç½ã
å½ãµã¤ãã®è¶£æ¨ AngularJS ã®ãã¢ã¯åçãªãã¼ã¿ãã¤ã³ãã£ã³ã°ã«ããããã¼ã¿ãå¤ããã View ãåçã«å¤ããã¨ãããã¨ã§ãããããã¯ã©ã¤ã¢ã³ããµã¤ãã®ã¿ã§ã®ãã¢ã§å®æããã®ã¯é£ãã ã¨ãããããã¾ããããã§å½ãµã¤ãã§ã¯ãµã¼ãã¼ãµã¤ãã¨ã®éä¿¡ãã¾ãããå®ç¨ç㪠AngularJS ã®ãã¢ãæ§ç¯ãã¾ãã ã½ã¼ã¹ã³ã¼ããªã©ãè¦ãããã¤ã¤ããããã§ã¿ã¦ãã ããã (ãã®ãã¢ãµã¤ãã®ãµã³ãã«ã³ã¼ã㯠AngularJS 㨠node.js ã§è¨è¿°ããã¦ãã¾ãã) ãµã¤ã³ã¢ãããã©ã¼ã ç°¡åãªç®¡çç»é¢é¢¨ã®ã㢠ãã¡ãã®ã³ã¼ã㯠github.com/tokuhirom/demo.64p.orgã§ç¢ºèªã§ãã¾ã ãããªãã¢ãããã¦ããã¿ãããªææ¡ãããã° p-r ã§éã£ã¦ããã ããã°ãã¹ãã£ã³ã°ãã¾ãã ãããè¦ã¦! AngularJs ã®ãã¢ã¯ããã¼ã¿ããããã¨ãããããã« HTML ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}